How do I generate a .jar application file with a WebView ?


Hello everyone,
I have a project which uses JavaFX technology and I have a problem on creating the .jar file for this project.
My JavaFX uses a webview which loads a HTML file (on my local storage). It seems that it runs perfectly if I run the project on IntelliJ.
But when I try to create the project with artifact from IntelliJ, my project seems like he doesn't load the Html file and I really don't know why...
Any hints ?

I also created a post on stackoverflow ->

Comment actions Permalink

Answered as stackoverflow self-response, so OK.


Please sign in to leave a comment.