Results 1 to 14 of 14
  1. #1
    selfcontrol is offline Member
    Join Date
    Mar 2012
    Posts
    7
    Rep Power
    0

    Default Missing javac.exe

    I have exactly the same problem, except that I've done everything you said.
    In fact, I've checked my directory where Java is installed, and saw that there was no "javac.exe" program.
    Do you know where i can download it?
    Thanks a lot

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: Missing javac.exe

    Moved from javac is not recognized as an internal or external command error

    Quote Originally Posted by selfcontrol View Post
    I have exactly the same problem, except that I've done everything you said.
    In fact, I've checked my directory where Java is installed, and saw that there was no "javac.exe" program.
    Do you know where i can download it?
    Thanks a lot
    That's rather obviously not the same problem.

    Whenever you have a question, start your own thread -- they're free. Don't wake an ancient thread and don't hijack another poster's thread, especially not with a different problem.

    What did you download and install, the JRE or the JDK? If the JDK, did you change the installation folder while installing?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    selfcontrol is offline Member
    Join Date
    Mar 2012
    Posts
    7
    Rep Power
    0

    Default Re: Missing javac.exe

    Hi,
    Sorry for that, i thought it was related since i had the same error message.
    I have just downloaded the JDK, since the JRE was not effective. I have clicked on the button but didn't make any changes.
    That is, one directory "Oracle" has been created with the installation, and another "jre7" has been added to the directory "Java" that was previously there.
    I have tried to change the value "Path" of my system to go to this jre7 directory, but nothing happened.
    As well, I have checked within both files if i could find a "javac.exe" file, but still impossible (even within the JDK).

    I am a bit lost I'm afraid.

  4. #4
    selfcontrol is offline Member
    Join Date
    Mar 2012
    Posts
    7
    Rep Power
    0

    Default Re: Missing javac.exe

    Actually I have found a "javac.exe" file in the file that the JDK did create (did not see it yesterday, that was quite weird).
    I was quite excited, modified my PATH to go to this file, but... nothing happened.
    What can I do more?
    I've downloaded Eclipse, if it can help me in anyway to compile the program? Or is it only to debug it.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: Missing javac.exe

    Quote Originally Posted by selfcontrol View Post
    Actually I have found a "javac.exe" file in the file that the JDK did create
    File in the file?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: Missing javac.exe

    Quote Originally Posted by selfcontrol View Post
    Hi,
    Sorry for that, i thought it was related since i had the same error message.
    I have just downloaded the JDK, since the JRE was not effective. I have clicked on the button but didn't make any changes.
    That is, one directory "Oracle" has been created with the installation, and another "jre7" has been added to the directory "Java" that was previously there.
    I have tried to change the value "Path" of my system to go to this jre7 directory, but nothing happened.
    As well, I have checked within both files if i could find a "javac.exe" file, but still impossible (even within the JDK).

    I am a bit lost I'm afraid.
    Only because of your poor communication skills. You really need to work on that. These are all essentially meaningless:
    the JRE was not effective
    I have clicked on the button
    one directory "Oracle" has been created ... the directory "Java" that was previously there
    change the value "Path" of my system to go to this jre7 directory
    nothing happened
    modified my PATH to go to this file
    If you want to read how poor communication can impede your route to successful installation of a JDK, go through all pages of https://forums.oracle.com/forums/thr...readID=1205938

    The advice repeated umpteen times there should be adequate to solve your problem.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  7. #7
    selfcontrol is offline Member
    Join Date
    Mar 2012
    Posts
    7
    Rep Power
    0

    Default Re: Missing javac.exe

    Quote Originally Posted by DarrylBurke View Post
    Only because of your poor communication skills. You really need to work on that. These are all essentially meaningless:







    If you want to read how poor communication can impede your route to successful installation of a JDK, go through all pages of https://forums.oracle.com/forums/thr...readID=1205938

    The advice repeated umpteen times there should be adequate to solve your problem.

    db
    Thanks for this very useful response. I like to be considered as a child.

    You might have stopped at your first post, to have me explained why I said "a file in the file". That was a mistake, what I wanted to say is :
    - I have found in the directory jdk1.7(...) the file javac.exe.
    - I've redirected my path to that file. Precisely : C:\Program Files\Java\jdk1.7.0_02\bin;
    The javac.exe is there, but still impossible to compile.

    According to the explanations I've found on your link, it should work (Im actually showing to the computer where the file is). But it doesn't.
    So, my question is : what can I do?
    Shall I disinstall the JDK and the JRE and reinstall only the JDK? (since the JRE is included in it?)
    Or, as I've seen that my path was quite full (many others before the actual C:\Program Files\Java\jdk1.7.0_02\bin;), shall I put the Java path in first?

    P.S : Please, respect your signature : be nice. Thanks

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

    Default Re: Missing javac.exe

    Assuming there's a javac.exe file on your file system somewhere and also assuming you have set the path environment correctly, what happens when you type:

    javac -version

    ?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  9. #9
    selfcontrol is offline Member
    Join Date
    Mar 2012
    Posts
    7
    Rep Power
    0

    Default Re: Missing javac.exe

    Quote Originally Posted by JosAH View Post
    Assuming there's a javac.exe file on your file system somewhere and also assuming you have set the path environment correctly, what happens when you type:

    javac -version

    ?

    kind regards,

    Jos
    Hi JosAH,

    It is saying the exact same thing as when I'm trying to compile :
    "javac is not recognized as an internal or external command..."

    In fact, I've been to one of my programming courses and found out that the compiling is working, but with Eclipse.
    So my problem is in a way solved.
    But I'm wondering : is it going to impede my normal programming activity?

    Regards,

    selfcontrol

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

    Default Re: Missing javac.exe

    Now go to the directory where that javac.exe file is stored and type "javac -version" again. If it shows its version you haven't set your path variable correctly; you have to fix that. If it doesn't show its version there's something rotten with your jdk installation. b.t.w. Eclipse comes with its own compiler and has nothing to do with javac.exe nor anything from the jdk.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  11. #11
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,792
    Rep Power
    19

    Default Re: Missing javac.exe

    When you changed your PATH environment variable you did close and reopen your command window?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  12. #12
    selfcontrol is offline Member
    Join Date
    Mar 2012
    Posts
    7
    Rep Power
    0

    Default Re: Missing javac.exe

    Hi,

    @Joe : I have done what you said, and indeed it showed me the version when I was in the directory "javac.exe".
    This file is located here : C:\Program Files\Java\jdk1.7.0_02\bin;
    Hence, if I follow your reasonning, my PATH variable is not set correctly.

    OR, it is exactly the same. Precisely, here is everything that is inside my PATH :

    C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoo t%\System32\Wbem;C:\Program Files\CyberLink\Power2Go;C:\Program Files\Broadcom\Broadcom 802.11\Driver;%SYSTEMROOT%\System32\WindowsPowerSh ell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\QuickTime\QTSystem\; C:\Program Files\Java\jdk1.7.0_02\bin

    As you can see, the path for this file is in my PATH. So how can I do to "fix" that?
    What can I do more? Shall i suppress all these paths that might make the system lost?


    @Tolls : I did do what you said, but whithout any changes.

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

    Default Re: Missing javac.exe

    If there's a space character before the "C:" part of the directory, remove it.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  14. #14
    selfcontrol is offline Member
    Join Date
    Mar 2012
    Posts
    7
    Rep Power
    0

    Default Re: Missing javac.exe

    Quote Originally Posted by JosAH View Post
    If there's a space character before the "C:" part of the directory, remove it.

    kind regards,

    Jos
    Thanks a lot! It did work :D
    Bloody computers, just with one space character...

    Thanks to you all, I can start my journey to Java programming :)

    Best regards,

Similar Threads

  1. org.j3d is missing...
    By LinuxDev@Flanders in forum Java Gaming
    Replies: 3
    Last Post: 07-23-2012, 12:31 PM
  2. What am I missing here..?
    By andrew_smiley in forum New To Java
    Replies: 5
    Last Post: 02-22-2012, 01:47 PM
  3. Avatar missing?
    By DarrylBurke in forum Forum Lobby
    Replies: 5
    Last Post: 05-05-2011, 03:47 PM
  4. Help; Missing JButtons
    By Cyprusice in forum New To Java
    Replies: 3
    Last Post: 01-10-2010, 11:50 PM
  5. Missing Elements
    By princess in forum NetBeans
    Replies: 1
    Last Post: 10-29-2008, 11:51 PM

Posting Permissions

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