Java compiler/IDE

jms_gears1

Premium Member
Joined
Jun 10, 2009
Messages
1,303
WCA ID
2009MAUP01
YouTube
Visit Channel
Does anyone know of a good Java compiler?
Ive been searching around on google, and have found several, however I want to get opinions of the programmers on which i should use.

Im running on windows 7.

thanks in advance.
 
I've only tried NetBeans a few times. I use this stupid thing from my school called Ready To Program... we had to use its IO package so now I don't know standard IO :mad: I'm more comfortable with python than java
 
Last edited by a moderator:
Eclipse is the best IDE. Or a compiler? Here's a very simple one, you have to change your classpath and download the latest version of Java JDK,
Code:
@echo off
title Compiler
"C:\Program Files\Java\jdk1.6.0_11\bin\javac.exe"  -d ./bin ./server/*.java
pause

In this case i have the 11 version of JDK, if you downloaded it and say it was 15, it would be:

Code:
@echo off
title Compiler
"C:\Program Files\Java\jdk1.6.0_15\bin\javac.exe"  -d ./bin ./server/*.java
pause

It's a very simple compiler but it works very well.
 
I use Eclipse. I think it installs the JDK with it. I like it since it is easy to use and there are many community add-ons that you can use with it (Google's Android SDK and GWT and probably others have Eclipse extensions). I tried NetBeans once or twice for GUI and didn't really like it.

EDIT:
ps: always install JDK first before installing Netbeans/Eclipse etc

I guess it doesn't.
 
For a big project an IDE like Eclipse (What I use at work), Netbeans, or IntelliJ (What a few co-workers use at work) is probably going to help.

For little, one off, programs a code editor like JGrasp or Geany (never tried JCreator) is enough. In fact I learned on JGrasp because it's quick, fairly lightweight, and you don't have the learning curve and overhead of Eclipse-like "projects."

As Stefan pointed out, if you have downloaded the standard JDK, it includes the standard java compiler, javac. There are quite a few 3rd party compilers available, but I would suggest that if you're just starting out and still learning things like what a compiler is you should probably stick with the standard compiler for now.
 
hmm I think I got the same problem as jms, NetBeans said no JDK was found. I tried Eclipse before and got the same problem
 
For a big project an IDE like Eclipse (What I use at work), Netbeans, or IntelliJ (What a few co-workers use at work) is probably going to help.

For little, one off, programs a code editor like JGrasp or Geany (never tried JCreator) is enough. In fact I learned on JGrasp because it's quick, fairly lightweight, and you don't have the learning curve and overhead of Eclipse-like "projects."

As Stefan pointed out, if you have downloaded the standard JDK, it includes the standard java compiler, javac. There are quite a few 3rd party compilers available, but I would suggest that if you're just starting out and still learning things like what a compiler is you should probably stick with the standard compiler for now.
I know what a compiler is and i have had some previous experience (albeit very limited) programming experience. Mostly within Microsoft visual studios. And so im trying to stop using Microsoft crutches, and learning how to really program, and learn other languages.
 
hmm I think I got the same problem as jms, NetBeans said no JDK was found. I tried Eclipse before and got the same problem

i once met with the same problem. just google for it! i remember i changed the CLASSPATH, JAVA_HOME and some other values manually and then it works
 
For a big project an IDE like Eclipse (What I use at work), Netbeans, or IntelliJ (What a few co-workers use at work) is probably going to help.

For little, one off, programs a code editor like JGrasp or Geany (never tried JCreator) is enough. In fact I learned on JGrasp because it's quick, fairly lightweight, and you don't have the learning curve and overhead of Eclipse-like "projects."

As Stefan pointed out, if you have downloaded the standard JDK, it includes the standard java compiler, javac. There are quite a few 3rd party compilers available, but I would suggest that if you're just starting out and still learning things like what a compiler is you should probably stick with the standard compiler for now.
I know what a compiler is and i have had some previous experience (albeit very limited) programming experience. Mostly within Microsoft visual studios. And so im trying to stop using Microsoft crutches, and learning how to really program, and learn other languages.


No offence meant, some people sounded like they were a bit confused about it. As for your appdata issue when installing the jdk, what's the output if you open a cmd prompt and type
Code:
echo %APPDATA%
I think on vista this should spit back out "C:\Users\[your user name]\AppData\Roaming" if it's anything else you may need to set a system variable called APPDATA that points to this folder. Don't know why it wouldn't be set up already though.
 
Back
Top