20 questions
1
vote
2
answers
115
views
Given an absolute path to java.exe How to determine if it is JDK or JRE
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 ...
0
votes
1
answer
226
views
Error: "java: cannot find symbol - symbol: method inRange"
I am working on a Java project that utilizes OpenCV 4.1.2 for image processing. However, I'm encountering an error when using the Imgproc class. The specific error message I'm receiving is:
java: ...
0
votes
0
answers
96
views
Cordova doesn't detect JDK installation
I am using windows.
When I type in the cmd cordova requirements I get the following message:
Java JDK: not installed
I have tried the following:
-I have installed the JDK both version 8 and 16
-I ...
0
votes
1
answer
216
views
Linking .lib and .h files (OpenJDK 1.8)
I have a project, that includes jni.h and jvmti.h files
here
theese files are stored in jdk8 folder (already installed on my pc)
here
but the main problem - i dont know how can i correctly link jdk ...
0
votes
1
answer
564
views
JavaFX update table
I want to update a table view after that row has been updated in the database.
Product Controller :-
package Controllers;
import CustomObjects.Product;
import Models.ProductModel;
import javafx....
0
votes
2
answers
1k
views
Converted jar to exe file but not working after installation
I converted my first java swing app to exe using advanced installer and inno setup(Tried both no result).
Considering Inno Setup : on double clicking nothing happens
Considering : Advanced Installer -...
0
votes
0
answers
78
views
Created a project in react-native but when giving npx react-native run-android some errors keeps popping
I just installed react-native today, i dont have any prior knowledge was following tutorial and when i tried to run the app it keeps showing the error.
screenshot of the error message
screenshot of ...
0
votes
0
answers
107
views
installed java-jdk and changed environment path variable too but still ' javac ' command gives 'Not recognised' output
I have installed the java-jdk(according to oracle instructions). And I have changed the environment path variable(path option)_ as well according to oracle. But still the command javac gives "not ...
0
votes
2
answers
2k
views
Can not create initial context in java program
public static void setupInitialContext() {
try {
System.out.println("Loading Initial Context");
NamingManager.setInitialContextFactoryBuilder(new InitialContextFactoryBuilder() {
...
4
votes
1
answer
6k
views
Running a java program on command prompt
- Background information:
I have recently started learning the basics of Java programming language. To run my program at the command prompt, I downloaded the java development kit also known as JDK, ...
1
vote
0
answers
734
views
Java Development Toolkit App Not Launching
I have designed a JavaFX application I would like to make accessible from my web server. It is coded in Java, uses JavaFX, and I have attempted to make it accessible here: bencitrin.com.
I tried ...
1
vote
0
answers
82
views
Update to Latest JDK on MacBook Pro El Capitan
I have a MacBook Pro and I am trying to update to the latest JDK (1.8) so that I can run Android Studio. I currently run 1.7 but need it updated to the latest, 1.8. I have all of my OSX software up to ...
-2
votes
2
answers
954
views
Difference between Java JDK release Version
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
This link contain java development toolkit.
Question is:
Difference between Java JDK 8u91 AND JDK 8u92 ?
Which ...
0
votes
1
answer
332
views
Get rid of Java Deployment Toolkit when running applets
I would like to get rid of Java Deployment Toolkit when running applets. Actually my customer doesn't want to click activate in applet before it start running. It happens if the JRE has installed the ...
4
votes
0
answers
1k
views
How to pass JVM arguments to Java Web Start from HTML
Using the Deployment Toolkit, is it possible to launch a Java Web Start application through the function deployJava.launchWebStartApplication.
I would like to pass one additional dynamic information ...