BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

property files and dll

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler
View previous topic :: View next topic  
Author Message
codon
Guest





PostPosted: Thu Aug 25, 2005 4:47 am    Post subject: property files and dll Reply with 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
cpanon
Guest





PostPosted: Sat Aug 27, 2005 3:45 pm    Post subject: Re: property files and dll Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.