Jar bundler -d32 vm arguments

417 Views Asked by At

I have created an application which uses 32bit libraries on my 64bit Mac Lion so to run my application I need to pass -d32 vm argument in eclipse and it works fine. I created runnable jar of application and it also works fine when I run jar from terminal with -d32 vm arguments but the problem comes when I creates .app file of my application using jar bundler. I passed -d32 in vm options textbox of jar bundler but when I run .app the application icon comes up in dock but application window does not show up.

I think it is vm argument issue but I am not sure about it. I was wondering if there is some other way to pass vm arguments in jar bundler.

Any suggestions related to this problem are welcome.

Thanks in advance

1

There are 1 best solutions below

1
On

I haven't found a way of doing this through the Jar Bundler app, but their is a solution.

Create the .app as usual using Jar Bundler. Right click and "Get Info" on the newly-created application, check the "Open in 32-bit mode" box.

Setting this flag programatically seems to be tricky but possible.