Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu Tutorial - Manually install Oracle Java JDK 8     - Bash How to read a file line by line (Programming)

- Transfer MySQL database to MariaDB (Database)

- MySQL use benchmarking tool sysbench (Database)

- RHEL6 install Python and other packages from source (Linux)

- Android application simulates the phone keypad (Programming)

- Linux find command usage practices (Linux)

- Linux unpack the tar file to a different directory (Linux)

- Linux remote connectivity tools -OpenSSH (Linux)

- Ubuntu 14.04 installation and configuration environment variable JDK1.8.0_25 (Linux)

- Oracle 11g em start newspaper site's security certificate has a solution to the problem (Database)

- Django1.5 Custom User Model (Programming)

- Linux atomic operations and synchronization mechanisms (Programming)

- The compiler installed Kaldi under Ubuntu 12.04 (Linux)

- Linux Operating System Security Management describes the top ten tricks (Linux)

- A brief description of Java 8 new features introduced syntax (Programming)

- Proper use Core Data multithreaded 3 ways (Programming)

- MongoDB relations, references, index query coverage (Database)

- Ubuntu Linux to create and increase the Swap partition tutorial (Linux)

- The basic method RHEL6 (CentOS6) used in the source package compiled RPM: Upgrade OpenSSH articles (Linux)

- MySQL service failed to start thinking of settlement under CentOS7 (Database)

  Ubuntu Tutorial - Manually install Oracle Java JDK 8
  Add Date : 2017-03-30      
  This brief tutorial will demonstrate how to install Oracle's latest release of the Java JDK 8 in the Ubuntu system. The method used here is to teach you how to download the installation package from the download page, then install Ubuntu PPA does not use external or third-party source.

This method does not rely on third-party source repository. You just download page from Oracle's official direct download and then installed on the line.

JDK 8 is a major release, also joined the latest called Lambda expressions new language feature that can "function is used as the method parameter, or a block of code using the data as a date."

This version also released a new collection of bags java.util.stream, provides flow-based API, to support the functional operation function.

For more information about the release version, visit its home page @ http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html release

To download and install Java JDK8, visit the download page for the latest releases. The basis of your machine Ubuntu system can choose to download the 32-bit or 64-bit release.

Here is the download page

Before downloading, you must accept the license agreement.

Download the file and save. In the Ubuntu system, Firefox browser will default saved to ~ / Downloads directory.

The second step, open a terminal and run the following command to decompress the downloaded file.

tar -xvf ~ / Downloads / jdk-8-linux-x64.tar.gz
Then run the following command to create a directory to save the Java JDK 8 files in / usr / lib directory.

sudo mkdir -p /usr/lib/jvm/jdk1.8.0/
Next, run the following command to extract the contents of JDK files are moved to the directory created.

sudo mv jdk1.8.0 / * /usr/lib/jvm/jdk1.8.0/
Next, run the following commands to configure Java

sudo update-alternatives --install "/ usr / bin / java" "java" "/usr/lib/jvm/jdk1.8.0/bin/java" 1
Next, copy and paste the following line to the terminal execution to enable Javac module.

sudo update-alternatives --install "/ usr / bin / javac" "javac" "/usr/lib/jvm/jdk1.8.0/bin/javac" 1
Finally, copy and paste the following line to the terminal in order to complete the final installation.

sudo update-alternatives --install "/ usr / bin / javaws" "javaws" "/usr/lib/jvm/jdk1.8.0/bin/javaws" 1
To verify whether Java is already under fully installed, you can run the following command to test.

java -version
I wish you have fun ~
- Linux character device - user mode and kernel mode data transfer data (Linux)
- Ubuntu Locale configuration problem solving Can not set LC_CTYPE (Linux)
- Getting Started with Linux system to learn: How to compress JPEG images on the command line (Linux)
- CentOS terminal display Chinese (Linux)
- About AWR More Description (Database)
- Linux filtration empty file command summary (Linux)
- 5 steps to help you become a good Docker contributors (Linux)
- Nginx request processing (Server)
- Linux gprof oprofiling and performance testing tools (Linux)
- Mounting kit under Fedora Linux (Linux)
- The first IOS Objective-C program (Programming)
- Mistakenly deleted redo log file group being given the lead to start the database ORA-03113 (Database)
- Oracle Database asynchronous IO cause slow query response (Database)
- OpenDaylight Helium version installed (Linux)
- Linux System Administrator Network Security Experience (Linux)
- OpenStack package problems and solutions under CentOS6 (Linux)
- C ++ thread creates transmission parameters are changed (Programming)
- How to defragment the hard disk in Linux (Linux)
- iOS GCD multithreading simple to use (Programming)
- VMware virtual machines to install virt-manager unable to connect to libvirt's approach (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.