Configure the JAVA environment in Ubuntu7.10

Source: Internet
Author: User
This article is the first of the [JAVA development topic] With the content "Configuring the JAVA environment for Ubuntu". This JAVA topic is intended for users who want to develop JAVA software under Ubuntu, and also for users who want to transfer JAVA Development under Windows to development under Ubuntu. Let's talk a little bit about it. The main text starts: the operating system version: Ubuntu7.10GutsyJAVA version: JAVA6 installs the Java Virtual Machine and

This article is the first of the [JAVA development topic] With the content "Configuring the JAVA environment for Ubuntu". This JAVA topic is intended for users who want to develop JAVA software under Ubuntu, and also for users who want to transfer JAVA Development under Windows to development under Ubuntu. No more nonsense. The text begins:

Operating system version: Ubuntu 7.10 Gutsy

JAVA version: JAVA 6

Installing the Java Virtual Machine and SDK (SDK) in Ubuntu 7.10 is very easy:

Enter commands on the terminal when connected

$ Sudo apt-get install sun-java6-jre sun-java6-sdk

This command can help you download and install JAVA 6. By the way, you can install JAVA support in the browser:

$ Sudo apt-get install sun-java6-plugin

After installing the three variables, you need to write the system variables:

$ Sudo gedit/etc/environment

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.