I have a properties file, called xxx.properties in the first search directory listed in PATH. However, when I call ClassLoader.getSystemResourceAsStream("xxx.properties") I get a NULL. Can someone explain to me why? Thanks a lot!
Joined: Nov 22, 2008
Are you sure you've set your CLASSPATH list to the correct values? (PATH doesn't mean anything much to a JVM). kind regards
Joined: Feb 13, 2001
Is it possible at all to get the PATH, not the CLASSPATH, into a string? Thanks a lot.