Cainiao settings before JSP development (master-free) ---- mouse notes

Source: Internet
Author: User

As a friend asked me what I had to do before developing jsp (the first choice for SUN Enterprise applications), 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(a very useful jspruntime platform ‑5.0.18.zip ----- tomcat (a very useful JSP running platform) 5 servers
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 debugging jsp (preferred for SUN Enterprise Applications) is more convenient)

My installation directory (customizable ):
C: j2sdk1.4.0 _ 01
C: omcat (a good JSP running platform) 5

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

Tomcat (a very useful JSP running platform)
Edit C: omcat (a good JSP running platform) 5instartup. bat
Join
Set java_home = C: j2sdk1.4.0 _ 01
Set tomcat (a very useful JSP running platform) _ home = c: omcat (a very useful JSP running platform) 5
Set CATALINA_HOME = c: omcat (a very useful JSP running platform) 5

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 _ 01jrelibt. jar
C: j2sdk1.4.0 _ 01libdt. jar
C: j2sdk1.4.0 _ 01libools. jar
C: j2sdk1.4.0 _ 01jrelibextdnsns. jar
C: j2sdk1.4.0 _ 01jrelibextldapsec. jar
C: j2sdk1.4.0 _ 01jrelibextlocaledata. jar
C: j2sdk1.4.0 _ 01jrelibextsunjce_provider.jar
C: omcat (a very useful JSP running platform) 5 commonlibjsp (preferred for SUN Enterprise Applications)-api. jar
C: omcat (a good JSP running platform) 5commonlibservlet-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),
Tomcat (a very useful JSP running platform), the two JAR files should be added by yourself! In addition, jsp (preferred for SUN Enterprise Applications). 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 (a free JSP running platform) will be added (^_^ if necessary)

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.