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
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
http://www.windows-help.net/WindowsXP/howto-04.html
Thoroughly read http://www.mindprod.com/jgloss/classpath.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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->E nvironment Variables->User Variables->Path->Edit
;JOOP!
;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
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:\J OOP\EXE;D: \JOOP\BAT
and JOOP is me.
C:\Program Files\SSH Communications Security\SSH Secure Shell;E:\JDK1.5.0\BIN;D:\J
and JOOP is me.
Of course you must replace E:\JDK1.5.0 by the path where you installed JAVA ....
;JOOP!
;JOOP!
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.
sciuriware, sorry CEHJ got it first.
See point 5. at http://java.sun.com/j2se/1.4.2/install-windows.html
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
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-)