Results 1 to 3 of 3
Thread: Not able to compile
- 01-09-2008, 12:08 PM #1
Senior Member
- Join Date
- Nov 2007
- Posts
- 111
- Rep Power
- 0
- 01-09-2008, 02:07 PM #2
Member
- Join Date
- Jan 2008
- Posts
- 2
- Rep Power
- 0
u have not set the path of the bin directory
- 01-09-2008, 10:13 PM #3
Yep, he's right. The thing is that i had this problem when i first started and someone told me that, but i didn't know what it meant. So, here's what you do (im assuming that you're using windows, i don't know how to do it with any other OS).
Ok, find out where your compiler is located. It's most likely going to be in C:\Program Files\Java\jdk1.6.0_02\bin (or whatever version of jdk you have). So, get the location of the bin folder in your JDK, and copy it.
Now, go to Start, Control Panel, Performance and Maintenance, System, Advanced tab, Environment variables, then go to the section labeled "System", and highlight the part called "Path" and and click Edit. Now, at the end of the text, put a semicolon (; ... if there isn't one already) and then paste the file path of your bin directory that you copied before. Make sure there's no space in between the semicolon and the filepath. Now click OK, and everything should work.
Let me know if you have any problems
Similar Threads
-
Compile Trouble
By adelgado0723 in forum New To JavaReplies: 5Last Post: 04-21-2008, 02:02 AM -
How to compile an applet to an exe
By elizabeth in forum Java AppletsReplies: 4Last Post: 02-18-2008, 03:57 AM -
Unable to compile
By gapper in forum New To JavaReplies: 2Last Post: 01-14-2008, 04:31 PM -
compile error
By dirtycash in forum New To JavaReplies: 6Last Post: 12-12-2007, 06:00 PM -
Compile a program
By toby in forum New To JavaReplies: 2Last Post: 07-30-2007, 09:09 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks