Questions tagged [jre]

The Java Runtime Environment.

The Java Runtime Environment is a set of software that allows for a system to run Java applications. The one used in Ubuntu (provided by Ubuntu-restricted-extras) is the Sun-jre (provided by Oracle), however one can use GIJ (the GNU version). On 64bit systems, the Open JDK JRE is used in place of the Sun version.

132 questions
577
votes
28 answers

How can I install Sun/Oracle's proprietary Java JDK or JRE?

I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java 7, I followed this way to install Java 6. But it…
Benjamin
  • 10,229
249
votes
0 answers

How do I install Oracle Java JDK 7?

If I downloaded the latest JDK from Oracle, do I just download the .tar file and extract it to /usr/lib/jvm/?
user22744
  • 2,501
72
votes
14 answers

How do I make java default to a manually installed JRE/JDK?

I have Ubuntu 12.04 amd64 installed on my machine, on the previous versions of Ubuntu it was deadly easy, now there is this command update-java-alternatives with a really bad man page. I just have my JDK unpacked on a mounted partition like…
user827992
  • 2,901
59
votes
14 answers

Android Studio update issue with jre/bin/java

While updating Android Studio I got the following error. The patch was downloaded and extracted, but there was some conflict with jre/bin/java Access denied. The error message is shown in the below screenshot. (Click image to enlarge)
Utkarsh
  • 691
19
votes
2 answers

Changing JVM in Java

I only recently discovered the different JVM's on the wiki page and thought I'd start tinkering. Its been difficult to find documentation on how to configure Java on Ubuntu though. Lets say I wanted to change the JRE or JDK that I'm using, I could…
OVERTONE
  • 2,407
15
votes
1 answer

"Please ensure you have JAVA_HOME points to JDK rather than JRE" message

I have java installed aaa@ubuntu:~$ whereis java java: /usr/bin/java /usr/bin/X11/java /usr/local/java /usr/share/java aaa@ubuntu:~$ whereis javac javac: /usr/bin/javac /usr/bin/X11/javac and…
Alex Malex
  • 2,692
  • 9
  • 28
  • 26
12
votes
8 answers

Java JRE will not install due to "tar: Error is not recoverable" error

I have been trying to get Java for the past day now. I followed several tutorials but I keep getting the same error. After I put in tar -xvf jre-7u4-linux-i586.tar.gz it says Cannot open: No such file or directory tar: Error is not recoverable:…
Mike D
  • 129
7
votes
1 answer

how can i upgrade only jre from 7 to jre 8 on ubuntu 1404

I currently have the jre 7 and need to upgrade to 8 on ubuntu 1404. I need only JRE upgraded to 8 for demo purpose. Could you please guide me on this? java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.6)…
7
votes
1 answer

How to downgrade Java. For example Java 7u72 to 7u67

How can I downgrade java 7 to update 67 as suggested by this Check Point issue? I need this to install Check Point VPN. I have to install Java 7u67. How can I do it? How can I install specific version of Java. Now I have Java 8u25 and Java 7u72 when…
7
votes
1 answer

if I install JDK do I also need to install JRE

if I install JDK 1.7 do I also need to install JRE 1.7 to support Tomcat? I have installed the openJDK package and that seems to include JRE. java -version shows that java 1.7 has been installed
glyn
  • 71
6
votes
2 answers

How can I install the Java Runtime Environment in Wine?

I have download a game and opened it with Wine, but it can't run this game, because the program required the Java Runtime Environment 1.6.0. The program recommends this link: http://java.com/en/download/, where I have downloaded this file. But when…
blackcornail
  • 209
  • 2
  • 4
  • 8
6
votes
1 answer

JREs from different vendors on the same system

In various tutorials, it is said, that you should remove existing JRE/JDK before installing new one (e.g. remove OpenJDK before installing the one from Oracle). Is it really necessary? I remember having 2 JREs at one point, being able to choose in…
Alpi
  • 61
  • 1
  • 1
  • 3
6
votes
2 answers

Cannot get Java to work in Firefox

In Firefox 17 on Ubuntu 12.04 (Precise Pangolin), I cannot get the Java verification applet to work (needless to say, I cannot get any Java applications on the browser working). I already tried uninstalling and re-installing the AFAIK necessary…
Gaia
  • 977
6
votes
3 answers

Update to latest version of java after ppa is discontinued

I have been trying to install the latest version of java-8. However, I found out that the PPA ppa:webupd8team/java has been discontinued due to changes in the java licence. How should I update my java to 8.0_201 or 8.0_211 now? Thanks!
deann
  • 183
5
votes
1 answer

package javax.jnlp not in java.desktop ubuntu

Anybody solve this error? I'm trying to run a Java application on Ubuntu, and I got this error: $ javaws http://192.168.1.211:7777/forms/frmservlet/config=mmcs selected jre: /usr/lib/jvm/default-java WARNING: package javax.jnlp not in java.desktop
1
2 3
8 9