Install and configure myeclipse6.0.1 (built-in eclipse)
1. Download myeclipse 6(myeclipse_6.0.1ga_e3.20.fullstackinstaller.exe)
1. Download myeclipse 6.0.1 all in one at http://www.myeclipseide.com/. the installation package integrates the automatic installation packages of jre5, eclipse3.3.1, and myeclipse6.0.1ga (Windows only ).
2. The installation directory is c: \ J2EE \ myeclipse.
3. myeclipse 6.0.1 registration code:
Subscriber: Administrator
Subscribe code: nLR7ZL-655342-54657656405281154
After registration:
Subscriber: Administrator
Product ID: e2my (myeclipse standard submodules)
License version: 1.0
Full maintenance supported DED
Subpartition expiration date (yyyymmdd): 20091021
Number of license: 897
Install j2sdk1.5(jdk-rj5_0_05-windows-i586-p.exe)
1. my installation directory is j2sdk in c: \ Java \ j2sdk, j2se in c: \ J2EE \ j2se, set system variables (right-click my computer) -> properties-> advanced-> environment variables ):
① (New) java_home: C: \ Java \ j2sdk
② (New) classpath :.; c: \ Java \ j2sdk \ Lib \ DT. jar; C: \ Java \ j2sdk \ Lib \ tools. jar (Note: The dot number cannot be omitted, indicating the current directory)
③ Edit the variable value of path with % java_home % \ bin (Note: Separate them with semicolons)
2. Now, j2sdk installation is complete. Run the following command to test Java-version:
3. Configure j2sdk in eclipse
① Click WINDOW> preferences> JAVA> I Nstalled jres, click ad D button, set JRE name to j2sdk, set JRE home directory to c: \ J2EE \ j2sdk, and click OK.
Install Tomcat 5(jakarta-tomcat-5.5.25.rar)
1. myeclipse 6.0.1 all in one comes with a tomcat 6 by default, but installing an independent version is more helpful for learning.
2. I use jakarta-tomcat-5.5.25.rar. The installation directory is c: \ J2EE \ tomcat.
3. Configure tomcat in eclipse
① Click WINDOW> preferences> myeclipse> servers> Tomcat 5.xand set Tomcat server to enable.
C: \ J2EE \ tomcat, c: \ J2EE \ tomcat, c: \ J2EE \ Tomcat \ Temp, and the application is ready.
② Click window-> preferences-> myeclipse-> servers-> tomcat-> Tomcat 5. X-> JDK, and select j2sdk In the Tomcat JDK name drop-down box to apply the application.
Myeclipse6 comes with Eclipse, so after myeclipse6 is installed, you do not need to install eclipse any more.