JDK, Apache, and Tomcat are successfully completed in Redhat9.

Source: Internet
Author: User
Previously, in RedHat9, the JAVA environment variables were always variable. The download finally completed the gedit/etc/profile and added the following at the end: doneexportJAVA_HOME = '/usr/jdk1.5.0 _ 04' exportPATH = $ JAVA_HOME/bin; $ PATHexportCLASSPATH = $ CLASSPATH; $ JAVA_HOME/lib; $ JAVA_HOME/jre/

Previously, in RedHat9, the JAVA environment variables were always fixed. The download was finally completed.

Add gedit/etc/profile at the end as follows:

Done

Export JAVA_HOME = '/usr/jdk1.5.0 _ 04'

Export PATH = $ JAVA_HOME/bin; $ PATH

Export CLASSPATH = $ CLASSPATH; $ JAVA_HOME/lib; $ JAVA_HOME/jre/lib

Unset I

Or

Done

Export JAVA_HOME = '/usr/jdk1.5.0 _ 04'

Export PATH = $ JAVA_HOME/bin; $ PATH

Export CLASSPATH =.; $ JAVA_HOME/lib/rt. jar; $ JAVA_HOME/lib/tools. jar

Unset I

Either method works, but we still get used to the same 2nd methods as WIN.

Finally settled ....

Tomcat eclipse can be used only when environment variables are configured. Configure Tomcat, which has been installed for N years and has never been used. decompress it with tar-xzvf and run it in the bin directory. /startup, I set it to 8080, so I can see it at http: // 127.0.0.1: 8080. After the installation is complete, the usage is almost the same as that of WIN.

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.