Building the Java Compilation environment

Source: Internet
Author: User

First, in the environment variable:

classpath
C:\Sun\AppServer\jdk\lib\tools.jar;C:\Sun\AppServer\jdk\lib\dt.jar;
C:\Sun\AppServer\jdk\lib\bin;C:\Sun\AppServer\jdk\lib\ant\bin;
c:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;
C:\Sun\AppServer\jdk\lib\tools.jar;C:\Sun\AppServer\jdk\lib\dt.jar;
C:\Sun\AppServer\jdk\jre\lib\ext\jtds-0.7.1.jar;
java_home
C:\Sun\AppServer\jdk
PATH
C:\Sun\AppServer\jdk\bin;D:\apache-ant-1.6.1\bin;
ANT_HOME
d:\apache-ant-1.6.1

Second, eclipse its language pack installation

First step: Decompress. First turn off eclipse, then unzip the downloaded language compression pack, and then give this folder a slightly simpler directory name (my name is: eclipse2.1.2.1language). The entire directory is then copied to the entire Eclipse directory after C:\eclipse2.1.3\eclipse

Step Two: Create the link file. Create a new folder links under C:\eclipse2.1.3\eclipse, and then create a new text file in the links directory, with the filename and extension (my name Language.link). Then add a line of text to the file: Path=eclipse2.1.2.1language

Note: The path separator consists of two backslashes.

Iii. Eclipse+tomcat Integrated Development servlet

Get ready:

1. Tomcat4.0

2. Jdk1.4

3. Eclipse2.1.3

4. Eclipse's Tomcat plugin downloads in Http://www.sysdeo.com/eclipse/tomcatPluginV21.zip

Installation:

1. Install jdk1.4

2. Install Tomcat4.0

3. Install Eclipse2.0, unzip it.

4. Unzip the Tomcatpluginv21.zip and copy the Com.sysdeo.eclipse.tomcat folder to the plugins directory in the Eclipse installation directory.

Configuration:

1. Start eclipse

2. Open Menu Windows->preferences

3. Select Tomcat on the left, and you can see some forms on the right

4. Tomcat version chooses version 4.1.x,tomcat home to select the Tomcat installation path, and Configuration file automatically fills in the Tomcat profile Server.xml

5. Expand the Tomcat menu on the left, select the JVM SETTINGS,JRE Select the detected VM,

6. Press Apply

7. Press OK

8. Look at your toolbar is not a few more kittens icon, if not, select the menu Windows->custmize perspective, expand the other option, tick on Tomcat, OK, see the Kitten's icon did not.

9. Try the Start Tomcat button, OK, and Tomcat starts up in the console.

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.