Beginners are better suited to use text editing software to learn Java, have some knowledge of Java recommended to use eclipse, for those who require the development of efficiency of course, the first choice for programmers is JBuilder.
For text editing software I recommend Editplus,editplus is a very familiar editing tool for many programmers, it is widely used in the advantages of small system resources, simple and flexible operation, rich supporting file types (also can customize file types). EditPlus In addition to the function of editing programs, there are flexible compilation features, the following is a brief introduction to the EditPlus Java compilation settings.
Before configuring EditPlus is to install and debug the Java operating environment first, then enter the EditPlus, from the menu "tools"; "Configure User Tools ..." Enter user tool settings, select "Group 1" in "Groups and Tools Entries", click the "group name ..." button on the right side of the panel, "Modify the text Group1" to "Java compiler", click the "Add Tool" button, select the application,
Then you modify the attributes:
1. Add Compile function
The contents of the menu text are modified to "Javac", and the command selects the compile-time Javac.exe in the bin directory after the JDK is installed, and my JDK installation path is "C:Program filesjdkj2sdk1.4.2_08", then this path is "C: Programfiles/javajdk1.5.0/injavac.exe ";
"Parameters" select "FileName", which is displayed as "$ (filename)";
"Initial directory" select "File directory", display as "$ (filedir)", select the Capture output check box
2. Add Executive function
The content in the menu text is changed to "Java";
"Command" Select the compiler Java.exe in the bin directory after installing the JDK, the path is "C:Program Files/javajdk1.5.0/injava.exe";
"Parameter" select "FileName without extension", which is displayed as "$ (filenamenoext)";
"Initial directory" select "File directory", display as "$ (filedir)"; Do not select the Capture output checkbox! Otherwise, the command console will not pop!
This completes the basic setup of EditPlus, can write a Java program to debug, compile by ctrl+1, use ctrl+2 to run the program, error prompts will be displayed in the Output window, double-click a line of error messages, EditPlus will automatically locate the error line, how? A simple Java IDE interface appears.
To save your Java code from your. java files.