Results 1 to 4 of 4
- 10-06-2011, 08:33 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 6
- Rep Power
- 0
javac problem (have set the path variable, but it is not working!)
I adde C:\Program Files\Java\jdk1.7.0\bin\javac to the "path" system variable, but when I try to call up javac from the command box it isn't found. I'm quite confused, because yesterday it was working and I don't know what happened! Any suggestions of what the problem might be? I would be very very grateful!!
- 10-06-2011, 09:05 PM #2
Re: javac problem (have set the path variable, but it is not working!)
The path in Windows should only contain folders that don't end with \. So you need to change your path addition to simply: C:\Program Files\Java\jdk1.7.0\bin.
- 10-06-2011, 09:08 PM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
Re: javac problem (have set the path variable, but it is not working!)
Type "set" and see if your path variable is there and if it contains the correct value(s); if not, you have probably set it in your shell (command prompt) and it is lost when your shelll terminates. Set it permanently by pressing the "start" button and then I can't help you anymore ;-) Check your operating system manuals.
kind regards,
JosBuild a wall around Donald Trump; I'll pay for it.
- 12-22-2011, 01:22 PM #4
Member
- Join Date
- Oct 2011
- Posts
- 6
- Rep Power
- 0
Similar Threads
-
Updating PATH (javac)
By java1337 in forum New To JavaReplies: 7Last Post: 06-21-2011, 03:47 PM -
In Linux export PATH doesn't work but the giving classpath to javac works. Why?
By srikanthradix in forum New To JavaReplies: 5Last Post: 06-02-2011, 07:59 AM -
javac on the Windows command line--whitespace in path name?
By mslate in forum New To JavaReplies: 2Last Post: 03-31-2010, 01:26 AM -
Error : Invalid path, \bin\javac.exe -classpath
By Ed in forum JCreatorReplies: 3Last Post: 08-14-2009, 01:57 PM -
Error :Invalid path, C:\Program Files\Java\j2re1.4.2_06\bin\javac.exe
By silvia in forum New To JavaReplies: 2Last Post: 07-30-2007, 09:55 AM
Bookmarks