0

I have bundled my.jar to Mac OSX .app file using jarbundler2.4 and using universalJavaStubApplication
The generated .app is running on my Desktop folder but not running in /Application directory. I already tried changing the permission of file, yet its of no help.

Any idea how to solve this would be helpful.

Thanks,
Pawan

Community
  • 1
  • 1
Pawan Kumar
  • 231
  • 4
  • 11
  • Does it run in any other folder? I gues that there are some hardcoded link. Can you launch the app from terminal. Like "./AppName.app/Contents/MacOS/AppName" ? If yes does it report any message? What's the generated bundle structure. Post more details. – Marek H Sep 11 '15 at 20:17
  • I am able to launch the app from terminal only on Desktop folder, not in /Application as stated by you. The output are exactly same in both case. I guess there is something wrong with exec "$JAVACMD" \ -cp "${JVMClassPath}" \ -Xdock:icon="${ResourcesFolder}/${CFBundleIconFile}" \ -Xdock:name="${CFBundleName}" \ ${JVMOptions:+$JVMOptions }\ ${JVMDefaultOptions:+$JVMDefaultOptions }\ ${JVMMainClass}\ ${JVMArguments:+ $JVMArguments} However parameter in both cases are same – Pawan Kumar Sep 12 '15 at 05:27
  • As I said, you have absolute link. One of those variables is absolute instead of relative. Also launch console.app to see error messages when you launch the app from Application folder – Marek H Sep 12 '15 at 11:32

0 Answers0