Forums Register Login

Win Xp compile problems help!!

+Pie Number of slices to send: Send
Hi Eveyone,
I upgraded to windows Xp and I'm having probs compiling with the javac command...it gives me this error message " 'javac' in not recognized as an internal or external command, operable program or batch file. What did was I saved the file again in the jdk1.3.1\bin folder and this time it compiled fine since the javac is in the bin folder...but I need to know why it won't compile from the jdk1.3.1 directory...
this is what I did the first time
c:\jdk1.3.1>javac FileName.java 'gives the error' I did this the second time
c:\jdk1.3.1\bin>javac FileName.java ' it compiled
can someone help please!!
thanks in advance
------------------
+Pie Number of slices to send: Send
You need to add the java/bin directory to the executable path. Should be able to set this in the Control Panel under System Properties/Environment Variables. I don't have XP so I'm not sure exactly where it is.
+Pie Number of slices to send: Send
XP will never be part of SCJP I guess
I'm moving this to Java in General (Intermediate)
------------------
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 653 times.
Similar Threads
Win Xp compile problems help!!
How do I install such that compilation is possible??
javac Problems
POI File Not Compiling Problem
Reg. maximim int. value
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:14:39.