Reproduced from1. Copy the jdk-8u45-linux-i586.tar.gz.tar.gz to the/usr/lib/jdk/directory, if there is no JDK folder, create the folder, command:sudo mkdir JDK//Create folder JDKsudo cp-r ~/download/jdk-8u45-linux-i586.tar.gz/usr/lib/jdk
Ubuntu 10.04 JDK installation1. From the official website(http://www. oracle.com/technetwork/java/javase/downloads/jdk6u35-downloads-1836443.html) Download the installation files ( for example: jdk-6u45-linux-x64.bin) . Copy the file to /usr/lib/java , and if there is no Java folder, create it. sudo mkdir-p/usr/lib/jvm/javaThe default is no execute permissions, so the first step is to give the installatio
I. Installing the JDK:
Download JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html Note that the downloaded file ends in tar.gz, for example: jdk-7u21-linux-i586.tar.gz
Unzip: I created a new Javadev directory in the home directory to hold Java related software.sudo tar-zxvf/home/hsiung/download/jdkxxxx.tar.gz-c/home/hsiung/javadev/
The latest version of JDK is already 8_66, this article takes the Unbuntu 15.10 installation as an example.
Download the JDK from Oracle's website first. My system is Ubuntu15.10 64-bit, so the download is jdk-8u66-linux-x64.tar.gz
Create the JDK storage path. My jdk
Linux Mint install JDK and Eclipse prefaceAfter trying several distributions, the Linux Mint Cinnamon was finally locked. Then you have to configure the environment.Here's a look at the Java environment, configuring the JDK and Eclipse.JdkThe Linux mint itself is loaded with openjdk (the difference between this and what we call the JDK itself, Google. The simple
After logging in to Linux, switch directories to /usr/local
Cd/user/local
new Folder in /usr/local directory java to store jdk files
mkdir Java
in folder Java download jdk file ( jdk network path can be replaced according to your own needs)
First switch directory to Java
cd java
Installation of JDK is not installed, as follows:
[Root@localhost local]# RPM-IVH jdk-6u41-linux-amd64.rpm preparing ... ################################### ######## [100%]Package jdk-2000:1.6.0_41-fcs.x86_64 is already installedThe reason is that the JDK installed in Linux, the new
First, download the relevant software
Jdk:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmltomcat:http://mirrors.shuosc.org/apache/tomcat/tomcat-9/v9.0.2/bin/apache-tomcat-9.0.2.tar.gz II Installation and configuration JDK
Add the following three lines to the/etc/profile:
[Root@jdk-tomcat ~]# vi/etc/profile
export java_home=/usr/java/jdk1.8.0_151
export path= $JAVA _hom
Java Help documentation full range JDK1.5 JDK1.6 JDK1.7 official Chinese-English full version downloadThe JDK (Java Development Kit,java Development Kit, Java Development tool) is a program development environment that writes Java applets and applications. It consists of a running environment on top of the operating system layer and the tools that developers need to compile, debug, and run applets and applications written in the Java language.The
Install multi-version JDK on MAC and switch between them
Environment:
Mac air, OS X 10.10, 64-bit
History:
In the past, Java on Mac was provided by Apple and only supported to Java 6, and the OS X 10.7 does not come with it (but is optional) (the original version is 1.6 ).
Later, Apple joined OpenJDK to continue to support Java 6, and Oracle was responsible for providing Java 7.
Enter java-version in the terminal to view the current
Sometimes we need to install Oracle JDK on the server, when we find that the address directly above the copy page is not downloadable.To download jdk-8u101-linux-i586.tar.gz as an example, right-click to see the address is http://download.oracle.com/otn-pub/java/jdk/8u101-b13/ Jdk-8u101-linux-i586.tar.gz, but this addr
Ubuntu10.04LTS installation sun-java6-jdk, error. Readingpackagelists... DoneBuildingdependencytreeReadingstateinformation... DonePackagesun-java6-jdkisnotavailable, buti... Ubuntu 10.04 LTS installation sun-java6-jdk, error.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jdk is not available, but is ref
JRE: Java Runtime Environment.JDK: it is the basis of all Java applications. All Java applications are built on it. It is a set of APIS, or Java classSDK: software development kitHttp://java.sun.com/products/1. the SDK (software development kit) helps developers improve their work efficiency. Different types of software development can have their own sdks. Windows SDK, DirectX SDK, And. Net SDK. Java Development is also unambiguous and has its own Java SDK.2.
Ubuntu under the JDK configuration is essentially the same as win:1, to the official website download JDK7, find jdk-7u21-linux-i586.tar.gz and download: http://www.oracle.com/technetwork/java/javase/downloads/ Jdk7-downloads-1880260.html2. After extracting the folder named Jdk1.7.0_21, copy it to/USR/LIB/JVM (new JVM folder is required).3. Configure the JDK envi
Version 1.6http://download.csdn.net/download/javahr/7291125First, installationJdk-6u45-linux-x64.bin files are self-extracting files that are installed on Linux as follows,1. Assigning Permissionschmod 755 Jdk-6u45-linux-x64.bin First (4 readable +2 writable +1 executable =) 7 is the owner's permission, the second 5 represents the permissions of the group member, and the third 5 represents the permissions of the other groups.2. Create the installation
First, installation Create the installation directory, set up the installation path under/usr/java, and test the file under this path:# Mkdir/usr/java 1, Jdk-6u11-linux-i586.bin This is self-extracting files, installed on Linux as follows:# chmod 755 jdk-6u11-linux-i586.bin#./jdk-6u11-linux-i586.bin (Note that this step must be in the directory where
Recently installed in your own notebook Deepin Linux, although the use of the process found some bugs, but the overall feeling is good, ready to use her as a development system. The JDK that comes with the system is the open JDK, but the Oracle JDK is often required for Java development, so you need to install the Oracle JDK.Download and install Oracle
Open Terminal:Ctrl+alt+tDownload JDK:wget http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gzDecompression jdk-8u144-linux-x64.tar.gz:Tar zxvf jdk-8u144-linux-x64.tar.gzcut to the JDK directory:MV
First, installationCreate the installation directory, set up the installation path under/usr/java, and test the file under this path: # Mkdir/usr/java1, Jdk-6u11-linux-i586.bin This is self-extracting files, installed on Linux as follows: # chmod 755 Jdk-6u11-linux-i586.bin #./jdk-6u11-linux-i586.bin (Note that this step must be in the directory where
First, installationCreate the installation directory, set up the installation path under/usr/java, and test the file under this path:# Mkdir/usr/java1, Jdk-6u11-linux-i586.bin This is self-extracting files, installed on Linux as follows:# chmod +x Jdk-6u11-linux-i586.bin#./Jdk-6u11-linux-i586_rpm.bin (Note that this step must be in the directory where
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.