Results 1 to 3 of 3

Thread: Help with javaC

  1. #1
    Daniel is offline Member
    Join Date
    Jun 2007
    Rep Power

    Default Help with javaC

    I downloaded JDK 6 but where is the Java Compiler?
    How do I find and open it?
    It's not in my Start Menu or anything.
    Can someone please help me out here?


  2. #2
    Albert is offline Senior Member
    Join Date
    Jun 2007
    Rep Power


    That all depends on where you decided to place your jdk.

    The default I believe is C:\Program Files\Java\jdk_name_here

    There are several tutorials online for this. One way of doing it is as such:

    Right click on my computer
    Go to properties
    Click on the Advanced Tab
    Click on Environment Variables

    Under System Variables there should be something there that says Path
    Select it and hit the edit button in this path.
    You then want to put the path of the jdk bin folder in your path as such:
    Java Code:
    C:\Program Files\Java\jdk1.5.0_05\bin;
    Make sure you have the semicolons just like the other path variables. Hit okay, save it, then open up a new command prompt window and you should be able to use javac from the command line.


  3. #3
    Marcus is offline Member
    Join Date
    Jun 2007
    Rep Power


    javac is the simple java compiler. It is a simple binary (executable) that you can use to compile a java program.

    Java Code:
    Other then that you can try an IDE, such as Eclipse or Netbeans, but for simple compilation I would just stick to javac.


Similar Threads

  1. Replies: 28
    Last Post: 10-26-2010, 05:39 AM
  2. Replies: 3
    Last Post: 08-14-2009, 01:57 PM
  3. javac DOS
    By rdunne in forum New To Java
    Replies: 3
    Last Post: 01-01-2008, 12:49 PM
  4. Replies: 2
    Last Post: 07-30-2007, 09:55 AM
  5. Replies: 4
    Last Post: 07-20-2007, 05:18 AM

Posting Permissions

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