javac doesn't work

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2005
Posts: 13
Reputation: gzero14 is an unknown quantity at this point 
Solved Threads: 0
gzero14 gzero14 is offline Offline
Newbie Poster

Re: javac doesn't work

 
0
  #11
Jul 6th, 2005
Thanks for your help :].
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 2
Reputation: kostasbet is an unknown quantity at this point 
Solved Threads: 0
kostasbet kostasbet is offline Offline
Newbie Poster

Re: javac doesn't work

 
0
  #12
Dec 25th, 2007
The reason why the javac doesn't work indicates that you are not pointing to the right path for the compiler. I had exactly the same problem because the path of the environmental variable was pointing to the Run time Engine instead of the Development kit. You need to change it from the JRE to the JDK folder.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,433
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 259
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: javac doesn't work

 
0
  #13
Dec 25th, 2007
I'm sorry, but you do realise that this thread was over two years dead, until you rejuvinated it, right?
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 2
Reputation: kostasbet is an unknown quantity at this point 
Solved Threads: 0
kostasbet kostasbet is offline Offline
Newbie Poster

Re: javac doesn't work

 
0
  #14
Dec 26th, 2007
i realise that the the thread is old but it is the first result that comes up if you google 'javac doesn't work' so i thought that it might be useful for other people if there is actually a resolution to this thread. apologies if i caused any inconvenience but even late replies are appreciated in the forums of the company i work for
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,433
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 259
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: javac doesn't work

 
0
  #15
Dec 26th, 2007
But there was a resolution. did you see posts 8-10.

In post 8 a restart, in post 9 "set the PATH", in post 10 explained that the restart simply let the change (to the path that the installation itself did) take hold globally (she/he was probably using a cmd shell that had been open for a while).

So, as you can see, the answer was already given. Please do not resurrect old threads unless absolutely necessary (which it almost never is).
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 6
Reputation: narayanabhilash is an unknown quantity at this point 
Solved Threads: 0
narayanabhilash narayanabhilash is offline Offline
Newbie Poster

Re: javac doesn't work

 
0
  #16
Dec 28th, 2007
Hi,
You havn'y set the path for the bin folder.
go to Environment variables & add the path "C:\Program Files\Java\jdk1.6.0_03\bin" into existing Key PATH.

It will work properly.

Until you will get "Unrecognized Command javac"

Enjoy.
Abhilash Narayan
Java Programmer
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,433
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 259
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: javac doesn't work

 
0
  #17
Dec 28th, 2007
Another person who doesn't bother to actually read the thread.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC