Install a series of things related to java Development in linux
Source: Internet
Author: User
Install a series of things related to java Development in linux-general Linux technology-Linux programming and kernel information. For more information, see the following. Install jdk1.6.0 _ 01
1. decompress the file
Sudo tar-xzvf file name/usr/local/
2. configuration file/etc/profile
Sudo vim/etc/profile
Add
Export JAVA_HOME =/usr/local/jdk1.6.0 _ 01
Export JRE_HOME =/usr/local/jdk1.6.0 _ 01/jre
Export CLASSPATH =.: $ JAVA_HOME/lib: $ JRE_HOME/lib: $ CLASSPATH
Export PATH =.: $ JAVA_HOME/bin: $ JRE_HOME/bin: $ PATH
Install eclipse
1. decompress the file, which can be used. It is recommended to put it in/usr/local/
Sudo tar-xzvf file name/usr/local/
Click eclipse in the eclipse folder.
2. Add eclipse to programming under the desktop menu Application
Create eclipse. desktop in/usr/share/applications
[Desktop Entry]
Name = Eclipse
Comment = Eclipse Development
Exec =/usr/local/eclipse
Icon =/usr/local/eclipse/icon. xpm
Terminal = false
Type = Application
Categories = GNOME; GTK; Application; Development;
Sudo vim/usr/local/applications/eclipse. desktop
Install tomcat (apache-tomcat-5.5.16)
1. decompress the file, which can be used. It is recommended to put it in/usr/local/
Sudo tar-xzvf file name/usr/local/
2. Open tomcat
Cd/usr/local/apache-tomcat-5.5.16/
Sudo./startup. sh
Using CATALINA_BASE:/usr/local/apache-tomcat-5.5.16
Using CATALINA_HOME:/usr/local/apache-tomcat-5.5.16
Using CATALINA_TMPDIR:/usr/local/apache-tomcat-5.5.16/temp
Using JRE_HOME:/usr/local/jdk1.6.0 _ 01/jre is normal
3. Disable tomcat
Sudo./shutdown. sh
Install MyEclispe (the installation file is MyEclipse_5_1_1GA_Installer.bin)
Add execution permission and install
Enter the directory where MyEclipse_5_1_1GA_Installer.bin is located.
Sudo chmod a + x MyEclipse_5_1_1GA_Installer.bin
Sudo./MyEclipse_5_1_1GA_Installer.bin
During installation, select the eclipse location and MyEclipse_5_1_1GA_Installer.bin installation location (/usr/local)
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.