Hello,
I packed my swing application into an executable jar file.
I had a button that will open a pdf file located in a resources folder located in the root directory of the jar file.
the code I have in the jar file was
when executing the jar file. I click the button that is supposed to launch the pdf file. i get the following exception
java.lang.IllegalArgumentException: the file file:\c:\Desktop.jar!\resources\User_Guide.pdf doesn't exist.
any help?
the spelling of the file name is correct