First, install the Java JDK
Java JDK has two versions, an open source version of OPENJDK, and an Oracle official version of the JDK. The following records are in Ubuntu 16. 04 The steps to install the Java JDK. Install the OPENJDK update package list: sudo apt-get update installation openjdk-8-jdk:$ sudo apt-get install openjdk-8- -version
/////////////////////////////////////////////////////
Image
////////////////////////////////////////////////////
Install the Oracle Java JDK first, install the dependency package: sudo apt-get install python-software-Properties Add Warehouse Source: $ sudoadd- Apt-repository ppa:webupd8team/Java update package list: $ sudo apt-get update installs Java jdk:$ sudo apt-get install oracle-java8-Installer The installation process requires acceptance of the Protocol:
/////////////////////////////////////
Here is the picture, the terminal pops up by pressing the ENTER key, let's select "Yes"
It's important!
View Java version: $ java-Versionjava Ubuntu16.04If you install the above two versions at the same time, you are free to switch between the two versions. Execution: $ sudo update-alternatives--config Javajava Ubuntu16.04preceded by an asterisk is the Java version currently in use, and type the number to choose which version to use. Edit/etc/profile, adding Java environment variables at the end of the file: $ sudo vim/etc/profile# If using Oracle Javaexport java_home= "/usr/lib/jvm/java-8-oracle/jre/bin"#If you use OpenJDKExport Java_home= "/usr/lib/jvm/java-8-openjdk-amd64/jre/bin"OK, in Ubuntu16.04 Install Java on the finish. Ubuntu16.04 Install the JDK and configure the environment variable http://www.linuxidc.com/Linux/2017-02/140908.htmUbuntu14.04 installing jdk1.8.0_25 with Config environment variable http://www.linuxidc.com/Linux/2015-01/112030.htmUbuntu14.04 LTS installs Oracle JDK 1.8 http://www.linuxidc.com/Linux/2014-11/109216.htmConfiguring the JDK environment variable HTTP under a Linux virtual machine://www.linuxidc.com/Linux/2017-01/139212.htmUbuntu Installation JDKTwo ways to 7/jdk8 http://www.linuxidc.com/Linux/2017-07/145563.htminstall JDK on Ubuntu1.8 http://WWW.LINUXIDC.COM/LINUX/2016-12/138940TMUbuntu16.04 LTS Configuration JDK1.8 Problems and resolution notes http://www.linuxidc.com/Linux/2017-02/140138.htm
////////////////////////////////////////////////////////
This article goes from:
This article permanently updates the link address: http://www.linuxidc.com/Linux/2017-11/148695.htm
The following is the Internet on the overwhelming pycharm installation tutorial, here no longer repeat!
I am not original here, please support the original!
Ubuntu16.0.4 under construction pycharm 2018.3.22