Java Programming tools

Source: Internet
Author: User
Tags ultraedit java keywords

The following tools are available for multi-language development. From complex to simple, computer configuration needs to be high and low. Eclipse, UltraEdit, EditPlus, respectively.

1.Eclipse

Eclipse is an extensible open-source IDE. In November 2001, IBM donated $40 million worth of source code to form the Eclipse Alliance, which is responsible for the follow-up development of this tool. The integrated development environment (IDE) often limits its application to "development, build, and debug" cycles. To help the integrated development environment (IDE) overcome current limitations, industry vendors have partnered to create the Eclipse platform. Eclipse allows the integration of tools from different vendors in the same IDE and interoperability between Java development tools, dramatically altering project workflows and enabling developers to focus on actual embedded goals.
This flexibility of the eclipse framework stems from its extensibility points. They are well-known interfaces defined in XML and act as a coupling point for plug-ins. Extension points range from simple strings that are used in general expression filters to descriptions of a Java class. Any extension points defined by the Eclipse plug-in can be used by other plug-ins, whereas any Eclipse plug-in May follow the extension points defined by other plug-ins. In addition to understanding the interfaces defined by the extension points, the plug-in does not know how the services they provide through the extension point will be used.
With Eclipse, we can combine high-level design (perhaps with UML) with low-level development tools such as application debuggers. If these complementary standalone tools are connected to each other using the eclipse extension points, the UML dialog box can highlight the device we are looking at when we use the debugger to examine the app one at a time. In fact, since Eclipse does not understand the development language, it is valid regardless of the Java language debugger, the C + + debugger, or the assembler debugger, and can target different processes or nodes simultaneously within the same framework.
The biggest feature of Eclipse is its ability to accept open source plugins written by Java developers, similar to the NetBeans platform of Microsoft's Visual Studio and Sun Microsystems. Eclipse provides tool developers with greater flexibility to gain greater control over their software technologies. This is a very popular Java development tool, this domestic users more and more, in fact, it is the most Java developers. Disadvantage is more complex, for beginners, it is more difficult to understand.

2.UltraEdit

UltraEdit is shareware, and its official website is: www.ultraedit.com. The latest version is v10.20b. It is a powerful text, HTML, program source code Editor. As a source code editor, its default configuration can be used to syntax coloring of C + +, VB, HTML, Java, and Perl. When using it to design Java programs, you can identify and color Java keywords, which facilitates Java programming. It has complete copy, paste, cut, find, replace, format control and other editing functions. The Java compiler javac and interpreter Java can be configured in the tool configuration menu item of the Advanced menu, and the Java program is compiled and run directly.

Configuration Javac: Enter in command line: D:\jsp\j2sdk\bin\Javac%f, where the path to Javac is specified according to the actual installation path of the JDK,%f refers to the full-text name of the current active document. In menu Item Name, enter Javac, which is displayed in the Advanced menu so that it can be directly executed for compilation. Check the output to List box and capture output so that you can see the compile-time error message in the export window below the source code. To configure an interpreter to run without parameters Java: in command line input: D:\jsp\j2sdk\bin\

Java%n, in the menu Item Name, type: Java filename, check the output to List box and capture output, the results of the run are displayed in the Outputs window. Configure the interpreter with parameters to run Java: in command line input: D:\jsp\j2sdk\bin\Java%n%modify%, in the menu Item Name, enter: Java filename parameter, This displays a dialog box that requires input parameters when the menu item is executed.

3.Editplus

EditPlus is shareware, and its official website is: www.editplus.com. The latest version is EditPlus 2.12. EditPlus is also a full-featured text, HTML, program source code Editor. The default syntax coloring for HTML, CSS, PHP, ASP, Perl, C + +, Java, JavaScript, and VBScript is supported. Custom grammar files can also be extended to other programming languages. You can configure the user tool in the Configure User Tools menu item on the Tools menu, similar to the UltraEdit configuration, with the Java compiler Javac and interpreter Java configured, and the Java program can be compiled directly from the EditPlus menu.

(1), enter EditPlus, from the menu "tools"; "Configure user Tools ..." Go to the User tool settings, select "Group 1" in "Groups and Tools Entry", click on 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 properties:

(2), add the compilation function

The contents of "menu text" are changed to "Javac";

Command selects the compiler Javac.exe in the bin directory after the JDK is installed, and the default JDK installation path is "C:\Program files\java\jdk1.7.0_05\", then this path is "C:\ProgramFiles \java\jdk1.7.0_05\bin\javac.exe ";

"Parameter (Argument)" selects "File Path (FilePath)", which is displayed as "$ (FilePath)";

"Initial directory (Initial directory)" Select "File directory (Filedir)", displayed as "$ (filedir)";

Action Select None (None)

(3) Add execution function

The contents of "menu text" are changed to "Java";

"Command" selects the compiler Java.exe in the bin directory after installing the JDK, the path is "C:\Program Files\java\jdk1.7.0_05\bin\javac.exe";

"parameter" selects "File name without extension (Filenamenoext)", which is displayed as "$ (filenamenoext)";

"Initial directory" select "File directory (Filedir)", displayed as "$ (filedir)";

Action Select None (None)

This completes the basic setup of the EditPlus.

Note: Add the Compile function, add the execution function in the last parameter of the two Action (action), if set to "none", the continuous run of the mutation will pop up the command Prompt window, if set to "capture output (Captureoutput) , the result of the run is displayed only in the EditPlus edit window.

(4) test a program

Select the "file → new →java" menu to pop up the following screen

Code window: A "Hello World" program is automatically generated when you create a new Java file, but without a class name, you can write programs on that basis.

Run Results window: This will return the results based on the program's operation. Note: The user tool's action is set to capture output (captureoutput), and the results are displayed in the Run Results window.

In the Run window, add a class name HelloWorld after the 1th line of code class, and then save the program as "Helloworld.java"

Press the shortcut key "ctrl+1" to compile the program.

Press the shortcut key "Ctrl+2" to execute the program.

Java Programming tools

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.