🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #308

Re: how to set the environment variables in win2000 after installed JDK1.4.1?

#308
From: pNichols
Date: Sat, 10 Jan 2004 05:52
33 lines
2271 bytes
pNichols wrote:

> hhw wrote:
> 
> Try this (example is using J2SDK1.4.2_03 when installed on
> C:\j2sdk1.4.2_03
>  
 C:\>JAVA_HOME=C:\j2sdk1.4.2_03
 C:\>PATH=$PATH;C:\j2sdk1.4.2_03\bin;C:\j2sdk1.4.2_03\lib
 Test it
 C:\>java -version
 If you get back something like
 Java (TM) Runtime Environment, Standard Edition (build 1.4.2_03)
 ....
 ...
 
 Then it is now on your Path and JAVA_HOME is set.
 
 Notice, howver, you will lose these settings as soon as you exit a
 Command/DOS prompt. To make it permanent, you will need to go to Control
 Panel, System, Advanced, Environment Variables and set the
 PATH, CLASSPATH to contain the Java path and library information as per
 above. DO NOT CLEAR THE PATH, append the java entries to the end of it.
 
 DO NOT FORGET to add JAVA_HOME under System Variables, if you do not see
 an entry which currently exists.
 
 Click New which wiil bring up a Form. For Variable Name: JAVA_HONE
                                           Variable Value: C:\j2sdk1.4.2_03
 
 if PATH and CLASSPATH ARE NOT LISTED, ADD THEM AS WELL.

You may have to reboot Windows for this to take permanent effect..
Technical Details
Message-ID: <3fff9138@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newspeer.monmouth.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ffe74dc@newsgroups.borland.com> <3fff909e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,18ca88fdd6d3ca8e
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2004-01-09 22:09:04 PST
Message-ID: <3fff9138@newsgroups.borland.com>
From: pNichols <paul@computer-logic.net>
Subject: Re: how to set the environment variables in win2000 after installed JDK1.4.1?
Newsgroups: borland.public.jbuilder.java.api
Reply-To: paul@computer-logic.net
Date: Sat, 10 Jan 2004 00:52:28 -0500
References: <3ffe74dc@newsgroups.borland.com> <3fff909e@newsgroups.borland.com>
Lines: 35
Organization: Computer Logic
User-Agent: KNode/0.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 68.71.188.25
X-Trace: newsgroups.borland.com 1073713465 68.71.188.25 (9 Jan 2004 21:44:25 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newspeer.monmouth.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail