Configure the java Development Environment in Ubuntu8.10 [multiple diagrams]

Source: Internet
Author: User
I recently installed Ubuntu8.10 with the help of the Linux community. I am very happy to learn it. In fact, I am used to it and it is quite handy. It is as simple but safer as Windows in terms of ease of use. Let's configure the java environment: 1, install JRE open Ubuntu8.10 terminal, enter the following command (1): sudoapt-getinstallsun-java6-jrelinuxidc @ linuxidc-laptop :~ $ Sudo

I recently installed Ubuntu 8.10 With the help of the Linux community. I am very happy to learn it. In fact, I am used to it and enjoy it. It is as simple but safer as Windows in terms of ease of use.

Let's configure the java environment:

1. Install JRE

Open the Ubuntu 8.10 terminal and enter the following command (1 ):

Sudo apt-get install sun-java6-jre

Linuxidc @ linuxidc-laptop :~ $ Sudo apt-get install sun-java6-jre
[Sudo] password for linuxidc:
Reading the package list... complete
Analyzing the dependency tree of the software package
Reading status information... complete
The following additional software packages will be installed:
Gsfonts-x11 java-common odbcinst1debian1 sun-java6-bin unixodbc
Recommended software packages:
Equivs sun-java6-plugin ia32-sun-java6-plugin sun-java6-fonts libmyodbc
Odbc-postgresql libct1
The following [new] software packages will be installed:
Gsfonts-x11 java-common odbcinst1debian1 sun-java6-bin sun-java6-jre
Unixodbc
A total of 0 software packages have been upgraded, 6 new software packages have been installed, 0 software packages have to be uninstalled, and 50 software have not been upgraded.
Download the 35.0 MB software package.
After decompression, 101 MB of extra space is consumed.
Do you want to continue? [Y/n]

1. Select Y to automatically install the agent.

Note that the authorization protocol window (2) will pop up during the installation process. Remember to press Tab, (3), and then press Enter to confirm.

: Is it the same? Check it out.

Select in the same way (see)


┌ ── ─

│ In order to install this package, you must agree to its license terms, │
│ The "Operating System Distributor License for Java" (DLJ), v1.1. Not │
│ Accepting will cancel the installation. │

│ Do you agree with the DLJ license terms?

2. Install JDK

Sudo apt-get install sun-java6-jdk

3. If the system contains multiple java interpreters, you need to run the following statement to select them manually.

Sudo update-alternatives -- config java

I have only installed sun, so I am free of charge.

4. Download the Linux version of eclipse, decompress it directly, and then run the eclipse file.

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.