Installation and configuration of eclipse + Tomcat + lomboz

Source: Internet
Author: User

Installation and configuration of eclipse + Tomcat + lomboz

I recently started to learn java. I used eclipse as a development tool and referenced some configuration materials on the Internet through some online materials and introduction of prawns in the Forum, now I have compiled the installation and configuration instructions for eclipse + Tomcat + lomboz. I hope it will be helpful for beginners like me. I hope you will discuss how to use it later. (The Environment configured in this article is Win2000/xp. For 98 users, refer to other materials on the Internet .)

1. Software Download:
1. Java
Jdk1.4.2 is used here.
: Http://dlc.sun.com/jdk/j2sdk-4154_2_07-windows-i586-p.exe;
2. Tomcat
Here, the tomcat version is 5.0, and the installation version or decompression version is acceptable.
: Http://apache.linuxforum.net/dist/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat-5.0.28.exe

3. Eclipse
Develop ide eclipse-SDK-3.0.1-win32.zip
: Http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.0.1-200409161125/download.php? Dropfileappseclipse-sdk-3.0.1-win32.zip
Language Pack NLpack-eclipse-SDK-3.0.x-win32.zip
: Http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/L-3.0.1_Translations-200409161125/NLpack-eclipse-SDK-3.0.x-win32.zip

4. Tomcat plug-in
Tomcatpluginv3.zip (check whether the plug-in is applicable to the eclipse version before downloading)
: Http://www.sysdeo.com/eclipse/tomcatPluginV3.zip

5. lomboz plug-in
The lomboz plug-in requires two parts to be downloaded: one is the EMF environment and the other is the lomboz plug-in.
: Http://eclipse.mirrors.tds.net/tools/emf/downloads/drops/2.0.1/R200409171617/emf-sdo-runtime-2.0.1.zip
: Http://download.forge.objectweb.org/lomboz/org.objectweb.lomboz_3.0.1.N20050106.zip

Ii. software installation:
1. Java installation
Run the executable file j2sdk-00004_2_07-windows-i586-p.exe,
After the installation is complete, you need to configure the environment variables. Choose my computer> Properties> advanced> environment variables> system variables to add the following environment variables.
Classpath: % java_home %/LIB; % tomcat_home %/common/lib
Java_home: C:/j2sdk1.4.2
Path: % SystemRoot %/system32; % SystemRoot %/system32/WBEM; C:/program files/ATI Technologies/ATI Control
Panel; % java_home %/bin; % tomcat_home %/bin

2. tomcat installation

You can decompress the decompressed version directly, and then configure the environment variable tomcat_home = C:/program files/Apache Software Foundation/tomcat 5.0. Pay attention to the two points when installing the version, one is that the Tomcat service can be started after installation, but you still need to configure Tomcat _home; the other is to check whether the installation program registers the Tomcat service as a Windows Startup service, you need to check in "service". If this option is available, set it to manual start and stop the service first.
[Test]: run the startup. Bat command. After the service is started normally, enter
Http: // localhost: 8080/If a normal kitten page appears, it should be okay.

3. Install eclipse
Eclipse installation is very simple. You only need to decompress the package and copy the eclipse directory to the drive letter. at startup, the system will automatically find the JVM. Of course, you can configure it later, however, it seems that JDK must be installed first. I put it in D:/eclipse.

4. Tomcat plug-in installation, EMF plug-in installation, lomboz plug-in installation,
Unzip tomcatpluginv3.zip and copy the com. sysdeo. Eclipse. tomcat_3.0.0 folder to D:/Eclipse/plugins.
Decompress the EMF plug-in and lomboz plug-in and copy the feature and plugins directories to D:/Eclipse /.

Iii. Eclipse Configuration
1. Installed jres Configuration
Choose WINDOW> preferences on the configuration page. If these plug-ins are successfully installed, the lomboz and tomcat options should be included in the list on the left. If not, check whether the preceding steps are correct.
Click Java-> installed jres, and the following figure is displayed. For initial installation, only the first JRE is displayed, which is the default JRE installed on drive C, if multiple jdks are installed in the system, you 'd better create one. Click Add and select the JDK location you want to use. Then, it will automatically search for other parameters and click OK. After returning to the interface, do not forget to click the JDK you just added. Otherwise, it will be useless. Click OK to close the window.

2. tomcat configuration
Here is the configuration of Tomcat parameters. Based on the tomcat version you have installed, select tomcat version. However, you can find the main directory of Tomcat and enter it in Tomcat home. The following parameters are automatically configured, click Apply. Select "advanced" on the left, copy the main directory of Tomcat to Tomcat base, and click "Apply.
Select JVM setting on the left, select the newly added JRE, click Apply, and click OK. In this way, you can. Return to the interface and click the yellow kitten icon on the toolbar. If the configuration is correct, the Tomcat startup information should be displayed on the console. If yes, tomcat configuration is successful.

3. lomboz Configuration
Basically, no configuration is required. If the lomboz option is available on the left, it will basically succeed. Click lomboz and select Tools. jar in the JDK Just configured. The configuration is complete. The test method is to create a JSP file to check whether the script code is specially displayed when it is opened, and create a test class to see If JSP can automatically reference functions in the class.

Well, the above is the procedure for successful configuration. If you have any questions, please contact us.

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.