🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#307
From: pNichols
Date: Sat, 10 Jan 2004 05:49
28 lines
2029 bytes
hhw wrote:

Try this (example is using J2SDK1.4.2_03 when installed on C:\j2sdk1.4.2_03
 
C:\>JAvA_HOME=C:\k2sdk1.4.2_03
C:\>PATH=$PATH;C:\j2sdk1.4.2_03\bin;C:\j2sdk1.4.2_03
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.
Technical Details
Message-ID: <3fff909e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news1.optus.net.au!optus!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ffe74dc@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: <3fff909e@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:49:53 -0500
References: <3ffe74dc@newsgroups.borland.com>
Lines: 29
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 1073713310 68.71.188.25 (9 Jan 2004 21:41:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news1.optus.net.au!optus!news.mel.connect.com.au!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail