Question:
help finding good IDE for java programming?
Nighthawk0973
2011-03-26 11:54:17 UTC
I have already tried JCreator and it doesn't work for me because I can't run a simple hello world program. Is something wrong with my code cuz i've only got 1 app to work that i made and thats one of my other helloworlds which the script is:
class HelloWorldProgram
{
public static void main("String[] args")
{
System.out.println("Hello World!")
}
}
Anyways I want to know the BEST free java IDE for jdk6 SE. JCreator is to clunky anyways. I want something that gives me a blank page when I do File
Five answers:
Silent
2011-03-26 12:26:16 UTC
The reason your code isn't working has nothing to do with JCreator. It's two reasons, actually:



1. There are quotes around the argument list in your main() method.



2. There's no semicolon at the end of your call to println().



If your program doesn't compile correctly, it's not a problem with the compiler; it's a problem with your code.
Veiled Prophet
2011-03-26 12:10:29 UTC
From lightweight to heavyweight, here are my favourites.



1. SciTE: It has syntax highlighting and autoindent and a WHOLE bunch of other features. Very light.





2. Jedit: It needs a JRE. If you have a JRE 1.6 (also known as JRE6, Sun/Oracle have made Java's version scheme utterly confusing), the JRE 1.6 can let jedit use a fairly good looking appearance called Nimbus. It uses plugins, some of which are useful and some of which are not. I started to use this after I got some experience in Java. It starts on a blank page, but you need to get the Errorlist plugin and the Console plugin, to compile. After you configure them properly, which takes at most 10 min, you can press a button and it will compile and run. Lots of features, good for lots more than just Java, which can also be said of SciTE.



3,Netbeans. Heavy, got lots of sickass features that save you lots of time and even more typing. It does not start on a blank page, but it will do the one-button-compile-and-run feature you requested without anything. It will give you automatic suggestions, etc. I swear, it stops just short of eliminating all typing. But you need a fairly good system to run it. I had a 1999 machine running a version 6.5, and it was slow (albeit usable to a limited degree). So modern systems will handle it just fine. It's Java centric, too, won't do for much else. But it's very good for a beginner. Someday, you will need to wean yourself off of it. But before that, Netbeans will give you the skills you need, and the reminders.





EDIT: Oh, btw, your program is incorrect. It should be:



public static void main(String[] args)



You typed:



public static void main("String[] args")



Extra set of quotations.
deonejuan
2011-03-26 13:55:04 UTC
I have heavy enough iron to run software. Eclipse really consumes the CPU clock cycles and lets you get away with a lot of omissions, but the code does run.



I use NetBeans for php, C/C++, python, javascript, xml, html, css and java. NetBeans won't do Perl. For that I use Padre.



Also, Linux is the better programming environment for most things.



So, yeah, NetBeans. It is the only IDE that lets me enter textbook code. Some other IDE won't use pure java. You have to use their setups.
?
2016-11-15 04:00:12 UTC
Yea kinda like what the guy above me stated, it does not certainly remember what IDE you pick for becuase interior the tip it is the comparable langiage, in basic terms a distinctive compiler. I regulalrly use NetBeans, and purely have been given Eclipse a pair weeks in the past because of the fact i became into curios
anonymous
2011-03-26 11:56:46 UTC
Netbeans is a great IDE, eclipse is also widely used.



btw, there is an error in your code:

public static void main("String[] args")



that is wrong, it should be:

public static void main(String[] args)



without the quotes.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...