IDE |
Advantages |
Disadvantages |
DrJava |
- It is more lightweight, in the sense that it takes up much less computer resources (memory, processor, etc.)
- It offers you a limited amount of visual cues when writing your code, such as multicolored text and highlighting segments of code.
- It helps you a little bit with basic formatting issues, such as sometimes guessing and indenting for you when you press Enter.
- There is an "interactions pane", where you can enter smaller amounts of Java code -- so you can test it out without having to write, compile, and run a whole program.
- Does not "help too much", which is an advantage because it forces you to be more aware of what you are doing as you program.
|
- The set up process may be a bit troublesome in some ways, such as making sure DrJava and the JDK can "talk" to one another.
- It is not as well documented online, as are some other tools.
|
Eclipse |
- Offers a lot more functionalities, which will likely prove useful if you get into more advanced Java coding.
- Is a professional-level tool, so experience with Eclipse may a benefit, if you ever apply for a tech internship/position that uses this or a similar IDE.
- Comes with its own compiler, which may save you the trouble of having to set up the JDK on your computer.
- Instantaneous error highlighting, where it will show you if you have introduced a compiler error. (This may be especially useful if you are the type to write a lot of code before remembering to check for errors.)
- Is good at helping you organize your different code files.
- Can speed up workflow in nifty ways, such as automating the creation of new Java code files and offering suggestions when you start to type code.
|
- Is more demanding on your computer's memory and CPU.
- The sheer range of options may be intimidating.
- In some ways, it may hamper your learning by doing too much of the work for you, denying you the chance to learn those things by doing them yourself.
|
No IDE |
The tools are simpler, in the sense that you do not have the learning curve often associated with a standard IDE. In this case, it would be a simple matter of writing the code file in a text editor, invoking the compiler, and running the resulting program with the JVM.
|
- Requires you to use three different programs: the text editor, the compiler, and the JVM.
- You have to manually indent each line of code yourself.
- If you get compiler or runtime errors -- which tend to associate errors with specific lines of code -- it will be more tedious to locate the offending code.
- Text editors tend to be extremely simple, lightweight applications, and they rarely (if ever) offer anything catering to the needs of a coder.
|