• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

please help

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when i try to compile a java file using jdk1.3.1,i get an error message that javac is not recognized as an internal or external command.
where am i making mistake.
pl.help.
thanks.
 
arch rival
Posts: 2813
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps javac.exe is not in your path. I recommend you post messages in the relevent forum.
Marcus
 
dhriti joshi
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
which is the related forum.
 
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
moving this to Java in General (Beginner)
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may want to adjust your path setting. Take a look at Part 5 of Sun's instructions on installing the J2SDK.
 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are facing this problem, because javac is not in your system classpath.
You can put javac and all related utilities by setting the system path.
If you are using Windows NT, the steps for the same are,
1) Click on Start Menu --> Settings --> Control Panel
2) In control panel, click on System Icon
3) Click on Environment Tab
4) Click on Path Variable, in the variable lists.
5) Edit the path value by appending in your path of jdk --> bin directory
For Eg. if you have installed jdk1.4.0 in your d:\
You will add
D:\j2sdk1.4.0\bin;D:\j2sdk1.4.0\lib
in your path value textbox.

I hope that this will solve your problem.

[ August 29, 2002: Message edited by: Manish Sachdev ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's correct a slight misconception...
Note that the classpath and path setting are seperate concepts. The classpath setting does not care about the location of javac. The CLASSPATH setting tells javac or java where to find necessary class files to compile and run java programs. The PATH setting tells the computer where to find necessary program files such as javac and java (and other executables) in order to run various programs.
 
reply
    Bookmark Topic Watch Topic
  • New Topic