Reputation: 79
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
Reputation: 578
It appears to be that you need to set JAVA_HOME
and PATH
Please see the answer here
Upvotes: 0
Reputation: 66
Upvotes: 1