First, let's take a look at the environmental configuration, pay attention to the environment I configured under Win 2000 Server, not Linux, the configuration is generally related to the operating system, only in the specific installation. And whether the configuration is successful, regardless of the operating system.
Software installation is divided into several parts:
1, Java environment installation:
It is useful here to download by JDK1.4.1 (JDK1.4.2). This can go to Sun's website to download;
2, Tomcat environment installation:
The Tomcat version is 4.1, the installation version or the decompression version is OK;
3, Eclipse 3 installation:
You can go to the following address to download http://www.eclipse.org/downloads/index.php
I downloaded 3.1m4 version, this version should be relatively new. 4, Tomcat plugin installation;
The Tomcat plugin is to download http://www.sysdeo.html to the address below, you need to see if the plugin is suitable for the Eclipse version before downloading, and I downloaded TomcatPluginv3.zip;
5, Lomboz plugin installation;
The Lomboz plugin needs to download two parts, one is an EMF environment, the other is the Lomboz plugin, and to the following places
http://forge.object/showfiles.php?group_id=97
Http://download.eclipse.org/tools/emf/scripts/downloads.php#goto2.1.0i
I downloaded Emf-sdo-runtime-i200412160800.zip and Org.ObjectWeb.Lomboz_3.1.0.n20050106.zip;
Here is mainly based on Eclipse to choose the appropriate Lomboz plugin, then check the introduction of the Lomboz plugin, then you will introduce the version of the required EMF plug-in, then go to the following address to find the EMF plugin.
Ok, the download is all, let me introduce how to install and configure it.
First, Java environment installation
This can be installed directly, but it is best to be installed outside the system disk, which can better understand the configuration of JVM; after installation, you need to configure environment variables, create a new Java_Home, and configure the PATH, put JDK's bin The directory is added to so you can use the JDK command to use the JDK any path in the command line.
[Test]: Write a Hello World program, then use the Javac Hello.java and Java Hello command under DOS, if it can be performed normally, it will prove that the JDK installation is successful.
Second, Tomcat Installation
Decompression version of the direct decompression, then configure tomcat_home, the installation version should pay attention to the two points, one is to start after the Tomcat service, but still to configure tomcat_home; second, need to see the installation The program is not to register the Tomcat service as a Windows boot service. If you have this option, you set it to manually start, and stop this service first.
[Test]: Use the startup.bat command, after the service is started, IE enters
Http: // localhost: 8080 / If there is a normal kitten page, there should be no problem.
Third, Eclipse 3 installation
Eclipse installation is very simple, just decompressed, then copy the Eclipse directory to the drive letter, when startup, the system will automatically look for JVM, of course, it can be configured later, but it seems to be installed first. JDK. Fourth, Tomcat plugin installation, EMF plugin installation, Lomboz plug-in installation,
These sections are the same, unzip the package, and then copy the directory file to the Feature or PLUGINS directory according to the directory structure inside, so that it will be described in detail below to explain the configuration of Eclipse.
V. Configure Eclipse
1. First, open the configuration interface window-> preferences. If these plugins are successfully installed, there should be Lomboz and Tomcat options in the list. If not, check the steps above it is correct.
Click Java-> Installed JRES, then display it, if it is initially installed, only the first JRE is displayed (don't ask me what is JRE, check the information), it is the system default installed in the C disk, if Multiple JDK is installed in the system, then it is best to create a new one, click Add, then select the JDK location you need to use, then it will automatically look for other parameters, click OK. After returning to the interface, don't forget to select the JDK just added, or it is useless. Then click OK to close this window.
2, open the configuration interface again, click Tomcat Options
Here is the parameters configure Tomcat. According to the version of the Tomcat you install, select Tomcat Version, and find the main directory of the Tomcat. Enter in Tomcat Home, the following parameters will be configured, click Apply. Then select Advanced on the left, and copy Tomcat's home directory in Tomcat Base, click Apply.
Finally, choose JVM Setting on the left, select JRE just added, click Apply, click OK. that's it. Back to the interface, click the icon of the yellow kitten on the toolbar, if the configuration is correct, there should be information to start Tomcat in Console. If so, the Tomcat configuration is successful.
1, Lomboz basically doesn't need to configure, if there is the Lomboz option on the left, it is basically successful. Click Lomboz and then select Tools.jar in JDK just configured so that the configuration is completed. The test method is to create a new JSP file to see if the Script code is specially displayed when the Script code is opened, and the test class is built, see if the JSP is able to automatically reference the functions in the class.