Closed frosch95 closed 8 years ago
I'll be gone most of the day, but I'll get back to you as soon as possible with a solution.
No need to hurry, take your time. The usage of fxlauncher is just a bonus on my project, It is still possible to generate an archieve with a batch file in it.
Best regards, Andi
Sorry for getting back to you on this so late. I've added a check to avoid the NPE, even though named parameters should be available at this stage, even when loaded via WebStart. However, since FXLauncher is an alternative to WebStart, and was never meant to launch via it, I will not investigate the issue further right now, since the use case is not really there.
FXLauncher works best when you use it in conjunction with javapackager. Is that not an option for you?
Starting the application with webstart without cacheDir information leads into the follwing NPE (you could test it with http://javafx.ninja/smartcsv/SmartCSV.fx.html
java.lang.NullPointerException at fxlauncher.Launcher.createApplication(Launcher.java:165) at fxlauncher.Launcher.lambda$start$0(Launcher.java:70)
How could I set the parameter? As argument in the jnlp file has not worked out.
Thanks for your help! Kindest regards, Andi