Scientific linux build jdk myeclipse tomcat environment

  
 

System environment: scientific linux 6.0

Software version:

[MyEclipse.8.0.GA].myeclipse-8.0.0-linux-gtk-x86.tgz

apache-tomcat-6.0.32-src.tar.gz

jdk-6u24-linux-i586-rpm.bin

jdk bin file installation configuration:

Chmod +x software name.rpm.bin #authorization

./software name.rpm.bin #install, I install directly in the user plus directory, you do not need to configure environment variables, if not, you must manually Set the environment variable: vim /etc/profile

To make the JDK available to all users, you can do this:

vi /etc/profile.d/java.sh

Enter the following in the new java.sh:

#set java environment

JAVA_HOME=/usr/java/jdk-1.6.0_24

CLASSPATH=.: $JAVA_HOME/lib/tools.jar

PATH=$JAVA_HOME/bin:$PATH

export JAVA_HOME CLASSPATH PATH

Save and exit, then assign permissions to java.sh: Chmod 755 /etc/profile.d/java.sh

After installing jdk, you can install MyEclipse;

tar zxvf [MyEclipse.8.0.GA].myeclipse-8.0.0- Linux-gtk-x86.tgz

cd Enter the solution After the folder, double-click to run myeclipse-8-stable-installer to OK

Last configuration tomcat:tar zxvf apache-tomcat-6.0.32-src.tar.gz

and then open MyEclipse In window => preferences (the bottom option for service configuration)

Remember to install the package to be authorized +X;

Copyright © Windows knowledge All Rights Reserved