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.