Results 1 to 3 of 3
  1. #1
    SamuelM is offline Member
    Join Date
    Dec 2009
    Location
    Minnesota, USA
    Posts
    9
    Rep Power
    0

    Default Compiler Question

    I have the Java in a Nutshell3rd Edition book in the book there is a small program called Factorial.java, they want me to key it in and run the compiler.
    I've installed the 5.8 version of the SDK but can't run javac as the books says to do. I could not find the compiler javac anywhere on the machine.

    What am I missing?

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    What's "the 5.8 version of the SDK"?

    Get Sun's JDK from their download site. The one you want is "JDK 6 Update 17" a little way down the page.

    Then work through the HelloWorld in the Tutorial - always a good check that you have a compiler installed properly! The tutorial includes instructions which address common problems.

  3. #3
    SamuelM is offline Member
    Join Date
    Dec 2009
    Location
    Minnesota, USA
    Posts
    9
    Rep Power
    0

    Thumbs up

    Thank You!

    I had downloaded the JRE not the JDK it had Glassfish in it as well.

    I have found javac in the bin folder :)

    Thanks again pbrockway2!

    Very Helpful for me, it just proves you can teach an old dog new tricks ;)

Similar Threads

  1. compiler,JIT compiler & interpreter
    By gamilah in forum New To Java
    Replies: 4
    Last Post: 11-04-2008, 12:32 AM
  2. Compiler
    By pawankumarom in forum New To Java
    Replies: 3
    Last Post: 09-08-2008, 01:11 PM
  3. Compiler?
    By robin105 in forum New To Java
    Replies: 2
    Last Post: 07-26-2008, 02:46 AM
  4. compiler
    By jidd in forum New To Java
    Replies: 3
    Last Post: 01-29-2008, 12:40 PM
  5. Asking for the compiler
    By fernando in forum Other IDEs
    Replies: 1
    Last Post: 08-06-2007, 09:04 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
  •