Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Where is JavaC?

  1. #1
    New to the CF scene
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Where is 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?

    Thanks in advance.

  • #2
    Regular Coder Aradon's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    734
    Thanks
    0
    Thanked 20 Times in 19 Posts
    That all depends on where you decided to place your jdk.

    The default I believe is

    C:\Program Files\Java\jdk_name_here

    At least that is where mine is. What you're going to want to do is add the bin folder in the jdk folder to your path in windows

    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:

    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.

    Let me know if you need anymore help.
    "To iterate is human, to recurse divine." -L. Peter Deutsch

  • #3
    New to the CF scene
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is there any simple Compiler I can download just for basic compiling? I don't need anything like JBuilder or anything, just simple and easy to use.

  • #4
    Regular Coder Aradon's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    734
    Thanks
    0
    Thanked 20 Times in 19 Posts
    javac is the simple java compiler. It is a simple binary (executable) that you can use to compile a java program. That is

    Code:
    javac.exe java_file.java
    Other then that you can try an IDE, such as Eclipse or Netbeans, but for simple compilation I would just stick to javac.
    "To iterate is human, to recurse divine." -L. Peter Deutsch

  • #5
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    865
    Thanks
    7
    Thanked 29 Times in 28 Posts
    If you have installed and configured your class path correctly, and you are only interested in a simple text editor...I would recommend textpad....as you can compile java source files from within the editor.

    cheers,
    Ess

  • #6
    New Coder
    Join Date
    Jun 2003
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    just download and use JCreator. It is a very nice and easy to use Compiler for all java related usage. I am still using it. There is a free light edition.
    www.jcreator.com


  •  

    Posting Permissions

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