Discussion:
property files and dll
(too old to reply)
codon
2005-08-25 04:47:53 UTC
Permalink
Hello
I have a class that compiles fine, however at runtime it is failing to pick up properties files and a dll. I
have made sure the classpath is set to explicitly include them from Windows for both the Administrator & the
System. I have added the folders as "libraries". They show up as the classpath in the preview tab of the
project, however the class fails with the signature that it failed to load the properties file. If I compile
and run another class that does not depend on the properties files is given the dll as a startup parameter, it
runs just fine. What could I be missing? tia
cpanon
2005-08-27 15:45:57 UTC
Permalink
Hello, again
I found out it has to do with the system class loader vs the application
class loader. Fine. So I put the properties in a jar file with the
same package as where I first call them and put that jar in the
/jre/lib/ext and still I get the same answer. Ideas? tia.
Post by codon
Hello
I have a class that compiles fine, however at runtime it is failing to
pick up properties files and a dll. I have made sure the classpath is
set to explicitly include them from Windows for both the Administrator &
the System. I have added the folders as "libraries". They show up as
the classpath in the preview tab of the project, however the class fails
with the signature that it failed to load the properties file. If I
compile and run another class that does not depend on the properties
files is given the dll as a startup parameter, it runs just fine. What
could I be missing? tia
Loading...