 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
codon Guest
|
Posted: Thu Aug 25, 2005 4:47 am Post subject: property files and dll |
|
|
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
|
|
| Back to top |
|
 |
cpanon Guest
|
Posted: Sat Aug 27, 2005 3:45 pm Post subject: Re: property files and dll |
|
|
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.
codon wrote:
| Quote: | 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
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|