Cainiao settings before JSP development

Source: Internet
Author: User

Author: danielmouse

As a friend asked me what I had to do before developing JSP, I wrote this article.
If you have any mistakes, please correct them and don't flat me! :)

Preparation software:
J2sdk-1_4_0_01-windows-i586.exe ----- jsdk java Development Kit
Jakarta-tomcat-5.0.18.zip ----- TOMCAT5 Server
Jcpro300.zip ----- JCREATOR3.0 JAVA compilation tool
J2sdk is required, and the other two are optional. I heard that Eclipse and Lomboz are also good (Eclipse is IDE,
That is, the integrated development environment. Lomboz is a plug-in of Lomboz. It is said that it is more convenient to debug JSP)

My installation directory (customizable ):
C: \ j2sdk1.4.0 _ 01
C: \ tomcat5

Specific settings (win2000 pro ):
JSDK & tomcat
My computer/properties/advanced/Environment Variables
System variable Path
Add the variable value to C: \ j2sdk1.4.0 _ 01 \ bin; C: \ tomcat5 \ bin (add before this sentence; end the previous statement)
Create a new system variable named CLASSPATH
Variable value: C: \ tomcat5 \ common \ lib;.; C: \ j2sdk1.4.0 _ 01 \ lib ;.
(Don't forget to add it later. Oh !!)

Tomcat
Edit C: \ tomcat5 \ bin \ startup. bat
Join
Set java_home = C: \ j2sdk1.4.0 _ 01
Set tomcat_home = c: \ tomcat5
Set CATALINA_HOME = c: \ tomcat5

JCreator
Menu Configure/options
Click JDK Profiles on the left menu.
Double-click j2sdk1.4.0 _ 01)
Home path is the JSDK path
Classes is a class file package.
Click ADD, add path to ADD directory PATH, and add archive to ADD File
The file to be added is as follows:
C: \ j2sdk1.4.0 _ 01 \ jre \ lib \ rt. jar
C: \ j2sdk1.4.0 _ 01 \ lib \ dt. jar
C: \ j2sdk1.4.0 _ 01 \ lib \ tools. jar
C: \ j2sdk1.4.0 _ 01 \ jre \ lib \ ext \ dnsns. jar
C: \ j2sdk1.4.0 _ 01 \ jre \ lib \ ext \ ldapsec. jar
C: \ j2sdk1.4.0 _ 01 \ jre \ lib \ ext \ localedata. jar
C: \ j2sdk1.4.0 _ 01 \ jre \ lib \ ext \ sunjce_provider.jar
C: \ tomcat5 \ common \ lib \ jsp-api.jar
C: \ tomcat5 \ common \ lib \ servlet-api.jar

Generally, after JCreator is installed for the first time, it requires you to set something.
The J2SDK directory will be found to help you add the above (just set JCREATOR),
The two JAR files of TOMCAT need to be added by yourself! In addition, jsp. jar and servlet. jar mentioned in many books
The two files I added above may have different versions, so the name is changed :)

OK! After completing the above settings, the basic settings have been completed. Just give it a try!

By the way, if necessary, some settings of WebLogic8.1 and Resin will be added (^_^ if necessary)

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.