[Original] Install JDK + Tomcat + Eclipse in Fedora Core 2

xiaoxiao2021-03-06  105

Prepare the installation file:

TomcatPlugin v3.0http://www.sysdeo.com/eclipse/tomcatplugin.html

Lomboz v3.01 emf-sdo-runtime-2.0.0http: //www.objectLearn.com/projects/download.jsp

Tomcat 5.0.27struts 1.1Http://jakarta.apache.org

Jdkhttp://java.sun.com

Eclipse SDK 3.0 ReleaseHttp://www.eclipse.org/downloads/index.php

New Home / Project Directory, place all installation files below, including:

[root @ localhost root] # CD / home / project [root @ localhost project] #

JDK under Linux: [root @ localhost project] # chmod x j2sdk-1.4.2_05-linux-i586-rpm.bin [root @ localhost project] # ./j2sdk-1.4.2_05-linux-i586-rpm.bin [root @ localhost project] # rpm -iv j2sdk-1_4_2_05-linux-i586.rpmjdk will be installed in /usr/java/j2sdk1.4.2_05/ [root @ localhost project] # ln -s / usr / java / j2sdk1 . 4.2_05 / home / j2se

LINUX Install Tomcat 5.0.27 [root @ localhost project] # tar zxvf jakarta-tomcat-5.0.27.tar.gz [root @ localhost project] # ln -s /home/project/jakarta-tomcat-5.0.27 / HOME / Tomcat

Set environment variables:

[root @ localhost project] # gedit / etc / profile Add to code in / etc / profile:

export JAVA_HOME = / home / j2seexport CATALINA_HOME = / home / tomcatexport PATH = $ PATH: $ JAVA_HOME / bin: $ CATALINA_HOME / bin export CLASSPATH = $ CLASSPATH:.: $ JAVA_HOME / lib / tools.jar: $ JAVA_HOME / lib / dt .jar: $ catalina_home / common / lib / servlet-api.jar: $ catalina_home / common / lib / jsp-api.jar

Installing Eclipse SDK 3.0 Release and Plugin under Linux [root @ localhost project] # unzip -d .. Eclipse-sdk-3.0-linux-gtk.zip [root @ localhost project] # unzip -d / home / eclipse Lomboz.301 .zip [root @ localhost project] # unzip -d / home emf-do-runtime-2.0.0.zip [root @ localhost project] # unzip -d / home / eclipse / plugins / tomcatpluginv3.zip Install struts, source code, Document: [Root @ localhost project] # tar zxvf jakarta-struts-1.1.tar.gz [root @ localhost project] # tar zxvf jakarta-struts-1.1-src.tar.gz [root @ localhost project] # unzip -d / home / j2se j2sdk-1.4.2-documentation.zip [root @ localhost project] # unzip -d / home / j2se j2sdk-1.4.2-documentation.zip [root @ localhost project] # unzip -d / home / j2se j2eeri-1_4-doc-api.zip [root @ localhost project] # cd .. [root @ localhost home] # cd j2se [root @ localhost j2se] # ls -a. bin docs lib README THIRDPARTYLICENSEREADME.txt .. COPYRIGHT include License readme.htmlapidocs demo jre man src.zip [root @ localhost j2se] # mv apidocs / j2eedocs / [root @ localhost j2se] # CD / HO ME / Project Set the Eclipse launcher in the drawer on the panel:

Start Eclipse:

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

New Post(0)