By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,584 Members | 1,774 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,584 IT Pros & Developers. It's quick & easy.

Please help in installing Java...........

P: 45
Can Anybody please help me in installing Java.
I installed JCreatorI in c:/program files/java and once I am trying to compile my java programs, I am getting this thing :

Expand|Select|Wrap|Line Numbers
  1. Error : Invalid path, \bin\javac.exe -classpath "C:\Program Files\Java\jdk1.5.0_11\bin" -d "C:\Program Files\Java\jdk1.5.0_11\bin" "C:\Program Files\Java\jdk1.5.0_11\bin\Car.java" 
  2.  
  3. Process Completed.
  4.  

I tried to execute it, I couldn't see the output. By using Notepad and Command prompt I see the output. Can anyone please tell me how to set this?

( For safe side the did saved my .java in the bin folder. )

Thanks in advance.

Regards,
KiranJyothi
Apr 28 '07 #1
Share this Question
Share on Google+
5 Replies


Expert 10K+
P: 11,448
Your JCreator installation doesn't know the directory where javac can be found.
It assumes "\bin\javac.exe". It isn't there. I assume that you have to set a
variable a la "JAVA_HOME" to the path (directory) where your JDK is stored.
Most likely that value will be "C:\Program Files\Java".

kind regards,

Jos
Apr 28 '07 #2

P: 45
Your JCreator installation doesn't know the directory where jacac can be found.
It assumes "\bin\javac.exe". It isn't there. I assume that you have to set a
variable a la "JAVA_HOME" to the path (directory) where your JDK is stored.
Most likely that value will be "C:\Program Files\Java".

kind regards,

Jos
Thank You for your help but it didn't work. Can you tell me what should I do now?

Thank You once again.
Regards,
KiranJyothi
Apr 28 '07 #3

Expert 10K+
P: 11,448
Thank You for your help but it didn't work. Can you tell me what should I do now?
No I don't because I don't know JCreator. I do know that JCreator doesn't know
where your JDK is stored (javac, java, javaw etc.) You have to supply it a path
to your JDK somehow; check the documentation.

kind regards,

Jos
Apr 29 '07 #4

Expert 10K+
P: 11,448
@OP: I deleted your other thread because it was a double post of this one.

kind regards,

Jos
Apr 29 '07 #5

P: 45
@OP: I deleted your other thread because it was a double post of this one.

kind regards,

Jos
Thank You Very Much for the help.
Once I'll check it with my professor tomorrow.

Regards,
Jyothi
Apr 30 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.