I have finally found the way online in the past few days ago!

xiaoxiao2021-03-06  14

Today, I successfully integrated the Eclipse development platform in Redhat Linux 9, including:

Tomcat 5.0.27

Lomboz 3.0.1

EMF 2.0

Mysql 4.0

Eclipse 3.0

J2SDK1.4.2_05

Of course, there is some unclear trouble:

1. JDK: Because the speed of download on the Sun website is too slow, J2SDK1.4.2 is on the Huajun Software Garden, and the speed is fast, but it can't set a good environment variable after installation in Linux. Finally, J2SDK1.4.2_05 is over the Sun website, and a few lines of code in / etc / profile are easy to get it.

2. MySQL: Unlike the mysql version under Windows, the RPM file is successfully installed in Linux, and the various components of MySQL are scattered in several directories, that is, there is no Mysql home directory. Another point, under Linux, there are two RPM files to be installed, namely: Server and Client. These two points have caused me a lot of trouble, so I am more resistant :)

Specific steps:

1. Use all installation files to / root directory.

2, install Tomcat:

TAR ZXF JAKARTA-TOMCAT-5.0.27.TAR.GZ generates /Root/jakarta-tomcat-5.0.27 directory.

3, install JDK:

Double-click J2SDK-1_4_2_05-Linux-i586.bin to generate the /root/j2sdk1.4.2_05 directory.

Open / etc / profile, add the following code:

Export java_home = / root / j2sdk1.4.2_05

Export catalina_home = / root / jakarta-tomcat-5.0.27

Export classpath = / root / jakarta-tomcat-5.0.27 / common / lib / j2ee.jar: / ROOT/J2SDK1.4.2_05/lib: /root/j2sdk1.4.2_05/jRE/LIB :.

Export Path = $ PATH: /ROOT / J2SDK1.4.2_05/bin: /root/j2sdk1.4.2_05/jre/bin

4, open the terminal, type the javac command, test whether JDK is successfully installed.

5, install mysql:

RPM-IVH mysql-server-4.0.20-0.i386.rpm

RPM-IVH mysql-client-4.0.20-0.i386.rpm

Turn on the terminal, type / usr / bin / mysql, and test whether the mysql installation is successful.

6, install Eclipse:

Unzip -d. Eclipse-sdk-3.0-linux-gtk.zip

Install the Eclipse plug-in to / root / eclipse with unzip -d ??? Commands. The list of plugins is as follows:

XMLBuddy_2.0.10.zip

TomcatPluginv3.zip

Emf-sdo-runtime-2.0.01.zip

Lomboz.301.zip

7. Start Eclipse and further configure it in Windows-> Preferences.

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

New Post(0)