I'm making a Java application in Eclipse that needs to run on both Windows and Mac. I made it into a Mac app that I'm able to run independent of Eclipse on my laptop, but when I tried to run it through terminal on another Mac machine (that had the Java version that I required), it showed the error message:
Cannot run (/Users/agastya/Desktop/appname.app). Error Code: -10810. How can I resolve this issue?
Thanks!
try to run the application from terminal
please use the full path to appname.app
It appears to be that you need to set JAVA_HOME and PATH
Please see the answer here
Related
I'm running Linux Manjaro and I'm writing my first Azure Function App in Java. I have succeeded in deploying from Intellij the function app but when trying to run it locally I get this error
I have tried to add java to the PATH variable and setting the JAVA_HOME variable as well but nothing fixes my issue.
I am also using the Zulu java 11 runtime in case it's relevant.
Setting up your SDK here may solve your problem:
I have installed Java on a Windows 10 system.
java --version works fine as it can show the Java version.
However, when running anything Java-related, the following error is thrown:
error : could not find java in JAVA_HOME or bundle at C:\Program
Files\Java\jdk-14.0.1\bin/bin/java
I am not sure what is wrong with the configurations.
Below are the attached screenshots:
Try without the Bin. Then it should work!
it's been exactly three days that I'm downloading all sorts of versions of netbeans, but in the end I can not run the command ./netbeans-8.2-linux.sh which always shows me an error .
here is somehow the message that sends me the terminal when I execute this command:
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Running the installer wizard...
No protocol specified
Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"
So I ask myself the question: how to solve this type of problem?
you're missing the JDK. most easy might be to install JDK 8u111 with NetBeans 8.2.
this would install both of them. otherwise just install the JDK - and then NetBeans.
I am trying to run visualvm in my Windows 8 machine and i am getting error 'Local java applications cannot be detected'. I tried to follow the below steps to resolve the issue as suggested in 'https://visualvm.github.io/troubleshooting.html'. I gave full permission to my 'AppData\Local\Temp\hsperfdata_Dhasan' folder. But still i am getting the same error whenever i start visualvm. Please help me to fix this issue.
Thanks.
Quit all java applications and delete hsperfdata_Dhasan folder.
When I try to run logstash, I get a load error: JRuby ext built for wrong Java version. Does anyone know what this means and how I can resolve it. I`m running this on putty if it makes a difference.
Command Line Error
I had this error on a Windows box, and I solved it by updating Java.
In my case, I updated it from an earlier version of Java 8 to Java version "1.8.0_121".