Popular Downloads Like NetBeans
Popular Downloads Like NetBeans
http://java.sun.com/
To download the archived JDK 1.5.0 if you really want to use Studio 8.1
Note - The JDK has two version numbers -- external version number 5.0 and internal version number
1.5.0.
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-
Site/en_US/-/USD/ViewFilteredProducts-
SingleVariationTypeFilter;pgid=yYdgaHqkkjVSR0EUPIQsoQ3D0000mRRLNX4P;sid=b25upMnEOS5upIHr_AAmoSZiVu
cDUwSBOoyhZdTaBFww8g==
Solution: NetBeans
The NetBeans IDE 6.0 provides the same UML Modeling, Developer Collaboration,
Profiler, and Portlet Builder features that were offered in the Sun Java Studio Enterprise
IDE 8.1. It is a graphical IDE (Integrated Development Environment) which you can
download from:
http://www.netbeans.org/
Solution: JEdit
If you prefer to simply write your Java code from scratch and compile/run from the
command line, I’d like to recommend JEdit. It is a syntax sensitive editor:
http://www.jedit.org/
http://www.cs.princeton.edu/introcs/11hello/windows-jedit.html
Setting options for your Command Prompt window (if you are not using
an IDE to do your builds and run your programs):
You will actually compile and run your java programs from the command prompt.
To make it MUCH easier to compile and run Java applications, I strongly encourage you to change
these options for your Command Prompt. You can change the options by right mouse clicking the title
bar and selecting ‘properties’:
You can also change the colors of the font and background if you’d like.
Click OK and “Modify shortcut that started this window” to make the changes permanent for the
shortcut.
Command Prompt Shortcuts:
http://smallvoid.com/article/winnt-command-prompt-shortcuts.html
Type your first program. Type this exactly as you see it in your JEdit window and save
it.
Note: Make sure the name o f your file corresponds to the name of the public class of the file. If
main() is within the public class, then the name of the file should be the public class holding main().
Save as “HelloWorld.java”
Now you are ready to compile and run. You do this in your command prompt window
First compile:
C:\Documents and Settings\cgregorek\My Documents\CTU\IT271> javac HelloWorld.java
List the contents of the directory to verify the class file was built: HelloWorld.class:
C:\Documents and Settings\cgregorek\My Documents\Training\Java Sandbox> dir