PDA

View Full Version : Java related question



saveyourtime
07-31-2009, 08:00 AM
Hi all,

I have a class and a text file inside a jar. How can I let the class access the text file.

The Class-path in the manifest seems to provide access to files outside the jar only.

Thank you

_______________

emilywebster
08-07-2009, 03:15 PM
I think by default the class should read the file inside your the same directory.