Hi,
My Java application could not launch, on two different machine even both have same JRE version on Mac. I can not use the symlink, because if an application is already running using symlink, my application will not launch on that Mac.

If we run that application using jar file then it run, but we want to launch using double click on application.app.

We are distributing our application to clients, we can't ask them to each time copy latest JavaApplicationStub (/System/Library/Frameworks/JavaVM.framework/Resources/MacOS) to launch app.

Is there any code so that our application can use latest JavaApplicationStub? Suggest solution.

Thanks in Advance!