Today, I want to help a friend write a mail group function in JAVA, the java environment is all gone, because the work needs, recently switched. NET development, almost forget the basic syntax and environment configuration of java. The following is the java environment configuration I recalled. I will record it here to prevent forgetting it. I also hope it can help java beginners. Let's skip the following steps:
1. Set Environment Variables
Set four system environment variables. You can select different configurations based on your JDK and J2sdk:
Classpath =.
Java_home = G: \ Install Program \ JDK \ jdk1.6.0
J2ee_home = G: \ Install Program \ JDK \ j2sdkee1.3.1
Create a new user environment variable:
Path = % java_home % \ bin; % j2ee_home % \ bin;
6.click myeclipseenterpriseworkbenchinstaller_5.0.1ga_e3.2.exe
Pay attention to the first "choose" button, click "choose", and select the path of your eclipse, such as E: \ eclipse
Default value for all remaining parts.
7. Register after installing MyEclipse
Open eclipse and choose "MyEclipse"> "Update submodules"
Input:
Subscriber: www.1cn. biz
Subscriber Code: jLR8ZC-444-55-4467865481680090
Click "finish" to complete registration.
8. install Tomcat web server
The focus is on the second-to-last step: Be sure to select the jdk1.6 path (depending on your environment)
For example, c: \ jdk1.6.0
9. Associate eclipse with tomcat: install tomcat in of eclipse
TomcatPluginV32beta3.zip. After decompression, you can see a folder named com. sysdeo. eclipse. tomcat_3.2.0.beta3. Copy the folder to the eclipse \ plugins folder and restart eclipse to view the three cats.
10. After restarting eclipse, configure the tomcat plug-in of eclipse
Select "window"-> "Preferences"-> click "Tomcat"-> select "Version 5.x"-> Tomcat Home in the single-choice button on the right to select the installation path of your Tomcat., e: \ development \ Tomcat 5.5.
11. Associate MyEclipse with Tomcat.
Select "window"-> "Preferences"-> Expand "MyEclipse"-> Expand "Application Server"-> select "Tomcat 5"-> enter the first text box in the right-side form., enter the actual installation path of Tomcat5.5, for example, E: \ development \ Tomcat 5.5. All text boxes will be automatically generated and completed.