Read about how to install oracle java jdk on ubuntu linux, The latest news, videos, and discussion topics about how to install oracle java jdk on ubuntu linux from alibabacloud.com
Because ubuntu may have a default JDK, such as openjdk, to ensure that the JDK we installed is used by default (after installing Sun's JDK, I don't know what else openjdk is available, but it has failed to be installed several times ), perform the following operations.
Run the Code:Update-alternatives --
Tags: rpm-ivh or-uvhLike me.now there's a 1.7 version of what to do if you want to install version 1.6?0. You can try it first, 1.7, 1.6 will be able to install. Because I use Ubuntu system, install jdk,jdk-6u45-
First of all, I am a newbie of Ubuntu. I have paid a lot for installing a JDK. In the end, I have successfully completed the installation, not my technical skills, it's not my luck. It's hard for me to see that I was not installed successfully. As a matter of fact, my installation was successful by relying entirely on someone else's blog [Appendix 1]. However, this blog has some flaws, so I decided to write
1. Open the official website to download the Java installation file.
jdk-7u15-linux-x64.tar.gz
2. Open the terminal and create a directory based on your habits.
sudo mkdir /usr/local/development
3. Move the downloaded file to the folder and decompress it. Run the following command:
sudo mv jdk-7u15-
Oracle Data installation package download
https://www.oracle.com/downloads/
Java 8 installation package download
Https://launchpad.net/~webupd8team/+archive/ubuntu/java
Check if Java has been installed
$ java-versionJava Vers
Install sun-java6
Add a partner Source
Sudo add-Apt-repository "Deb http://archive.canonical.com/ubuntu maverick partner"
(Note: If the system prompts no add-Apt-repository command, install Python-software-properties and run sudo apt-Get install Python-software-properties first. In addition, some versions of
Download the latest JDK version from Oracle with
After downloading to get the file jdk-8u101-linux-x64.tar.gz (the file name may be different, the download extension is. tar.gz), the command line to enter the following code to extract the file to the current directory, you will get a folder named Jdk1.8.0_101TAR-ZXVF
Download the latest JDK version from Oracle with
After downloading to get the file jdk-8u101-linux-x64.tar.gz (the file name may be different, the download extension is. tar.gz), the command line to enter the following code to extract the file to the current directory, you will get a folder named Jdk1.8.0_101tar -zxv
The following error occurred in the installation SUN-JAVA6-JDK
root@stu-system:/home# sudo apt-get install SUN-JAVA6-JDK Reading package ... Done building Dependency The Reading state information ... Done Package sun-java6-jdk are not available, but are referred to by another Package. This could mean that the package i
1. Download jdk: www.oracle.com/technetwork/java/javase/downloads/index.html
2. Decompress jdk: # tar-zxvf jdk-7u60-linux-x64.tar.gz to obtain
3. Open the/etc/profile file and add the following variables:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1
Install JDK 6 manually
First of all, in the http://java.sun.com to download the jdk-6u31-linux-i586.bin, self decompression operations are relatively simple, do not need to convert.Then, you can place it in any folder you like. We recommend that you place it under the main folder (/home.Install
1. Install JDK1 and download JDK. First download the latest JDK version from the Oracle website (currently JavaSEDevelopmentKit6u23) at http://www.oracle.com/technetwork/java/javase/downloads/index.html. After selecting the corresponding version of my system (My
First, decompressionUnzip the downloaded. tar.gz file.Use the following command to extract:Tar zxvf./jdk-7u45-linux-x64. tar.gzFor ease of administration, you can move the extracted files to another folder.This moves the file to the/opt/java/jdk/directory.Third, set environment variablesIt is best to back up the backup
Install Oracle database management software SQL Developer in Ubuntu 14.04
This is the second article about building Oracle Development Environment logs.
Article 1: Build a PHP5 + Apache2 + Oracle environment in Ubuntu 14.04
This a
Debian (Wheezy) install Java environment/replace OpenJDK with SUN JDK
Debian (Wheezy) install Java environment/replace OpenJDK with SUN JDK
Because the project needs to install the
Download jdk:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html from official website
Copy the JDK package jdk-8u31-linux-x64.gz to the/USR/LIB/JVM directory, unpack: Tar zxvf jdk-8u31-linux-x64
The manual Installation Method in Ubuntu has many bugs ...... For example, javac and javadoc commands must be manually set ...... In fact, as long as you have a machine that can be connected to the Internet, you can easily install it with apt-getinstall ...... Apt-getinstallsun-java6-jdkupdate-alternatives -- configjavanano/etc/environment add:
The manual Installation Method in
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.