Link to home
Start Free TrialLog in
Avatar of Paulmul
Paulmul

asked on

Installing J2SE 1.4.2 SDK

Hi there,

I just installed J2SE 1.4.2 SDK. I can set the path for javac from the command line but every time I restart my computer I have to set it again.

Could you tell me how to set it permanently?

I am using Windows XP home.

Thanks,

Paul
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paulmul
Paulmul

ASKER

Where? I want to do it so I don't have to type this every time. I did this when I installed perl but can not remember how. There is somewhere that you can add it.
See the link i posted. You only need to do this once
Avatar of Paulmul

ASKER

The link you posted does not say how to add the ones for Java. I have since done this using another guide. If anyone actually says how to do it I will give top marks. Otherwise I am splitting the marks with the worst grade and posting the link I found.
Start->Settings->Control Panel->System->Advanced->Environment Variables->User Variables->Path->Edit

;JOOP!
>>The link you posted does not say how to add the ones for Java.

The link i posted is *exactly* what you need, namely adding to the PATH variable so that javac can be used
Mine is now:
C:\Program Files\SSH Communications Security\SSH Secure Shell;E:\JDK1.5.0\BIN;D:\JOOP\EXE;D:\JOOP\BAT

and JOOP is me.
Of course you must replace E:\JDK1.5.0 by the path where you installed JAVA ....

;JOOP!
Avatar of Paulmul

ASKER

CEHJ, My mistake I misunderstood your second post. I will give you the marks. However I recommend people look at http://www.cs.ucsb.edu/~teliot/Path_and_Classpath.htm it is very easy to follow.

sciuriware, sorry CEHJ got it first.
If you find the thing about JAVA_HOME confuses you, just forget that for the moment and add to the PATH directly
>>
However I recommend people look at http://www.cs.ucsb.edu/~teliot/Path_and_Classpath.htm it is very easy to follow.
>>

Yes, that's OK, although i'm surprised that autoexec.bat is run by default on XP, as is implied there
8-)