Beginners Java Common Development tools Introduction _JSP Programming

Source: Internet
Author: User
Tags ultraedit

Java is becoming more and more widely used, and more and more people are learning java. People who have studied programming know that using basic for programming can use development tools such as QBasic, Visual Basic, and programming in C, and you can use Turbo C, Visual C + +, C + + Builder, and other development tools. These development tools, integrated with editors and compilers, are an integrated development tool that is easy to use. Learning Java programming also requires easy-to-use development tools. Java development tools are many, and each has advantages and disadvantages, beginners often do not know what common development tools, or because of the choice of more and more confusion. This article introduces the Java Development tools commonly used by beginners to help beginners understand Java common development tools and make choices.

To build a Java development environment, the Sun's JAVA2 SDK is indispensable. December 1998 Sun released the Java Software Development Kit (JAVA2 SDK), the latest version is j2sdk-1.4.2.05. can be downloaded at http://Java.sun.com. Depending on the operating platform, download the appropriate version and set the path and classpath. This package provides a Java compiler, Java interpreter, but does not provide a Java editor, and therefore requires the user to choose an Easy-to-use editor or integrated development tool. Here are some Java development tools that are suitable for beginners.

First, UltraEdit

UltraEdit is the shareware, its official web site is: www.ultraedit.com. The latest version is v10.20b. It is a powerful text, HTML, program source code Editor. As the source Editor, its default configuration is to make syntax coloring for C + +, VB, HTML, Java, and Perl. When using it to design Java program, it can be used to identify and color the keywords of Java, which is convenient for Java programming. It has a 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 to compile and run the Java program directly.

Configuration Javac: Enter in command line: D:\jsp\j2sdk\bin\Javac%f, where the Javac path is specified according to the actual installation path of the JDK,%f refers to the Full-text name of the currently active document. Enter Javac in menu Item Name, which is displayed in the Advanced menu so that you can execute it directly to compile it. Select 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 interpreter Java with no parameters running: Enter in command line: D:\jsp\j2sdk\bin\ java%n, enter in menu Item Name: Java filename, select output to List box and CAPTU Re output, the running results are displayed in the Output window. Configure interpreter Java with parameter running: Input in command line: D:\jsp\j2sdk\bin\Java%n%modify%, in menu Item Name: java filename parameter, This will display a dialog box that requires input parameters when the menu item is executed. Examples of ultraedit operation and configuration are shown in Figure 1.


Two EditPlus

EditPlus is the shareware, its official web site 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. You can also extend to other program languages by customizing the grammar file. You can configure the user tools in the Tools menu, similar to the UltraEdit configuration, the Java compiler Javac and the interpreter Java, through the EditPlus menu, you can directly compile and execute the Java program configure. The configuration and run examples are shown in Figure 2.



Three JCreator

JCreator is an integrated development environment for Java programming, with the function of editing, debugging and running Java programs. The official website is: www.jcreator.com. The current latest version is JCreator 3.10, which is divided into Le and pro versions. The Le version is limited in functionality and is a free version. The Pro version is the most full-featured, but this version is a shared software. This software is relatively small, the hardware requirements are not very high, fully written in C + +, fast, high efficiency. Features syntax coloring, code completion, code parameter hints, engineering wizards, Class wizards, and more. The first time you start, you are prompted to set the Java JDK Home directory and the JDK Javadoc directory, the software automatically sets the classpath, compiler, and interpreter paths, and you can use JDK Help in the assistance menu. But the current version is not very supportive of Chinese. An example of this software application is shown in Figure 3.



Four Eclipse

Eclipse is an open and extensible integrated development Environment (IDE). Not only can it be used in Java development, it can build other development tools by developing plug-ins. Eclipse is an open source project and can be downloaded free of charge. Its official web site is: www.eclipse.org. Its official website offers releases, stable builds, integration builds and nightly builds downloads. It is recommended that you use the releases or stable builds version.

The releases version, the major release released by the Eclipse Development team, is a tested, stable version that is suitable for users who require stability without the latest improvements. The current release version is Eclipse 3.0. The stable builds version is a sufficiently stable version for most users, and the development team has promoted the integration build version that is more stable to stable builds, which is suitable for users who want to use Eclipse's new features. For releases version 2.1.x, there is a language pack on Eclipse's official website that can be downloaded so that Eclipse and its help are simplified Chinese. For Java development, Eclipse is more professional and powerful than the two types of ultraedit and editplus editors and the JCreator IDE. Figure 4 shows an example of an application of eclipse.

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.