Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2007, 05:44 AM
Member
 
Join Date: Jul 2007
Posts: 40
toby is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 09:01 PM
Member
 
Join Date: Jul 2007
Posts: 55
Seemster is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-30-2007, 10:09 AM
Member
 
Join Date: Jul 2007
Posts: 72
Swamipsn is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile an applet to an exe elizabeth Java Applets 4 02-18-2008 04:57 AM
Unable to compile gapper New To Java 2 01-14-2008 05:31 PM
Not able to compile bugger New To Java 2 01-09-2008 11:13 PM
compile error dirtycash New To Java 6 12-12-2007 07:00 PM
problem when I try to compile a program from command prompt osval Advanced Java 2 08-06-2007 10:16 PM


All times are GMT +3. The time now is 09:12 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org