How to build the most basic Java development environment?

xiaoxiao2021-03-06  110

The thing you must download: 1. J2se 1.4.1 Download here according to your own operating system. Remember your own installed directory name. http://java.sun.com/j2se/1.4.1/download.html2. J2EE 1.3.1 Download here according to your operating system. If you have to learn JSP, EJB, this is not a few. Http://java.sun.com/j2ee/sdk_1.3/1.3_01/3. JRE (Java Run Time Environment) Many people ask why Applet can't run in IE, because less this. Http://java.sun.com/getjava/manual.html Note: Before installing other tools, these recommendations are all installed. Download Java Development Environment Recommended Intellij Idea 3.0.2, download address is http://www.intellij.com/idea/download.jsphttp://www.5956.com/view.asp?board_id=119&view_id=1425eclipse is also good, Free, but powerful, especially in combination with Server, has advantages. Chinese problem solved very well. http://www.eclipse.orgq: How to use Intellij Idea 3.0.2? A: 1.File-> New Project-> In Name, give your project a name, such as Test-> Find a folder for your project file in Loc, for storage, you can click on the right ... button Choose, such as c: /projects/test/test.ipr-> In Target JDK, select the JDK version, you can click on the ... button to select, point to the directory installed by J2EE -> in Compiler Output Path, Choose a directory to store Class files generated after compile, such as c: / projects / test / classes-> Click Next-> Click Next-> In SourcePath, add the directory you want to join with Add path, otherwise, click Next-> The system automatically creates a SRC directory under the project folder, used to store the original code, this point, pop-up dialog, let you determine, click Yes .-> Click Finish.2. Now the project is established. , Click on the top left corner 1: project, there is a tree. On the right side of the title of the tree, there are four buttons, click the big head-type thing, take the position. 3. Move the mouse on the SRC folder, right click, new-> Class, a name, ok, you can write code. 4. Green arrow in Toolbar means running. Download Application Server If you want to try JSP, Servlet, JMS, EJB these technologies, you must download the application server, which is running it. Recommend tomcat, you can also use JBOSS, they are free.

转载请注明原文地址:https://www.9cbs.com/read-103590.html

New Post(0)