setting the path for java

  • Thread starter Thread starter Hajra Shahzeb Mirza
  • Start date Start date
H

Hajra Shahzeb Mirza

i hope someone can help me out with this prob. im pretty new to
computers as such. i have installed jdk1.5.0_01 to practice some java
probs. but when in command prompt i set the path as follows
set path="c:\program files\java\jdk1.5.0_01\bin";%path%
it still gives javac etc is not a recognised command. please help!!!
 
It depends on where you set this and if javac.exe is in c:\program files\java\jdk1.5.0_01\bin

Set your path in right-click My Computer | Properties | Advanced | Environment variables. You might want to set it for system. If you do it in a command window then it will only be set for that command window. Sun is up to 1.5 now?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top