Install eclipse and ubnutu14.04eclipse under ubnuu14.04

Source: Internet
Author: User

Install eclipse and ubnutu14.04eclipse under ubnuu14.04
Configuring the development environment in linux is a little troublesome. For cainiao who are just getting started with linux, the command is not familiar with the use, and the environment is also just getting started. Today I have sorted out the steps for installing eclipse under ubnu14.04, I hope it will be useful to you. Enter the topic

The ubuntu system comes with openjdk. If you enter the java-version command in the terminal, there will be some prompts. This will not affect the subsequent installation.

1

# First go to worker

Sudo tar zxvf jdk-8u20-linux-i586.tar.gz unzipping

2

# Copy the decompressed jdk1.8.0 _ 20 folder to sudo cp-r ~ In the/usr/lib/jvm directory ~ /Jdk1.8.0 _ 20 // usr/lib/jvm/

3
# Configure Environment Variables
Sudo gedit ~ /. Profile
Add:
Export JAVA_HOME =/usr/lib/jvm/jdk1.8.0 _ 20

Save and close, and use source to update
Source ~ /. Profile
Use the env command to view the JAVA_HOME Value
Env
If JAVA_HOME =/usr/lib/jvm/jdk1.8.0 _ 20 is displayed, the configuration is successful.

4
# Modify the system's default jdk as follows:
Sudo update-alternatives -- install/usr/bin/java/usr/lib/jvm/jdk1.8.0 _ 20/bin/java 300

Sudo update-alternatives -- install/usr/bin/javac/usr/lib/jvm/jdk1.8.0 _ 20/bin/javac 300

Sudo update-alternatives -- config java
Sudo update-alternatives -- config javac

5. view the java version information,
If the terminal enters java-version and the following information is displayed, the modification is OK:
Java version "1.8.0 _ 20"
Java (TM) SE Runtime Environment (build 1.8.0 _ 20-b26)
Java HotSpot (TM) Client VM (build 25.20-b23, mixed mode) 6 install and configure eclipse in ubuntu
Go to the official website. Unzip command unzip adt-bundle-linux-x86-20140702.zip I put in/home/kingqi/ADT directory 7

Link the eclipse execution file symbol to/usr/local/bin.
Cd/usr/local/bin
Sudo ln-s/home/kingqi/ADT/adt-bundle-linux-x86-20140702/eclipse

OK. All done. Open the terminal and enter eclipse to start it.

 


Which version and runtime environment should I use to install eclipse?

If you want to learn the basics of Java, You Can Do either of them. However, Eclipse IDE for Java Developer is relatively small and has fewer plug-ins. It is enough to learn Java.
If you want to develop Java Web, select the Eclipse IDE for Java EE Developers in the middle;
If you want to develop other languages such as C and PHP, select the first Eclipse Classic 3.7.1.

Install eclipse in win7

Simple. Install the SDK as prompted after the download.

If the system prompts incompatibility, ignore it and continue the installation.

After the installation, the installation will be successful. The same is true for me, including databases.

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.