I just got Win2000 and can't figure out how to compile my java files. Anyone remember how? I have been using windows 98 and just now got the upgrade to 2000. I am a little behind the times, sorry!! jim [This message has been edited by jim, valenta (edited September 30, 2001).]
In windows 2000 here is how you set your path and classpath. Right click on My Computer and choose properties. Then choose the Adcanced tab Next click Environment Variables In the System Variables, highlight the Path and choose Edit Then append the path to you Java\Bin folder. Next you need to add a ClassPath so choose New In the Vairable Name Box, type classpath in the variable value, type the path you need to specify. That's it. OK all the way out and you are good to go. No need to restart the PC.
Gregg, Hi. I did as you said I copied the system variable path but am not sure how to append it to the bin directory. I added C:\jdk1.3.0_01 to the system variable and added a new classpath of the same (C:\jdk1.3.0_01) Also, I have the path appended to my win98 application but It still wont work (C:\jdk1.4\bin)The java works but the javac, which is in the bin file, will not. It gives the bad command or file name error.
[This message has been edited by jim, valenta (edited October 05, 2001).]
Did you reboot after you changed your environment path and classpath variables?
"Then append the path to you Java\Bin folder" means to append the path to <JAVA_HOME>\bin to your current path. For example, if your current path is C:\;C:\WINNT;C:\java it will be C:\;C:\WINNT;C:\java;C:\jdk1.4.0\bin
[This message has been edited by Marilyn deQueiroz (edited October 05, 2001).]
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Joined: Mar 16, 2001
Hi, Yes, I appended it properly. I also rebooted. I made the class path the same as the path that I appended to the system variable. jim PS I got win2000 javac working by adding jdk1.3, 1.3.0_01 and jdk1.4.0. I had to load all 3. I did the dsme with win98 but the compiler still will not work.
[This message has been edited by jim, valenta (edited October 06, 2001).]