Questions tagged [jre]

The Java Runtime Environment.

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Running .exe file got me a blank window in wine

I want to run an .exe program, but when I try it requests Java Runtime 1.8: So I searched for how to install this in wine, here, but when trying to install JRE I got a blank page, like this: And I'm ...
1 vote
0 answers
46 views

How to fix Java Environment on Ubuntu 22.04 for Zotero?

I have installed the program Zotero on /opt. I have problems with the Java environment (JRE). On this post, it is said that one needs to run sudo apt install default-jre and sudo apt install ...
0 votes
0 answers
204 views

dotnet sonarscanner did not find java but JAVA_HOME exists. Tried jre 11,13, 17 on ubuntu 20.04.3

I am starting proper command ~/project$ /usr/bin/dotnet sonarscanner end /d:sonar.login="admin" /d:sonar.password="user" and got the java error on ubuntu 20.04.3 SonarScanner ...
3 votes
2 answers
16k views

eclipse: class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Since the update yesterday (yes, the linux update), eclipse denies me to run even the most simple helloworld: has been compiled by a more recent version of the Java Runtime (class file version 53.0), ...
1 vote
1 answer
142 views

Netbeans won't start due to UnsupportedClassVersionError and asks for java 55 aka 11 but I do have it

When I try to run my newly installed Netbeans, I get: org.netbeans.InvalidException: StandardModule:org.netbeans.modules.db jarFile: /usr/share/netbeans/10.0/ide/modules/org-netbeans-modules-db.jar: ...
3 votes
1 answer
12k views

How to install Java 18 (JRE) on Ubuntu LTS 20.04 [duplicate]

My kid really wants me to upgrade the minecraft server I run from 1.17.1 to 1.18, but when I tried, I found that it required Java 18. It looks like Java 18 is only available on the latest release of ...
0 votes
0 answers
40 views

Problem with java

jre1.8.0-51 is about to be reinstalled, but its archive cannot be found. This error keeps showing up even after restarting the laptop. I tried to download the same jre version but it didn't pass ...
0 votes
0 answers
87 views

Problems with setting up Java Runtime Enviroment

Fresh Ubuntu 22.04.2 LTS installation. I installed JRE from Oracle website. Added it to JAVA_HOME variable and PATH. Application fails to launch, with "No Java Runtime Environment(JRE) was found ...
0 votes
0 answers
1k views

No JRE found. Please make sure $STUDIO_JDK, $JDK_HOME, or $JAVA_HOME point to valid JRE installation

My problem I downloaded Studio for Linux as a ZIP file, then extracted and moved the contents into WSL. I also downloaded default-jdk which has given me v.11 of javac and openjdk. However, when I try ...
2 votes
1 answer
1k views

How do I install and setup OpenJDK in Ubuntu from Snapcraft?

How is OpenJDK installed from snap so that javac and java are available from the CLI? nicholas@mordor:~$ nicholas@mordor:~$ snap list Name Version Rev Tracking ...
0 votes
1 answer
1k views

Trying to run Clion but get "No JDK found. Please validate either CLION_JDK, JDK_HOME or JAVA_HOME environment variable points to valid

I'm trying to run Clion IDE on Ubuntu 22.04. I installed JRE and I think I installed JDK by running: sudo apt install -y openjdk-18-jdk but when I run ./clion.sh I get: No JDK found. Please validate ...
5 votes
1 answer
2k views

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 ...
1 vote
3 answers
45k views

Java / Minecraft "Error: Could not find or load main class –Xms1024M"

I am not a Linux pro nor a Java pro, but I am setting up a Minecraft server on Ubuntu 16.04. System has 8GB RAM. I followed all the directions for setting up the server (which is very simple) but ...
57 votes
14 answers
28k views

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 ...
3 votes
1 answer
17k views

Java program compiled by more recent version of JRE, but I have the most recent version

I'm trying to set up a Minecraft server for my friends and I get the following error every time I try to launch it Error: LinkageError occurred while loading main class net.minecraft.bundler.Main ...
0 votes
0 answers
1k views

Eclipse not working in Ubuntu 20.04

I can't even run a simple hello world! program in Eclipse. Let's go step by step. Whenever I write a program and try to save it It shows this error: And when I try to run the program It shows this ...
1 vote
2 answers
5k views

How to install java 32bit version

I need a java jre 32bit version, how can I install it in my Ubuntu Server 18.10? I could only install the 64bit version of jvm.
71 votes
14 answers
210k views

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 ...
3 votes
3 answers
3k views

JVM without JRE [closed]

Why can't the Java Virtual Machine run without the Java Runtime Environment? What is the purpose of the Java Virtual Machine, and what is the purpose of the Java Runtime Environment? What are both ...
0 votes
1 answer
584 views

BioX 4.6 won't launch: "An illegal reflective access operation has occurred."

BioX won't launch when using JRE 11 on two PCs running Ubuntu 20.04.2 and Pop!_OS 21.04. The BioX program however works fine without problems in openSUSE (Leap 15.2 and 15.3) which I replaced with ...
0 votes
1 answer
588 views

Shortcut to program installed via binary installer

I'm looking for a little help with Ubuntu 18.04. I installed a program using the below terminal commands: su "password" cd Documents chmod +x WatchPower64.bin ./...
1 vote
3 answers
24k views

Installing java 8:update-alternatives: error: alternative path /usr/lib/jvm/jdk1.8.0/bin/java doesn't exist

I know this question might seem like a duplicate question, but I think its not. I'm trying to install java 8 on my ubuntu 14.04 LTS. I have tried many methods, but nothing worked for me. So I ...
1 vote
2 answers
8k views

Java Runtime Environment 1.4.2 Installation

I´ve got HP Proliant dl380 g3 and I can´t use few things from the "iLO(integrated lights-out)" because this tool needs the Java Runtime Environment 1.4.2 to run in my browser HP does not support ...
6 votes
2 answers
77k views

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/...
0 votes
0 answers
1k views

following packages have unmet dependencies : java related

sudo apt install openjdk-8-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you ...
1 vote
0 answers
48 views

How can I enable JRE on Firefox in Ubuntu 18.04? [duplicate]

I'd like to run Supermicro IPMI console which requires JRE but each time I get this error in Firefox: You need the latest Java(TM) Runtime Environment. Would you like to update now? I've downloaded ...
0 votes
1 answer
48 views

How can I run this command succesfully

I need to run the following command to run a program in Ubuntu. Java -Dprism.forceGPU=true -jar quantumVITAS-0.1.0.jar I got an error "Java not found" I have downloaded the last version of ...
6 votes
3 answers
16k views

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 ...
577 votes
28 answers
922k views

How can I install Sun/Oracle's proprietary Java JDK 6/7/8 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 ...
0 votes
1 answer
6k views

Java not finding libraries in CLASSPATH

I have a JAR file, which has many dependencies (ApacheCommons stuff mostly). When I put all those JAR's in the same directory as my main JAR, everything works fine. But that makes a mess and it also ...
7 votes
1 answer
21k views

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
0 votes
1 answer
75 views

Work on a Java Project in Ubuntu

I am a beginner so I apologize if you're gonna read a silly question. I want to work on a Java Project. It's a project available on GitHub: https://github.com/particleincell/Starfish. The problem ...
0 votes
1 answer
176 views

Install NetBeans 8.01 in Ubuntu 18.04 - JRE not found

I have downloaded the netbeans-8.0.1-cpp-linux.sh now I'm trying to install it. I've authorized the execution. chmod u+x netbeans-8.0.1-cpp-linux.sh Now I'm trying to: sudo ./netbeans-8.0.1-cpp-...
4 votes
1 answer
6k views

How to install Java 8 on Ubuntu 19.04 [duplicate]

I upgraded my system to the latest Ubuntu. However, it seems that it's shipped with java 11. I removed it because I need Java 8. However, it seems that Java 8 won't install on my system and I was ...
0 votes
0 answers
589 views

Install old Java8 version

I've installed Java 1.8.0_201, but i need the 8.161 version to run a software. I try with Synaptic but i can't downgrade java. I try do download the .tar file from this website but i don't know how ...
4 votes
3 answers
28k views

"JRE Libraries are missing or not compatible" error message

When trying to install SPSS (a statistical analysis package) using sudo ./SPSS_23.0_LNX.bin I get the following: Preparing to install... Extracting the JRE from the installer archive... Unpacking ...
0 votes
0 answers
361 views

Issue with compiling/running a java program in xterm (python default)

I'm trying to run a java program using xterm. I've installed jre1.8.0_191 in /usr/java, but when I run javac HelloWorld.java. (The java file I created) I get a /usr/bin/python3: bad interpreter: No ...
0 votes
1 answer
13k views

JAVAFX_HOME path on ubuntu

So my problem is openjfx and using it on Scala-sbt project. The actual problem is JAVAFX_HOME path. First of all I have java version 10.0.2 installed on my computer and openjfx (which I take as JavaFX)...
1 vote
2 answers
1k views

Why wont JRE run my .Jar file [duplicate]

Before you mark this as the same thing as the others, You need to know I have done this before hundreds of times with no problem, I just reinstalled Ubuntu 18.04 2 days ago, and I was trying something ...
0 votes
1 answer
1k views

How to change IntelliJ IDEA's JRE

I have a problem with launching IntelliJ IDEA on Lubuntu 18.04. While researching this issue I stubled upon this post, which describes the similar problem. People there advise to use IDEA's bundled ...
1 vote
3 answers
1k views

JRE not installed/Java is disabled on Ubuntu 14 but works on another distro

I need to run some js from a webpage, but when it tries to load I got the error of the subject topic. I'm running ubuntu 14, FF 50xx, and latest version of java. But, that part of the page that came ...
0 votes
1 answer
5k views

How to install JRE on ubuntu 15.10?

I have Java version 1.7.0_91 installed in my Ubuntu PC. I installed it using the command sudo apt-get install default-jdk so, I think only JDK is installed but not the JRE. So what can I do to ...
2 votes
1 answer
4k views

Dbeaver with SDKMAN JRE JDK location

I'm trying to configure Dbeaver with a custom location of my Java installation as I have it installed via SDKMAN. To do that, I have added the vm parameter to the dbearver.ini file, so now when ...
0 votes
1 answer
1k views

Default Java not detected by Maven as installed

I have an Ubuntu installation with Oracle JDK 1.8.0_141 that was installed using this guide. tar file was extracted to /opt/jdk and below commands used to set java as default. update-alternatives --...
0 votes
1 answer
5k views

No java command after installing JDK [duplicate]

I have downloaded and installed JDK 9 with NetBeans. NetBeans runs fine and I build test application that also runs fine from IDE. But if I run java command in terminal I have error 'java' can not ...
0 votes
1 answer
3k views

/usr/sbin/update-info-dir: 1: /etc/environment: JAVA_HOME: not found

I'm trying to install nginx. By Running : apt-get install nginx it fails throwing a strange error saying that there is no JAVA_HOME Lokking to my /etc/environment file , it looks like this : ...
2 votes
1 answer
2k views

java crashed with SIGABRT in WTFCrash()

on a newly installed Ubuntu 16.04, I was receiving Ubuntu 16.04 has experienced an internal error. there is a bug issue reported about OpenJDK with this error, therefore I completely removed Java ...
0 votes
1 answer
632 views

How to remove JDK and keep JRE in ubuntu 16.04

I've installed JDK-8 on my VPS with the command: sudo apt-get install openjdk-8-jdk But I just realized I don't really need JDK and JRE is enough for me since I develope my projects on my laptop in ...
12 votes
8 answers
30k views

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 ...
0 votes
2 answers
490 views

Java Plugin crashes on the latest kernel [closed]

I know java npapi plugin is discontinued both by firefox and chrome, but I really need java to work. So, installed Mozilla Build of Firefox, and kept it on a earlier version (51.0.1). Java has been ...