aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Win Xp compile problems help!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Win Xp compile problems help!!" Watch "Win Xp compile problems help!!" New topic
Author

Win Xp compile problems help!!

Mohamed Ali
Greenhorn

Joined: Dec 21, 2001
Posts: 3
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
------------------
Jim Hall
Ranch Hand

Joined: Nov 29, 2001
Posts: 162
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.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
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


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
 
subject: Win Xp compile problems help!!