Results 1 to 4 of 4

Thread: javac DOS

  1. #1
    rdunne is offline Member
    Join Date
    Dec 2007
    Posts
    1
    Rep Power
    0

    Default javac DOS

    I am having trouble with javac in DOS - not recognised
    My environment variables are
    PATH
    .
    ;c:\Sun\SDK\bin
    ;c:\SDK5\bin
    ;c:\Program Files\Java\jdk\jre\lib\rt.jar
    ;c:\Program Files\Java\jre1.6.0\bin

    JAVA_HOME
    c:\Program Files\Java\jre1.6.0\bin

    Is there anything that I am missing?

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

    Default

    Have you try to set the working path on DOS. If so just use it, and if you can edit the autoexec.bat file.

  3. #3
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    762
    Rep Power
    10

    Default

    Your path should include the bin path of your JDK. For example add to the path the following path.

    Java Code:
    C:\Program Files\Java\jdk1.6.0_03\bin

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

Similar Threads

  1. Replies: 28
    Last Post: 10-26-2010, 04:39 AM
  2. Replies: 3
    Last Post: 08-14-2009, 12:57 PM
  3. Replies: 2
    Last Post: 07-30-2007, 08:55 AM
  4. Replies: 4
    Last Post: 07-20-2007, 04:18 AM
  5. Help with javaC
    By Daniel in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 02: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
  •