Questions tagged [java-runtime-compiler]

35 questions
6
votes
2 answers

Java Error opening registry key 'Software\JavaSoft\Java Runtime Environment'

When running "java -version" on command prompt Windows 7, i get this: Error: opening registry key 'Software\JavaSoft\Java Runtime Environment' Error: could not find java.dll Error: Could not find Java SE Runtime Environment. I have already checked…
monkey123
  • 183
  • 1
  • 3
  • 11
5
votes
2 answers

UnsupportedClassVersionError : Error with Gradle and Java Runtime version

I'm very new to Gradle, and I wanted to give a try to this cool project : Strange, a Quantum Computing API for Java (I'll leave a link to the github project below). They recommend using Gradle, so I did. In the directory I'm working on, there's…
5
votes
3 answers

IntelliJ: Fatal error compiling: invalid target release: 1.8

I'm running a Java Maven project on IntelliJ, and I make sure that this project will be compiled by Java 1.8. I set JRE to version 8 in Run/Debug Configuration and also in Project Structure: My pom.xml file also includes java version 8 by the…
CrazySynthax
  • 13,662
  • 34
  • 99
  • 183
3
votes
0 answers

Is there any safe way to serialize/deserialize Java Lambda for two different JREs?

There is a client that needs to serialize many lambda functions defined in the client side and send them to the server, which has to be able to correctly deserialize them. The server also have implementations of all those lambda functions in the…
newbie
  • 65
  • 5
3
votes
2 answers

Show output while execute long-time running command Java without waiting RuntimeExec

I have command that takes about 4 minutes to complete execution. While executing the command from windows command prompt, it shows timing information and continuous output. I want to show that output while running the command from my Java code.…
3
votes
3 answers

Troubleshooting UnsupportedClassVersionError in IntelliJ IDEA

I'm going through a Java course, using Intellij IDEA. In this "Test" project, I have only two test classes as shown below (they really don't have any code). Before I get into the problem, I just need to state that all my projects run correctly,…
2
votes
0 answers

Unable to run SQLWorkbenchJ on Mac OS with `temurin-18.jdk` or `sapmachine-jdk-11.0.11.jdk`: Unable to load Java Runtime Environment

Related to this post, but I do not have enough reputation to post a comment there. The problem: SQL Workbench J fails to use Java on my machine. Steps I took: Installed SQLWorkbenchJ with brew install --cask sqlworkbenchj Tried to launch SQL…
2
votes
1 answer

what are the differences between capturingClass and implClass for Java SerializedLambda?

SerializedLambda's signature is as follows: SerializedLambda(Class capturingClass, String functionalInterfaceClass, String functionalInterfaceMethodName, String functionalInterfaceMethodSignature, int implMethodKind, String implClass, String…
Kevin JJ
  • 333
  • 1
  • 2
  • 9
2
votes
1 answer

Recompile with new class definition for mutation testing

I am trying to use openHFT/java-runtime-compiler to improve my mutation testing tools, from heavy use of disk-access to only use in-memory-compilation. In mutation testing, there was a two kind of class: A. the mutated class, a class that its…
1
vote
0 answers

Run Java single-file-source code with dependency and external library

I would like to know how to use the command line to run the Java single-file-source code. I know that I cannot refer to outside classes per rules. But I saw an YouTube video. The author is able to use external JAR library when he runs…
1
vote
2 answers

How to create handler inside thread that has not called Looper.prepare() in xamarin mobile app

I have a mobile application which has Finger Print Authentication and it uses xamarin framework. Until now everything worked well with all devices except Samsung Note 8. While trying to debug this device it gives me an exception…
Vitali
  • 341
  • 1
  • 5
  • 19
1
vote
1 answer

IDE's Java runtime (1.8u66) is outdated - this may cause stability issues. Please update to 1.8.0u112 or newer while opening PyCharm Community Edition

I recently downloaded PyCharm Community Edition for automation development using Python3. When i launch pycharm i am getting following alert in Event Log to upgrade my Java runtime. I am using Centos 6.7 and how can i update my Java runtime? I have…
0
votes
1 answer

How to resolve this "Unhandled Exception: PlatformException(Failed to run model, Interpreter busy,java.lang.RuntimeException: Interpreter busy" issue?

I am trying to create an android application utilizing the yolov5 model from TFlite. My custom detector will detect one class in real-time. As well as this app was built into my device, but after 2-3 seconds, later app closed, and an error occurred…
0
votes
0 answers

If RNetlogo is no longer being maintained, can I still use it? Running into errors

I am trying to use RNetlogo so that I can run a global sensitivity analysis on my model using the Sobol method but I am running into an error when I run the NLStart command (see below for code and error). I saw a message on one board where Volker…
Kate
  • 1
  • 1
0
votes
1 answer

Why does result of Math.pow() and * differ while calculating aswers in java ? and how do java calculate math in run-time memory?

I was trying to execute simple java program to calculate result with expression as: v^2 - u^2 / 2as that is v*v - u*u / 2*a*s code is in java 11 int v=16; int u =5; int a = 7; int s = 9; int res1 = v*v; int res2 = u*u; double FunRes1 = Math.pow(v,…
1
2 3