R
rob hadow
I have written an application which is a kind of search engine for a book.
I down loaded off the net the list files which contain the program listings
for the book.
So my application can allow a user to search for any program listing.
The application works.However I want to put it into a JAR together with the
lst files (list files), so that the application can be run by clicking on
the JAR.
I have got it run OK, but I have to have the lst files in the directory at
which the the JAR is executed from. I can't get the application to get the
list files from the JAR itself.
I have the class files and the list files in a package, all contained in the
JAR. I have used a manifest file.
How do I get my application to look for the list files in the JAR rather
than looking in the cuurent directory?
I would be grateful for any suggestions! I hope my problem makes sense!
Rob Hadow
I down loaded off the net the list files which contain the program listings
for the book.
So my application can allow a user to search for any program listing.
The application works.However I want to put it into a JAR together with the
lst files (list files), so that the application can be run by clicking on
the JAR.
I have got it run OK, but I have to have the lst files in the directory at
which the the JAR is executed from. I can't get the application to get the
list files from the JAR itself.
I have the class files and the list files in a package, all contained in the
JAR. I have used a manifest file.
How do I get my application to look for the list files in the JAR rather
than looking in the cuurent directory?
I would be grateful for any suggestions! I hope my problem makes sense!
Rob Hadow