T
tiewknvc9
Is there a web page that details the java coding differences between
running a java application in a directory structure, and running an
application as a jar file?
Basically I have created a java application. In my debugger, of
course, it is in a directory structure, so I reference things like
images by opening the image file in myapp\images\myimage.jpg
However this fails when I jar the application. Of course it fails!
It's in a jar file!
But I was looking for a reference page on how to alter my code for all
occurrences similar to this. Surely there must be some web page that
details what I would need to do to make my application jar --- safe?
Thanks!
running a java application in a directory structure, and running an
application as a jar file?
Basically I have created a java application. In my debugger, of
course, it is in a directory structure, so I reference things like
images by opening the image file in myapp\images\myimage.jpg
However this fails when I jar the application. Of course it fails!
It's in a jar file!
But I was looking for a reference page on how to alter my code for all
occurrences similar to this. Surely there must be some web page that
details what I would need to do to make my application jar --- safe?
Thanks!