Agastya Sharma
Agastya Sharma

Reputation: 79

Java Mac application failed with error code -10810

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!

Upvotes: 1

Views: 251

Answers (2)

dansiemens
dansiemens

Reputation: 578

It appears to be that you need to set JAVA_HOME and PATH

Please see the answer here

Upvotes: 0

Garlic
Garlic

Reputation: 66

  1. try to run the application from terminal
  2. please use the full path to appname.app

Upvotes: 1

Related Questions