Results 1 to 2 of 2
- 04-10-2011, 07:01 PM #1Member
- Join Date
- Jan 2011
- Rep Power
Creating Jar Files with functioning input files
I'm using net beans with windows 7. I've created a program, "Bio Game", and it has to read from a txt file. The txt file is in the Bio Game directory and works fine when I'm running it from net beans. However, when I jar it it can no longer find the file. Where does the file need to be to function properly in a jar file?
- 04-10-2011, 11:37 PM #2
The text file needs to be in the same directory as the Jar file.
- By Deathmonger in forum New To JavaReplies: 6Last Post: 06-23-2008, 12:59 AM