Results 1 to 4 of 4
  1. #1
    george27 is offline Member
    Join Date
    Oct 2011
    Posts
    6
    Rep Power
    0

    Default 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!!

  2. #2
    Join Date
    Aug 2011
    Location
    salt Lake City, Utah
    Posts
    10
    Rep Power
    0

    Default 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.

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,764
    Blog Entries
    7
    Rep Power
    21

    Default 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,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  4. #4
    george27 is offline Member
    Join Date
    Oct 2011
    Posts
    6
    Rep Power
    0

    Default Re: javac problem (have set the path variable, but it is not working!)

    Hi,

    Sorry I never replied, I solved the problem eventually and forgot about having posted the question.
    Thank you anyway for your input and help.

    Regards,
    George

Similar Threads

  1. Updating PATH (javac)
    By java1337 in forum New To Java
    Replies: 7
    Last Post: 06-21-2011, 03:47 PM
  2. Replies: 5
    Last Post: 06-02-2011, 07:59 AM
  3. Replies: 2
    Last Post: 03-31-2010, 01:26 AM
  4. Replies: 3
    Last Post: 08-14-2009, 01:57 PM
  5. Replies: 2
    Last Post: 07-30-2007, 09:55 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •