Ubuntu13.04 configure the MyEclipes10.7 Environment

Source: Internet
Author: User
Configure the MyEclipes10.7 environment notes in Ubuntu13.04. Preparation: JDK: http://www.Oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.htmlMyEclipse:http://www.myeclipseide.com/module-htmlpages-d

Configure MySQL 13.04 environment notes in Ubuntu 10.7.

Preparation:

JDK: http://www.Oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

MyEclipse: http://www.myeclipseide.com/module-htmlpages-display-pid-4.html

1. Enable the root account

1. ubuntu disables the root account by default for security reasons. Before enabling the root account, you must set a password for it. Ctrl + Alt + T call out the terminal: sudo passwd root, enter the password three times (the first current user password and the second root account password ).

Reference: Setting the root password http://www.linuxidc.com/Linux/2014-04/100489.htm after Ubuntu Installation

2. log on to the root account: su root enter the password you just set

3. Switch to the lightdm Directory: cd/etc/lightdm/, and back up the lightdm. conf file: cp-p lightdm. conf lightdm. conf. bak

4. Edit lightdm. conf: sudo gedit lightdm. conf and add the following sentence at the end: greeter-show-manual-login = true.

Restart now. Log On with the username root.

There may be no sound after the root login, because the root login pulseaudio is not started. solution:

1. Add root to the pulse-access group: usermod-a-G pulse-access root

2. start pulseaudio: pulseaudio -- start -- log-target = syslog

Ii. Configure JDK
 
1. Move the downloaded jdk-7u17-linux-i586.tar.gz to the installation directory/usr
 
2. Switch to the/usr Directory: cd/usr, unzip jdk: sudo tar-zxvf jdk-7u17-linux-i586.tar.gz
 
3. Configure the environment variable sudo gedit/etc/profile like Windows. Add the following statement at the end of the file (confirm your path ):

Export JAVA_HOME =/usr/jdk1.7.0 _ 17
Export JRE_HOME =/usr/jdk1.7.0 _ 17/jre
Export PATH = $ JAVA_HOME/bin: $ JAVA_HOME/jre/bin: $ PATH
Export CLASSPATH = $ CLASSPATH:.: $ JAVA_HOME/lib: $ JAVA_HOME/jre/lib
 
4. Make the modified profile take effect immediately (!!! Important):/etc/profile
 
5. modify the system's default JDK to make it take effect immediately (confirm your path ):


Sudo update-alternatives -- install "/usr/bin/java" "java" "/usr/jdk1.7.0 _ 17/bin/java" 300
Sudo update-alternatives -- install "/usr/bin/javac" "javac" "/usr/jdk1.7.0 _ 17/bin/javac" 300
Sudo update-alternatives -- install "/usr/bin/javaws" "javaws" "/usr/jdk1.7.0 _ 17/bin/javaws" 300
Sudo update-alternatives -- config java
Sudo update-alternatives -- config javac
Sudo update-alternatives -- config javaws

6. It has been basically completed by now. You can verify it: java-version
 
 
3. Install MyEclipse 10.7

1. Switch to the path of MyEclipse (confirm your path): cd/home/hans/Documents

2. Set the execution permission of MyEclipse. run to install sudo chmod + x myeclipse. run.

3. Start the Myeclipse graphical installation interface: sudo sh myeclipse. run is similar to Windows next. I set the installation path to/usr. After installation is complete, do not start
 
4. Attach the root permission to MyEclipse:

Cd/usr
Root: root MyEclipse
Sudo chmod-R + r MyEclipse
Cd 'myeclipse/MyEclipse 10 /'
Sudo chown-R root: root myeclipse
Sudo chmod-R + r myeclipse
 
5. Create the MyEclipse execution file: sudo gedit/usr/bin/MyEclipse. Add the following content in the edit window:

Export MYECLIPSE_HOME = "/usr/MyEclipse 10/myeclipse"
$ MYECLIPSE_HOME/myeclipse $ *
 
6. Set the MyEclipse File Permission: sudo chmod 755/usr/bin/MyEclipse
 

7. Add the MyEclipse shortcut in Dash Home: sudo gedit/usr/share/applications/MyEclipse. desktop. Add the following content to the open Editor (confirm your path ):

[Desktop Entry]
Encoding = UTF-8
Name = MyEclipse 10
Comment = IDE for JavaEE
Exec =/usr/MyEclipse \ 10/myeclipse
Icon =/usr/MyEclipse \ 10/icon. xpm
Terminal = false
Type = Application
Categories = GNOME; Application; Development;
StartupNotify = true

MyEclipse 12.10 + download + install + crack in Ubuntu 10.6Http://www.linuxidc.com/Linux/2013-06/86102.htm

Install MyEclipse10.0 Linux + crack http://www.linuxidc.com/Linux/2013-04/82212.htm

Configure JDK environment variable http://www.linuxidc.com/Linux/2013-02/80017.htm in MyEclipse

Full installation of MyEclipse10 and MySQL in UbuntuHttp://www.linuxidc.com/Linux/2013-01/77869.htm

MyEclipse10 development SSH2 (Struts2.1 + Spring + Hibernate) http://www.linuxidc.com/Linux/2012-07/64859.htm

Configure the MySQL 13.04 environment in Ubuntu 10.7Http://www.linuxidc.com/Linux/2014-05/101751.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/101751.htm

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.