Questions tagged [java-runtime-compiler]
35 questions
0
votes
2 answers
Error when run program in jvm 18: Java.lang.UnsupportedClassVersionError
i'm trying to run a project from Spring Initializr and I am getting the error java.lang.UnsupportedClassVersionError when I try to run the Main. The complete error is java.lang.UnsupportedClassVersionError: has been compiled by a more recent version…

OdisBy
- 15
- 4
0
votes
0 answers
A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007ff81779403f, pid=94133, tid=259
I'm getting this error and my editor is getting closed automatically.
A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff81779403f, pid=94133, tid=259
#
# JRE version: OpenJDK Runtime Environment…

ravi_reddy_07
- 11
- 1
0
votes
0 answers
How do i make a .jar file acessible to anyone?
I've made a game, have already exported it from eclipse to a .jar file, but none of my friends could open the file. "java virtual machine launcher: a java exeption has occured" appeared to all of them.
So i tried to find a way to turn this .jar file…

Hugo Henrique
- 1
- 1
0
votes
2 answers
The method traceMethodCalls(boolean) is undefined for the type Runtime
I get the error:
(Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method traceMethodCalls(boolean) is undefined for the type Runtime)
when I run the code Below.
public static void main(String[] args) {
…

Oluwaseun Adesina
- 23
- 2
0
votes
1 answer
Installing CPLEX causes a problem in MacOS Big Sur
When I try to download CPLEX no-cost academic edition from the IBM website, the download does not automatically start and it states "If Download Director does not start install / re-install Download Director."
When trying to install download…
user11623586
0
votes
1 answer
Automatic and seamless way to install a JVM
i am programming an app for desktop targeting only windows, i would like a way to install the JVM automatically but with an additional option, i want the JVM to be a part of the app which mean you cannot uninstall the JVM and the only way to do it…

adamizzo
- 3
- 4
0
votes
0 answers
Issue executing a java compiled file from java source
I am trying to execute a java compiled file from another java program, and I am having some issues.
When I run from my terminal the command java -cp ".:lib/MyLib.jar" javaFiles/g1/MyCompiledProgram I can execute MyCompiledProgram without any…
0
votes
0 answers
A JNI error has occured when running exe file
So I just converted a jar file into an exe file.
My Jar file seems to run smoothly and the code is executed as intended
However when I run my .exe file I get an error window saying "A JNI error has occured. check your installations"
I run JDK 14.01.…

Adam Deen
- 35
- 7
0
votes
1 answer
Error caused on runtime of java class file
How do I compile and run java files if you don't know the specific package used by the developer...
I got a folder of java files written by someone else, and I'm trying to compile and run the java files, I can compile the files by running javac…
user4896245
0
votes
1 answer
working 'java -cp' not working all of a sudden in ubuntu
We have the below java command which was running and stopped working all of a sudden,
java –cp "classes:lib/*" xxx.yyy.ppp
The jar is within lib directory and the jar contains the class.
It stopped working all of a sudden and gived the below…

Sijo Kurien
- 95
- 2
- 10
0
votes
1 answer
Compiling Lambda Expression from String in Janino
I am trying to compile a class from a String using Janino. The class contains a lambda expression inside a function but it seems to not recognize the reference operator "->" and "::".
I am getting a CompileException
The complete stake…

Shafaq
- 1
0
votes
0 answers
Why cant i run Jar file in Windows?
I am trying to run a javaFx jar in windows cmd with java -jar filename.jar but i get this error:
Error: JavaFX runtime components are missing, and are required to run this application.
In intellij works the programm fine but i cant run it in…
user10751443
0
votes
2 answers
Do all operating systems already have JRE installed for running java applications?
Let say I am not a java developer and an ordinary person, and installing any application that is written in Java. So, do I need to first install the JRE or no all operating systems already have JRE installed on them?

Stack Overflow
- 1
- 5
- 23
- 51
0
votes
2 answers
How to catch a "Could not deserialize object." exception in Java (Android)?
So let's say I'm converting a large collection of data from a server into custom local java objects. The POJO has an int variable, which is what I expect to get from the server. Only, let's say some of the data lists the number as a string instead…

Mr.Drew
- 939
- 2
- 9
- 30
0
votes
1 answer
Java Runtime -ERR 'fsctl Command not found
I run a command using java Runtime.That command work fine when i executed normally on terminal/command promp but unable to execute through Java.Runtime :-
Runtime.getRuntime().exec("fs_cli -H x.x.x.x -x 'fsctl loglevel'");
It give output…

Vishal Monga
- 272
- 2
- 14