Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-08-2007, 10:47 PM   PM User | #1
Grim Reaper
New to the CF scene

 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Grim Reaper is an unknown quantity at this point
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.
Grim Reaper is offline   Reply With Quote
Old 05-09-2007, 01:33 AM   PM User | #2
Aradon
Moderator-san


 
Aradon's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 734
Thanks: 0
Thanked 20 Times in 19 Posts
Aradon is on a distinguished road
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
Aradon is offline   Reply With Quote
Old 05-09-2007, 02:44 AM   PM User | #3
Grim Reaper
New to the CF scene

 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Grim Reaper is an unknown quantity at this point
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.
Grim Reaper is offline   Reply With Quote
Old 05-09-2007, 04:10 AM   PM User | #4
Aradon
Moderator-san


 
Aradon's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 734
Thanks: 0
Thanked 20 Times in 19 Posts
Aradon is on a distinguished road
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
Aradon is offline   Reply With Quote
Old 05-09-2007, 08:29 PM   PM User | #5
ess
Regular Coder

 
Join Date: Oct 2006
Location: United Kingdom
Posts: 865
Thanks: 7
Thanked 29 Times in 28 Posts
ess will become famous soon enough
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
ess is offline   Reply With Quote
Old 05-16-2007, 11:38 AM   PM User | #6
fuadsm
New Coder

 
Join Date: Jun 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
fuadsm is an unknown quantity at this point
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
fuadsm is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:51 PM.


Advertisement
Log in to turn off these ads.