You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Java application launch failed

I am try to creating a .jar file through netbeans IDE, After clean and build. In project folder i am click the .jar file then dialogue says


Check Console for possible error messages related to ”/Users/"user_name "/Documents/sample/target/sample-v1.1.jar”


here user_name is the name of user. I have Java latest version installed. I have searched through lots of videos and forums. Please help me !!

Posted on Feb 2, 2023 9:29 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 2, 2023 10:30 AM

Java may not have permission access to your Documents folder and doesn’t know to ask.

You could try making a folder at the root of your Home folder, or give java Full Disk Access in Privacy & Security.

1 reply

Java application launch failed

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.