-
Notifications
You must be signed in to change notification settings - Fork 172
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
Some ambiguity with vmargs in config.jason #65
Comments
It appears that the -splash VM argument is processed and filtered by the java executable, and not forwarded to / ignored by libjvm. WinRun4J for example implements its own solution, which isn't cross-platform. |
Thanks for rply.. that means it is not possible to use splashscreen with packr. |
No. Not per VM option. And I believe it would be a major pain to add custom support, like WinRun4J does, which works well on all platforms. I don't know your requirements. If you really need a splash screen of some kind, it may be feasible to do one in Java instead. Loading and starting the JVM doesn't need much time on desktop systems. |
Once again thanks for your suggestion, I implemented splash screen in java itself. Actually my application takes a while in starting up, thats why splash screen was badly needed. This is what I did..
For now it does the job, but I am not much comfortable with JVM loading mechanism so there may be few problems with the implementation. Kindly reply if there is any improvement needed. |
I am having problem with showing splash screen using exe generated with packr. I tried changing config.jason to include vmargs, but no luck.
This is my Folder Structure
Application shows splash screen, when I run through command prompt with this command
javaw -Xmx1G -splash:splash.png -classpath simphy.jar;jogamp-fat.jar;commons-net-3.4.jar org.shikhar.simphy.Sandbox
but when application is invoked through packr generated exe, no splashscreen is shown(although application runs properly). This is my config.jason
The content of simphy.jar(which contains main class) is as shown
and this is content of META-INF in simphy.jar
The text was updated successfully, but these errors were encountered: