This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

please help

 
dhriti joshi
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • 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.
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
which is the related forum.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
moving this to Java in General (Beginner)
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • 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.
 
M Sharma
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic