Label:Reference article: Blog Park-three-dimensional antsLinux Commune1, first need to download the corresponding Platform Jdk:oracle official website2. Install the JDK using the Yum or RPM command:Yum install ./jdk-8u40-linux-x64.rpm3. After configuring the environment variable Vi/etc/profile, enter the following at the penultimate line:Export JAVA_HOME=/USR/JAVA/JDK1.
1.JDK 8 Example(1.1) Debian, Ubuntu, etc. use the following installation commands:sudo Install openjdk-8-jreThe PS:OPENJDK-8-JRE contains only the JRE, and if you need to develop a Java program, you need to download OPENJDK-
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 Java environment on the machine.
1, go to the http://www.Oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html download,
Helloworld.class file1) $ ./build/linux-x86_64-normal-server-slowdebug/jdk/bin/java -cp "/home/me/dev/java/helloWorld/" HelloWorld (第一个参数是你上步编译出的java可执行程序,第二个参数是classpath,这里指向你放class文件的目录,第三个是含有main方法的类名。 Hello, world!(这是输出)6 run and debug our openjdk with NetBeans. If you want to do this, you can omit the 3,4,5 step.1) Download NetBeans from the official website and request support for C + +.2) Cr
Install the class loading mechanism of Oracle JDK 8 and JVM in Linux
Reading directory
References
Preface
Download and install Oracle JDK
How to discover and load class files
Relationship between CLASSPATH and Package
Summary
References
The content in this article comes from the official Oracle documentation Java SE Tools Reference. Oracle documentation on
preinstalled OPENJDK, the system is the default use of this, rather than just loaded. So this step is to notify the system using Oracle's JDK, non-openjdk. [Email protected]:~$ sudo update-alternatives--install/usr/bin/java java/usr/lib/jvm/java-8/bin/java 300[emailprotected]:~$ sudo update-alternatives--install/usr/b
Install JDK 8 and Ubuntu 14.04Step 1: Download the JDK for Linux
You can download it from the Oracle official website or through the command line.
lxh@ubuntu:~$ wget -c http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-i586.tar.gzStep 2. Unzip and install
l
Install JDK 8 in Ubuntu 12.04
Method 1: (the disadvantage is that a large number of programs such as openjdk cannot be removed during installation. The advantage is that the installation is simple)
$ Sudo apt-get install eclipse
Method 2: (the installation content is refreshing, but the disadvantage is that the configuration is troublesome)
1. Install
Install JDK 8 in Ubuntu 12.04
Method 1: (the disadvantage is that a large number of programs such as openjdk cannot be removed during installation. The advantage is that the installation is simple)
$ Sudo apt-get install eclipseMethod 2: (the installation content is refreshing, but the disadvantage is that the configuration is troublesome)
1. Install
Ubuntu 12.04 under Install JDK8Method One: (Disadvantage is the installation of additional OPENJDK and other large number of programs and can not be removed, the advantage is simple installation)$ sudo apt-get install eclipseMethod Two: (The advantage is the installation content is refreshing, the disadvantage is the configuration trouble)1. Installation of JDK, references1. Download
1, install the JDK, reference1. Download JDK 8Choose to download the latest JDK version of JDK 8 from http://www.oracle.com/technetwork/java/javasebusiness/downloads/.2. Unzip the file$ sudo MKDIR/USR/LIB/JVM$ sudo mv jdk-8u5-linu
first install the JDK, you will be promptedThere is only one alternative in link Group Java (providing/usr/bin/java):/usr/lib/jvm/java/bin/java no configuration required.For non-initial installation, there will be different versions of the JDK option.Because I am installing Ubuntu 14.04 in a virtual machine, OPENJDK is not installed by default, so there is no ne
This short tutorial will demonstrate how to install the latest Java JDK 8 released by Oracle in Ubuntu. The method used here is to teach you how to download the installation package from the download page, and then install the package in Ubuntu without using external PPA or third-party source code.
This method does not depend on a third-party source warehouse. You only need to download it from the official
http://blog.csdn.net/yuxiayiji/article/details/37812785
There are also a number of ways to install the JDK on a Linux system.
The simplest should be in the Software Center search, direct download installation, this process is automatic, can also download the installation package on the Internet, decompression installation itself, there is a way to download and install in the terminal. Here the main record of the terminal download installation steps.
Install JDK 8 on Ubuntu 14.04
Install JDK 8 in Ubuntu 14.04.
Check whether jdk-related software is installed in the system. You can directly enter the java command:
# If the prompt is apt-get install Www.bkjia.com @ bkjia :~ $ Java-version
Download the source code and decomp
First, we need to download a jdk8 that supports lambda, which can be obtained in two ways:
* Someone who dares to try it: Build it by yourself from the sources source code* Quick version: Download the compiled SDK directly.
Initially, I used the source code for building, but due to time, I chose the lazy method by adding some warnings related to environment variables: Use the already built JDK 8. Another
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.