Hi! I found out the solution. If not letting jpackage create runtime but creating it by jlink and pass it to jpackage everything works perfectly. In this case the runtime can be used from outside not only by the packaged app. There is bin directory and java under it, etc. Cheers, Lóránd
You can use navigate method to render images on your filesystem. JWebBrower.navigate("file:///logo.jpg");
Using JWebBroser from installed app
Hi, I have an applicatin which uses JWebBrowser and it works correctly started from IntelliJ. I installed that application by installer created by jpackage tool and starting the installed app I got the following: Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Failed to spawn the peer VM! at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface$OutProcess.createProcess(SWTNativeInterface.java:982) at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface$OutProcess.createOutProcessMessagingInterface(SWTNativeInterface.java:1025)...