Configuration of environment variables for Eclipse, myeclipse, and tomact

Source: Internet
Author: User
Introduction, so I chose one carefully, haha. It is absolutely easy to understand and I hope it will help you! Myeclipse is a plug-in of eclipse. Therefore, you must install eclipse before installing myeclipse.
Myeclipse is a compiler. To use a Java program, you must configure basic JDK environment variables.
1. Install JDK

First download JDK 5.0 (JDK 5.0 download page: http://java.sun.com/j2se/1.5.0/download.jsp); then run JDK 5.0installer jdk-rj5_0_06-windows-i586-p.exe, all options remain default during installation; finally configure JDK environment variables: right-click "my computer" and choose "properties"> "advanced"> "environment variable (n )".

Create a system variable java_home: C:/program files/Java/jdk1.5.0 _ 06;

New system variable classpath:.; % java_home %/LIB; (Note: The dot number indicates the current directory and cannot be omitted)

Add the following content before the path value of the system variable: % java_home %/bin; (Note: The semicolon here cannot be omitted)

Here, JDK installation is complete.

Note: If you want to install integrated development environments such as Eclipse, Borland JBuilder, jcreator, and intellij idea (IDE, integrated development environment) in the future, compile and run a simple helloworld program in the IDE, to ensure that the IDE can identify the JDK location.

Ii. install Tomcat

The download page of the secret is:

Http://apache.linuxforum.net/tomcat/tomcat-5/v5.0.30/bin );

Then, unzip jakarta-tomcat-5.0.30.zip to the root directory of drive D:

Finally, configure the Tomcat environment variable: Right-click "my computer" and choose "properties"> "advanced"> "environment variable (n )".

New system variable catalina_home: D:/jakarta-tomcat-5.0.30

Add % catalina_home %/common/lib to the value of the system variable classpath;

Add the following content to the path value of the system variable "% java_home %/bin;": % catalina_home %/bin;

At this point, tomcat installation is complete.

After completing step 1 and step 2, the values of the system variables are as follows:

Java_home: C:/program files/Java/jdk1.5.0 _ 06
Catalina_home: D:/jakarta-tomcat-5.0.30
Classpath:.; % java_home %/LIB; % catalina_home %/common/LIB;
Path: % java_home %/bin; % catalina_home %/bin; % SystemRoot %/system32; % SystemRoot %/system32/WBEM

3. Install eclipse

First download eclipse-sdk-3.1.2-win32.zip(eclipse-sdk-3.1.2-win32.zip:

Http://www.eclipse.org/downloads );

Then, unzip eclipse-sdk-3.1.2-win32.zip to the root directory of drive D:

Here, eclipse installation is complete.

4. Install myeclipse

The first download of the unzip iseworkbenchinstaller_4.1.1ga_e3.1.exe(iseworkbenchinstaller_4.1.1ga_e3.1.exe is:
Http://www.myeclipseide.com/ContentExpress-display-ceid-10.html );

Then install enterpriseworkbenchinstaller_4.1.1ga_e3.1.exe. Note: select the installation path of eclipse during installation, and keep other options as default.

After installation, overwrite the features and plugins directories under the myeclipse installation directory to the eclipse installation directory.

Finally, uninstall the installed myeclipse.

To explain the reason for this: Because myeclipse is the Eclipse plug-in, eclipse will automatically recognize these plug-ins as long as the features and plugins directories are overwritten to the eclipse installation directory.

Here, myeclipse is installed.

5. Crack myeclipse

Run myeclipse4.1.1registration machine myeclipsekeygen.exe, select the version number of myeclipse, enter the registration name, and generate the serial number. (Myeclip ** 4. * Registration machine:

Http://esoft.g8.com.cn/UploadFiles/2006-5/520753587.rar)

Run eclipse.exe (specify the workspace for the first time), click window ----> preferences ----> myeclipse ----> subscribe ----> enter subscribe, and enter the registration name and the registration code generated by the Registration machine.

Here, myeclipse has been cracked.

6. Specify the JRE of eclipse + myeclipse
1. Set the JRE of eclipse + myeclipse

In general, eclipse can automatically find JRE, so we don't need to make too many settings.

At this point, our eclipse + myeclipse development environment has been set up!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.