- #JAVA SE RUNTIME ENVIRONMENT 8U51 INSTALL#
- #JAVA SE RUNTIME ENVIRONMENT 8U51 FULL#
- #JAVA SE RUNTIME ENVIRONMENT 8U51 FOR ANDROID#
The current OpenJDK Java is currently set as the default as shown by the ‘+’ sign next to the ‘Selection’ number. To set Oracle’s Java as the default Java, execute the following command: If you perform an ‘ls -la /usr/java/jdk1.8.0_51/’ command it will display all the files installed by the commands shown above. The third command above will unzip the API documentation files to the ‘/usr/java/jdk1.8.0_51/’ directory.
#JAVA SE RUNTIME ENVIRONMENT 8U51 INSTALL#
The first two commands above will install the JDK, demos and samples to the ‘/usr/java’ directory. Sudo unzip Downloads/jdk-8u51-docs-all.zip -d /usr/java/jdk1.8.0_51/ Sudo rpm -ivh Downloads/jdk-8u51-linux-圆4-demos.rpm Sudo rpm -ivh Downloads/jdk-8u51-linux-圆4.rpm Once the packages have been downloaded, execute the following commands in a terminal:
#JAVA SE RUNTIME ENVIRONMENT 8U51 FOR ANDROID#
It is also recommended that you download the API documents, demos and samples for the JDK – although this is not required for Android development on Android Studio. Point your web browser to the Oracle SE download page here and download the latest RPM version of the 64-bit JDK (not Server JRE or the JRE) – currently at version 8u51 (or 1.8.0_51).
#JAVA SE RUNTIME ENVIRONMENT 8U51 FULL#
So the first thing you have to do is to install the full Oracle’s Java JDK. Google’s Android Studio, however, requires the full Java JDK, and the recommended version is Oracle’s Java (JDK or SE 6 and above). Only the OpenJDK JRE is installed by default. OpenJDK 64-Bit Server VM (build 25.51-b03, mixed mode) OpenJDK Runtime Environment (build 1.8.0_51-b16) This can be verified by executing the following in a terminal: On a newly-installed and updated Fedora 22, only OpenJDK JRE (Java Runtime Environment) 8 is installed by default. STEP 1: Install Oracle’s Java SE (or JDK) 8 Please note that the standard window in Gnome 3.16 do not possess these buttons – I have no clue on why this is so! However, what is important for this ‘how-to’ is it’s ability to install and run Oracle’s Java and Google’s Android Studio without having to resort to too much tweaking. Sharp-eyed readers may notice the ‘minimize’ and ‘maximize’ buttons on the various screenshots in this ‘how-to’ – this is only made possible by installing and using the ‘gnome-tweak-tool’ to change the Gnome setting. This Linux distribution has a few ‘first’ under it’s belt – it’s among the first linux distributions to use Gnome 3.16 (the Workstation version), Weyland instead of X11, ‘systemd’ instead of ‘sysvint’ – these are only the few ‘firsts’ that this Linux possess. Note that most necessary steps are performed at the command line in a terminal – if you are not familiar with this, I suggest reading about it first before trying out this ‘how-to’.īefore we start off, a few words about Fedora 22. If you wish to develop software on the Android platform on your Fedora 22 PC, then this ‘how-to’ is for you.
This article is a ‘how-to’ for installing Oracle’s Java JDK 8 (or SE 8) and Google’s Android Studio on a 64-bit Fedora 22 PC.