Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
73 views

I have never used JavaFX before and I am trying to get it running in VS Code using the basic Maven project build tools and it creates the project just fine. I then go in and update all the version in ...
Mike Allen's user avatar
1 vote
2 answers
115 views

I wish to determine if absolute path to java executable is from a JDK or JRE. I tried the below command on bin/java under JDK as well as JRE /bin/java -XshowSettings:properties -version But the output ...
Ashar's user avatar
  • 3,195
0 votes
0 answers
103 views

I have a question. I have written a program that sends me an SMS as soon as something specific does not appear in a log. However, it is about this method: private static void sendWarningSMS() { ...
Sandro's user avatar
  • 1
1 vote
1 answer
11k views

I am using mac and inside mac using Android Stuidio, I have done all setup and now My project requires Java version 11 but currently I have Java version 17. I have checked Java version with this ...
Jaimin Modi's user avatar
1 vote
0 answers
104 views

I am trying to build a Cordova App to test on my Android device but get the following error: * Where: Build file 'C:\tm470\karate\platforms\android\app\build.gradle' line: 20 * What went wrong: A ...
David Herbert's user avatar
1 vote
1 answer
1k views

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 ...
Md Mahadi Hasan Sany's user avatar
0 votes
0 answers
20 views

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 ...
Kate's user avatar
  • 1
0 votes
1 answer
88 views

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*...
Anjaneekumar Singh's user avatar
0 votes
2 answers
947 views

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....
Ruliam's user avatar
  • 5
3 votes
1 answer
1k views

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 ...
dlaz's user avatar
  • 53
0 votes
0 answers
50 views

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 ...
Hugo Henrique's user avatar
1 vote
2 answers
923 views

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 ...
Oluwaseun Adesina's user avatar
2 votes
0 answers
1k views

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 ...
CoolJetdi's user avatar
0 votes
1 answer
442 views

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 ...
user avatar
0 votes
1 answer
277 views

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 ...
adamizzo's user avatar
-3 votes
1 answer
492 views

While working on a Java Swing project I encountered the following runtime error "An unrecoverable stack overflow has occurred... Java returned: -1073741819". Project environment: Netbeans 12,...
Jaja's user avatar
  • 838
0 votes
0 answers
46 views

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/...
Antonio Ramírez Soláns's user avatar
0 votes
0 answers
250 views

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 ...
Adam Deen's user avatar
0 votes
1 answer
270 views

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 ...
user avatar
0 votes
1 answer
266 views

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 ...
Sijo Kurien's user avatar
0 votes
1 answer
752 views

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 "::&...
Shafaq's user avatar
  • 1
2 votes
1 answer
386 views

SerializedLambda's signature is as follows: SerializedLambda(Class capturingClass, String functionalInterfaceClass, String functionalInterfaceMethodName, String functionalInterfaceMethodSignature, ...
Kevin JJ's user avatar
  • 353
3 votes
0 answers
601 views

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 ...
newbie's user avatar
  • 65
3 votes
2 answers
2k views

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 ...
MSaudi's user avatar
  • 4,692
0 votes
0 answers
103 views

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 ...
user avatar
3 votes
4 answers
26k views

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 ...
Armino's user avatar
  • 151
6 votes
3 answers
17k views

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 ...
monkey123's user avatar
  • 183
1 vote
2 answers
3k views

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 ...
Stack Overflow's user avatar
0 votes
2 answers
1k views

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 ...
Mr.Drew's user avatar
  • 1,159
7 votes
2 answers
21k views

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 ...
Lobotomeh's user avatar
-3 votes
2 answers
667 views

Given a random integer array and a number x. Find and print the triplets of elements in the array which sum to x. While printing a triplet, print the smallest element first. That is, if a valid ...
Vaibhav Sharma's user avatar
0 votes
1 answer
97 views

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 -...
Vishal Monga's user avatar
0 votes
1 answer
81 views

I want to make my job a little easier, I tried creating a batch file to get the JRE path. I'm only getting the javaw.exe path. So for example we are using Team Center 10. It has this tem_init and it ...
RTarson's user avatar
  • 351
1 vote
2 answers
841 views

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 ...
Vitali's user avatar
  • 345
0 votes
0 answers
60 views

I have to implement a static code analysis tool for a custom JVM language and I would like to have most of the methods that are accessible in the Java Class<?> class like for example: ...
BlueLettuce16's user avatar
1 vote
1 answer
2k views

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 ...
Ashwin Srinivas Murthy's user avatar
5 votes
3 answers
15k views

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 ...
CrazySynthax's user avatar
  • 15.2k
0 votes
0 answers
155 views

We have a desktop application where we are packing Application Jar and JRE as well to avoid Java dependency in customer machine. But issue is if the customer is having the Java installed already in ...
user2964628's user avatar
2 votes
1 answer
289 views

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 ...
ekoweb's user avatar
  • 23