Java EE SDK 1.4+resin 2.1.16 installation process

Source: Internet
Author: User
Tags modify variables variable
j2ee| Process 1. First to http://java.sun.com/j2ee/1.4/download.html download Java EE SDK 1.4 installation files


2. Then to http://www.caucho.com/download/index.xtp download Resin 2.1.16


3. Install the JDK to the computer! Follow the prompts to the next step can be successfully installed.


4. Extract Resin compression package to just install the Java EE SDK Directory \sun directory, compression package default decompression directory for \sun\resin2.1.16, by renaming the later version number removed (of course, not renamed also line, just use up a bit of trouble)


5. Right-click on My Computer =>[properties]=>[advanced]=>[environment variable], in the system variable to create or modify the following three system variables, the first path directly modify the line!


Path=%java_home%\bin;%java_home%\jre\bin


JAVA_HOME=C:\SUN\APPSERVER\JDK


Classpath=.\;%java_home\lib\tools.jar;%java_home\lib\dt.jar


6. In the operation of the input cmd, into the System DOS command mode, into the \sun\resin\bin directory to run


C:\sun\resin\bin>httpd-install


This will install Resin installed into a system service, after the boot will be shipped from the shipment.


7. Test JAVASDK Whether the installation is successful, in the DOS command window run Java or JAVAC, do not prompt error on the OK!


or run C:\>set
under the DOS command window

look at the system's variables have not set the following content correctly!


Path=%java_home%\bin;%java_home%\jre\bin


JAVA_HOME=C:\SUN\APPSERVER\JDK


Classpath=.\;%java_home\lib\tools.jar;%java_home\lib\dt.jar


8. To the Control Panel => performance and maintenance => management Tools => Services View the "Resin Web Server" This item is not shipped, if not, of course, the shipment of it!


9. Open the URL in IE http://localhost:8080 should be able to see the Resion directory (that is, the C:\Sun\resin\doc directory of the home page file


10. Resin's settings are in C:\Sun\resin\conf\resin.conf


includes setting the home page: Find INDEX.XTP, after you see INDEX.XTP, you can add index.html or other page files later


set the home directory for the site: Find Doc-dir, and you can set the home directory in <doc-dir> your home page directory </doc-dir>!





If there is unknown, you can add me qq:23455581 asked me!





Why not install Resin 3.0? This is because in many JSP applications, the use of version 3.0 will appear a lot of problems, such as the database connection full, can not open the page (may be 2.1 old version of the upgrade to 3.0 reasons) and so on, so, or with a stable point of the 2.1 version bar! Anyway, the speed of the Java decision lies in Javasdk, Resin is just a container!

















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.