The title of this thesis is based on MPEG-7 video key frame feature extraction algorithm research, it needs a demo, need to build on the Web service system and JSP dynamic page as an interface. After consideration, decided to use the now very popular Java development platform Eclipse and the more convenient JSP container ――TOMCAT server as a development tool. However, the configuration and use of these two software is not as convenient and simple as the commercial javaide such as Jbulider, and there are not many Chinese books about the configuration method. After a period of exploration, as well as on the internet to collect data, many times the practice, and finally the two software configuration succeeded, and the implementation of a simple JSP dynamic page of the compilation, for the future of the system to create conditions. Now the specific process records are as follows (the software version installed below is the latest or stable version of today):
A Download
J2SDK Download
Http://java.sun.com/j2se/1.4.2/download.html
Download version is j2sdk-1_4_2_08
Eclipse Downloads
http://www.eclipse.org/downloads/index.php
Download version is Eclipse-sdk-3.0.2-win32
Eclipse Plugin Download
Chinese Package:
http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/L-3.0.1_Translations-200409161125/ Nlpack-eclipse-sdk-3.0.x-win32.zip
Tomcat Plug-in Sysdeoeclipsetomcatlauncherplugin:
Http://www.sysdeo.com/eclipse/tomcatPluginV3.zip
Tomcat download
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi
Download version is jakarta-tomcat-5.0.28
Two Installation
1. Install J2SDK First
I install the path is: D:\PRogram files\java\j2sdk
2. Install Eclipse again
Eclipse is green software and does not need to be installed, unzip the downloaded Eclipse compression pack.
The path I install is: D:\Program files\java\eclipse
3. Install Tomcat
Download back is a setup file, follow the installation prompts to do it
The path I install is: D:\Program files\java\tomcat
4. Install Eclipse Plugin
Chinese bag
Extract the contents of the features and plugins two folders directly from the compressed package into a folder with the same name in the Eclipse folder Nlpack-eclipse-sdk-3.0.x-win32
Tomcat Plug-in
Unzip the compressed package tomcatPluginV3 and unzip the contents of the Plugins folder into the folder with the same name in the Eclipse folder.
Three Environment configuration
1. System environment Variable Configuration
Right-click My Computer-> advanced-> environment variable,
Set the Java_home variable to point to its installed directory "D:\PRogram FILES\JAVA\J2SDK";
The tomcat_home variable points to its installed directory "D:\Program Files\java\tomcat";
The path variable contains "%JAVA_HOME%\BIN;" ;
Classpath variables contain "%JAVA_HOME%\LIB\TOOLS.JAR;" ;
Configuration of Java Runtime Environment in 2.eclipse
In the Eclipse main window, the Windows-> Preferences->java-> the installed JRE, select the J2SDK that we have installed
3. Configure the Sysdeotomcat plugin
In the Eclipse Main window, window-> preference->tomcat,tomcat version version 5.x (our version installed), Tomcat home fills us with the path of Tomcat installation, this is D:\ Program Files\java\tomcat.
Switch to the advanced option, and then fill in the Tomcat base where we install Tomcat, which is D:\Program files\java\tomcat.
Switch to the JVM setting option to make sure the JRE is the J2SDK version you have installed, and we choose J2SDK here.
Switch to Tomcat manger App to add a user to the admin interface.
Finally press the Apply button and then in the OK.
Check that the configuration is successful simply by pressing the Tomcat button in the Eclipse main window and then typing http://localhost:8080 in the address bar in the browser, which proves that the configuration was successful if the Tomcat page appears.