943,910 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 15053
  • Java RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Jul 6th, 2005
0

Re: javac doesn't work

Thanks for your help :].
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gzero14 is offline Offline
13 posts
since Jul 2005
Dec 25th, 2007
0

Re: javac doesn't work

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kostasbet is offline Offline
2 posts
since Dec 2007
Dec 25th, 2007
0

Re: javac doesn't work

I'm sorry, but you do realise that this thread was over two years dead, until you rejuvinated it, right?
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Dec 26th, 2007
1

Re: javac doesn't work

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kostasbet is offline Offline
2 posts
since Dec 2007
Dec 26th, 2007
0

Re: javac doesn't work

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).
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Dec 28th, 2007
0

Re: javac doesn't work

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
narayanabhilash is offline Offline
6 posts
since Dec 2007
Dec 28th, 2007
-1

Re: javac doesn't work

Another person who doesn't bother to actually read the thread.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
4 Days Ago
0

Javac Doesn't Work

i have the same problem. have gone to environmental variables and made a new path with the javac thing but javac still doesn't work, saying "javac not recognized as an internal or external command", while same as gzero14, java command works fine.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tartaruss is offline Offline
1 posts
since Feb 2012
4 Days Ago
0
Re: javac doesn't work
^what masijade said several years ago
Reputation Points: 118
Solved Threads: 87
Posting Pro
zeroliken is offline Offline
561 posts
since Nov 2011
This thread is currently closed and is not accepting any new replies.
Previous Thread in Java Forum Timeline: Need help with Comparing two arrays PLEASE :)
Next Thread in Java Forum Timeline: Moving JPanels





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC