Step 1: Install MyEclipse
Find the MyEclipse executable file (for example, its location is /root/MyEclipse) and enter the command in the terminal program. The process is as follows:
MyEclipse# sh MyEclipseEnterpriseWorkbenchInstaller_5_0_1GA_E3_2.bin
MyEclipse# export CLASSPATH=/tmp/install.dir.6453/InstallerData:/tmp/install.dir.8487/InstallerData/installer.zip:
MyEclipse# /opt/sun-jdk-1.5.0.12/bin/java -Xmx268435456 -Xms67108864 com.zerog.lax.LAX /tmp/install.dir.6453/temp.lax
Subsequently, the MyEclipse installation interface will appear. Follow the prompts step by step until completion.
Note: The install.dir.6453 here depends on the individual machine and must be consistent with the install.dir.6453 generated by the previous command.
Step 2: Configure MyEclipse
Restart Eclipse, and you can see that there is an additional "MyEclipse" menu item on the window menu. In order to better use MyEclipse, it can be configured.
1) Click MyEclipse → Update Subscription and enter the Subscriber and Subscriber Code of MyEclipse.
2) Open window→Preferences→java→Editor→Installed JREs, add the path to the JDK, and name the JDK sun-jdk.
2) Add tomacat server. Click the "Window→Preferences" menu→MyEclipse→Application Server→Tomcat 5 option and enter the path of Tomcat 5.
Among them, tomcat home directory--- refers to the path of tomcat's bin
tomcat base directory---refers to the path of tomcat's webapps
tomcat temp directory---refers to the path of tomcat's temp
4) Open the path of sun-jdk pointed by JDK. Expand tomcat-5 and you will see the JDK selection. Click it and select the path to the JDK you want to point to.
In this way, you can run Web Project.