• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Win Xp compile problems help!!

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
------------------
 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic