"Java Virtual Machine Launcher -A Java Exception has occured" error in Maven .jar file
When I use "java -jar [file name].jar" using cmd it works, but doucle cliking the .jar file give me an error. I use maven assembly plugin, and netbeans > build with dependencies
8 Replies
⌛
This post has been reserved for your question.
Hey @Rice! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
This is the error
you might want to try jarfix
Essentially it looks like your OS doesn't correctly associate JAR files with how to open them
Thank you @dan1st | Daniel
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
Did it work?
It did
Post Closed
This post has been closed by <@307017632287162369>.