Page 2 of 2 FirstFirst 12
Results 21 to 32 of 32

Thread: javac

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

    Default

    Quote Originally Posted by PhilArmstrong View Post
    java -version:

    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)


    javac -version:

    'javac' is not recognized as an internal or external command,
    operable program or batch file.

    I uninstalled the 22 update and went to the 17 instead but still no luck.
    Go to the directory (folder) where that java.exe is stored. Do you also see a javac.exe file there? Both should be stored somewhere in the directory C:\Program Files\Java\jdk1.6.0.17\bin. Check it out.

    Or, you have just loaded the JRE; if so you don't even have a javac.exe ...

    kind regards,

    Jos

  2. #22
    gcampton Guest

    Default

    did you change the environment variable to point to the new java/bin ?

    the other one you listed was 1.5, should be 1.6._17

    really big wanger

    Quote Originally Posted by PhilArmstrong View Post

    My Path variable says:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShel l\v1.0\; C:\Program Files\Java\jdk1.5.0_22\bin\;
    (have tried it with and without the final backslash!)
    Last edited by gcampton; 11-13-2009 at 11:44 AM.

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

    Default

    Quote Originally Posted by gcampton View Post
    did you change the environment variable to point to the new java/bin ?

    the other one you listed was 1.5, should be 1.6._17
    Oh please, if you had read reply #20 you could've seen that the new java version 1.6.0.17 was found so most likely the OP had changed the PATH variable. Your quoted text also is outdated because you quoted the original post, before the OP had made the update.

    Please stop spreading misinformation and trash because obviously you don't know what you're talking about. Stop making a fool of yourself please and don't hinder others who do want to make sensible contributions.

    kind regards,

    Jos

  4. #24
    PhilArmstrong is offline Member
    Join Date
    May 2008
    Posts
    10
    Rep Power
    0

    Default

    I have updated the path location and there is a javac.exe file in the same folder as the java.exe also

  5. #25
    aaroncarpet's Avatar
    aaroncarpet is offline Senior Member
    Join Date
    Nov 2009
    Location
    California
    Posts
    147
    Rep Power
    0

    Default

    What version of windows do you have? did you set the CLASS PATH can you see javac.exe in your bin here is my path for jre6

    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\Program Files\Java\jdk1.6.0_04\bin;C:\Program Files\QuickTime\QTSystem\

    1.6.0_ whatever number you got
    Last edited by aaroncarpet; 11-14-2009 at 07:38 AM. Reason: wrong path

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

    Default

    Quote Originally Posted by PhilArmstrong View Post
    I have updated the path location and there is a javac.exe file in the same folder as the java.exe also
    Good; so you have both java.exe as well as javac.exe in the same directory; if your PATH variable is set correctly you should be able to start both of them, one after the other; give it a try.

    kind regards,

    Jos

  7. #27
    gcampton Guest

    Default

    Quote Originally Posted by JosAH View Post
    Oh please, if you had read reply #20 you could've seen that the new java version 1.6.0.17 was found so most likely the OP had changed the PATH variable. Your quoted text also is outdated because you quoted the original post, before the OP had made the update.

    Please stop spreading misinformation and trash because obviously you don't know what you're talking about. Stop making a fool of yourself please and don't hinder others who do want to make sensible contributions.

    kind regards,

    Jos
    dude that comment is hypocritical, retarded and uncalled for, I asked a question because in the last reply he never stated whether or not he updated the path, I was simply reminding him, it's called helping. you would know that the OP could have had JRE 1.6 installed but not jdk1.6 which is the exact reason you probed him about the javac and java being in the same folder....
    If you think I'm such an ass that's fine, but play the bigger man not the smaller one. The only reason I had a go at r3 was due to can I use scanner as class field?. If you want to join his club then go right ahead. You simply butted in on our trolling conversation, then took offense to posts I was making directed at him....

    @ Phil, read my first post (post #2) if you are still having trouble, everything should be working fine now though you can go ahead and mark as solved.
    Last edited by gcampton; 11-14-2009 at 01:44 PM.

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

    Default

    Quote Originally Posted by gcampton View Post
    @ Phil, read my first post (post #2) if you are still having trouble, everything should be working fine now though you can go ahead and mark as solved.
    ? It is up to the OP to decide whether or not his/her problem is solved, not to some random noise transmitter such as you. I am out of this thread because it has been completely ruined by you; no need to respond because I am not going to reply anymore.

    Jos

  9. #29
    gcampton Guest

    Default

    Quote Originally Posted by JosAH View Post
    ? It is up to the OP to decide whether or not his/her problem is solved,
    nice way to state the obvious moron..

    Quote Originally Posted by JosAH View Post
    not to some random noise transmitter such as you.
    ouch that hurts, lol.... seriously if your going to insult me try a bit harder you fuktard.

    Quote Originally Posted by JosAH View Post
    I am out of this thread because it has been completely ruined by you; no need to respond because I am not going to reply anymore.

    Jos
    As you have completely disregarded my previous posts and continued to try to insult me in lame geek speak, you can go cry to mummy a bit more you fuking baby... Oh em gee...

    your not that good mate, you think your a pro, but all you are is a waste of forum space. We don't need elitist bullshiet on these forums, it's a forum for nubs to post nub questions and get nub answers from others, so grow the fuk up already and get over it.

    G.

  10. #30
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Hey guys be cool my friends. We can argue on anything, anyone can express there own thoughts, :) but don't get angry on it.

  11. #31
    javastuden's Avatar
    javastuden is offline Senior Member
    Join Date
    Nov 2009
    Posts
    162
    Rep Power
    6

    Default i will help you

    hai PhilArmstrong

    do your problem solved if not please post what the correct problem i will help you

    thanks

  12. #32
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Javac is not recognized?
    By Java idiot in forum New To Java
    Replies: 4
    Last Post: 08-03-2009, 07:54 PM
  2. excludes in javac target
    By ziggy in forum New To Java
    Replies: 2
    Last Post: 11-25-2008, 05:29 AM
  3. javac?
    By sardare in forum Eclipse
    Replies: 1
    Last Post: 06-14-2008, 03:06 AM
  4. javac DOS
    By rdunne in forum New To Java
    Replies: 3
    Last Post: 01-01-2008, 12:49 PM
  5. Help with javaC
    By Daniel in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 03:44 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
  •