Reputation: 31
I have a particular issue I can't seem to find an answer for, or rhyme/reason to why it's happening in the first place. I'm running the newest version of MacOS with Java up to date, but I have 1 particular JAR that won't open. I get the The Java JAR file could not be launched. Check the console for possible error messages
When I run the program from the console, it runs just fine so I have no idea what to do. I'm almost out of hair from pulling it out. What's going on?
-This is the only JAR file that has this issue. I have mutiple other JARs that run just fine.
-All Jars are developed from myself
-I compiled it in Eclipse, from 2 different computers and it's the same error BUT ONLY ON MY iMac. When I run it on my MacBook it runs fine.
Please help me - I'm desperate.
Upvotes: 0
Views: 2177
Reputation: 31
It appears my workspace is somehow corrupted. When I made a new project and then copied+pasted all the source code over to this new project, then export it, it works just fine.
Upvotes: 1