Results 1 to 20 of 20
  1. #1
    FinalFatexX is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Question 'Javac' is not recognized as an internal or external command or batch file

    Well when i try to compile nearly everything i get this error. I'm not really sure about posting here or anything as for I am a newbie to these forums, I don't really know where else to look for A solution to my problem. I have seen other threads on this but i think it would be more helpful if someone could explain how i could fix this specifically to me. I don't know what really to post here for you to help me, But I am going to post which java version i have. I do know that it has something to do with the path file or something in the environment variables.

    I think i have Jdk6u14
    I also have Jre6u14
    here is what it says in my CLASSPATH - c:\Program Files\Java\jdk1.6.0_14\bin;

    here is my path - %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\Program Files\QuickTime\QTSystem\

    It's probly all messed up.

    I'm a newb to all the java stuff so if you do flame me for asking this please do it a little lightly.

    Please help if possible..Thanks.

  2. #2
    corlettk is offline Member
    Join Date
    Apr 2009
    Location
    Brisbane
    Posts
    86
    Rep Power
    0

    Default

    Prepend the contents of your CLASSPATH to the _beggining_ of your PATH... followed by a semicolon.

    Then I advise you to unset your CLASSPATH... it's causes more pain than it cures.

    If you're still stuck then google it... Not really interested in discussing this problem yet again.

  3. #3
    FinalFatexX is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default

    I think i just found it out i was messing around with it o.o, Thanks for the reply and sorry for being such a newb. :]

  4. #4
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    830
    Rep Power
    6

    Default

    Hi ,
    Instead of classpath set

    path - c:\Program Files\Java\jdk1.6.0_14\bin;

    in systemvariables.
    Ramya:cool:

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

  6. #6
    corlettk is offline Member
    Join Date
    Apr 2009
    Location
    Brisbane
    Posts
    86
    Rep Power
    0

    Default

    I still give CLASSPATH the tumbs down... it quickly turns into "the magic string from hell", and then you start getting version clashes... much better off learning the alternatives upfront... Just use -cp (or -classpath if you're an anacronist. (That'll be my word for the day ;-)) and you'll quickly discover ANT or MAVIN.

    Cheers. Keith.

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

    Default

    For me that's not a mess. One thing is that updates wont comes in regular intervals. And also I'm updating the version, just after the Suns' release it. And also I know the exact way to do all those thing in few seconds. ;) So it's really nice thing for me.

  8. #8
    corlettk is offline Member
    Join Date
    Apr 2009
    Location
    Brisbane
    Posts
    86
    Rep Power
    0

    Default

    I guess you've been lucky enough to not trip-over this problem, yet. It's not really about the latest version of anything... it's about different libraries (for different projects) requiring different versions of underlying libraries... xerces is where I fell over it.

    ... and... May you be in heaven an hour before the devil knows you're dead.

    Cheers. Keith.

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

  10. #10
    Join Date
    Jul 2009
    Posts
    4
    Rep Power
    0

    Default

    solution to this is keep all files in bin folder and dont create subfolder in bin then compile it. for further log on questionpapers.net

  11. #11
    corlettk is offline Member
    Join Date
    Apr 2009
    Location
    Brisbane
    Posts
    86
    Rep Power
    0

    Default

    Quote Originally Posted by rameshperumal1984 View Post
    solution to this is keep all files in bin folder and dont create subfolder in bin then compile it. for further log on questionpapers.net
    If you are saying what I think you are saying, then you're so dead wrong it's really not at all funny.

    What are you actually saying? I think a worked example might be best, considering your ninja level English skills.

    Cheers. Keith.

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

    Default

    Quote Originally Posted by rameshperumal1984 View Post
    solution to this is keep all files in bin folder and dont create subfolder in bin then compile it. for further log on questionpapers.net
    Please explain your stuff next time more clearly. I've seen that several forums, you are posting link to another site, seems to me your spamming the forum. Actually if you want to advertise your site, we have a separate sub-forum for that. Keep in mind that you may get ban here as well. Thanks.

  13. #13
    Saradus is offline Member
    Join Date
    Jul 2009
    Posts
    14
    Rep Power
    0

    Default

    Quote Originally Posted by rameshperumal1984 View Post
    solution to this is keep all files in bin folder and dont create subfolder in bin then compile it. for further log on questionpapers.net
    This has to be the most illogical suggestion I've seen...

  14. #14
    corlettk is offline Member
    Join Date
    Apr 2009
    Location
    Brisbane
    Posts
    86
    Rep Power
    0

    Default

    Nope, "Illogical" doesn't cover it. "Wrong" is far more accurate.

  15. #15
    angryboy's Avatar
    angryboy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    742
    Rep Power
    6

    Default

    its a spam, check out his other posts.
    USE CODE TAGS--> [CODE]...[/CODE]
    Get NotePad++ (free)

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

    Default

    Still there are no enough evidence to decide it as a spam ab. He has just posted only 4 posts. We'll see what's going to do here in the forum.

  17. #17
    salkaruday is offline Member
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    0

    Default

    it may possible that ur jdk has been corrupted;Reset ur path variable through-My computer>right click>properties>AdvancedTab>Environment Variables>System variables>path variable>type ur JDK/bin path starting with ';' then click apply

  18. #18
    kleinaeinar is offline Member
    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0

    Unhappy Please help me!!!

    I dont know if this is the right thing but when im trying to open rsbot it opens a black window really fast than closes i could get a image of that and i made a website so ppl can see it http://helpwithjava.yolasite.com/another-image.php

    So please help me i really want that program to work!!!!!!!!

  19. #19
    mine0926 is offline Senior Member
    Join Date
    Apr 2010
    Location
    Philippines
    Posts
    580
    Rep Power
    5

    Default

    Please create your own thread and explain your problem.

  20. #20
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Replies: 28
    Last Post: 10-26-2010, 04:39 AM
  2. Replies: 13
    Last Post: 09-17-2009, 07:56 AM
  3. Replies: 8
    Last Post: 11-18-2008, 09:21 AM
  4. 'javac' is not recognized as an internal or external command
    By sam_1032002@btopenworld.c in forum New To Java
    Replies: 3
    Last Post: 10-18-2008, 02:40 AM
  5. Replies: 6
    Last Post: 07-30-2008, 03:50 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
  •