Netbeans - cannot read file in same dir than class
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Dennis_Meyer
Posted On:   Thursday, August 22, 2002 02:28 AM

Hi,


I am new in netbeans and tried to use some classes I already compiled and ran under Sun JDK 1.4.1 without any problems. There is a config-file I want to read that is stored in the same directory than my class. It's impossible to read that file except I use the hole (absolute) path. May I use a relative path and how do I do this? I've read something about classpath and mounting but I didn't found something about this problem. By the way: the file, I want to read is in a mouted directory and the classes compile without any error (like they do in JDK).


THX a lot for any comment or solution,


Dennis

About | Sitemap | Contact