Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException #54

Closed
bigtunacan opened this issue Feb 16, 2016 · 1 comment
Closed

Comments

@bigtunacan
Copy link

When trying to run on Mac OS X (El Capitan) it errors out with the exception

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 15
    at com.badlogicgames.packr.Packr.parseArgs(Packr.java:429)
    at com.badlogicgames.packr.Packr.main(Packr.java:314)

The following is what I'm executing to package my application.

java -jar ~/Downloads/packr.jar -platform-mac -jdk "https://bitbucket.org/alexkasko/openjdk-unofficial-builds/downloads/openjdk-1.7.0-u80-unofficial-macosx-x86_64-bundle.zip" -executable foo -classpath ["dist/frankenjar.jar"] -mainclass "JarMain" -vmargs "-Xmx1G" -minimizejre "soft" -outdir ./exe/
@code-disaster
Copy link
Member

I suspect an error in your command line. E.g. you write "-platform-mac" which should be "-platform mac".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants