Results 1 to 3 of 3
  1. #1
    toby is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default Compile a program

    Hi, I am trying to compile a program that i wrote and i was told to do this i need to write "javac" my computer says that this is not recognized, anyone know why?

    Thanks

  2. #2
    Seemster is offline Member
    Join Date
    Jul 2007
    Posts
    55
    Rep Power
    0

    Default

    Install java sdk or runtime. Add it to your path. Open a shell window. Run java -version. If it gives you an error, you didn't put in the right value into path. Once properly configured, javac will work.

    OR

    copy your program to the <java install dir>/bin and run javac.

  3. #3
    Swamipsn is offline Member
    Join Date
    Jul 2007
    Posts
    74
    Rep Power
    0

    Default

    If you are using Windows pls search for javac.exe file in JDK folder then siply copy the address presented in Addressbar then paste it into a class path. Or simply paste it into environment variable list

Similar Threads

  1. How to compile an applet to an exe
    By elizabeth in forum Java Applets
    Replies: 4
    Last Post: 02-18-2008, 03:57 AM
  2. Unable to compile
    By gapper in forum New To Java
    Replies: 2
    Last Post: 01-14-2008, 04:31 PM
  3. Not able to compile
    By bugger in forum New To Java
    Replies: 2
    Last Post: 01-09-2008, 10:13 PM
  4. compile error
    By dirtycash in forum New To Java
    Replies: 6
    Last Post: 12-12-2007, 06:00 PM
  5. Replies: 2
    Last Post: 08-06-2007, 09:16 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
  •