I would like to know if non-jar resources can be specified in a JNLP file. Resources such as zip files or even directories are automatically loaded into the Java WebStart application in the same way as jar files.
Thanks in advance.
The short answer is no. For security reasons, web start requires all resources to be in jar files (including native libraries).
I am not familiar with WebStart / JNLP, but you can pack any file into a jar file and then access it as follows:
InputStream is = getClass( ).getResourceAsStream("/path/in/jar/file.png");
Source: https://habr.com/ru/post/1344818/More articles:Fatal error: scala object not found - scalaPython: get list of file related applications (Linux) - pythonHow to check user input for integer? - c #How to ensure that the code works in multiple browsers? - htmlREGEX corresponds to 100% certainty, approximately 99%? - ruby | fooobar.comJFrame animated resizing Mac OS X - javarails accepts_nested_attributes_for and validation ... Rails 2.3.11 - validationhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1344821/writing-hebrew-in-my-websites-top-menu&usg=ALkJrhhvdOuAAR65fwsre5MfKL4PuNuENAWired animation and two-way snapping issue - wpfPlacing the current date in the text box of a PDF using JavaScript - javascriptAll Articles