AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem while setting class path..

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Kavitha
Guest





PostPosted: Sun Feb 06, 2005 7:38 am    Post subject: problem while setting class path.. Reply with quote



Hi,
I have WinNT(2000) and ORacle 9i..
While running a java prg, the following error occured :

" java.lang.noclassdeffounderror :org/jdom/Illega
lNameException"

To rectify it , I had set the following classpath too:

In Advance Settings -> Environmental Variabels
-> User Variables - >

Variable = CLASSPATH
Value = %CLASSPATH%;C:j2sdk1.4.0_02
bin;C:j2sdk1.4.0_02jdom-1.0
srcjavaorgjdom;

In Advance Settings -> Environmental Variabels
-> System Variables - >

Variable = CLASSPATH
Value = %CLASSPATH%;C:j2sdk1.4.0_02
bin;C:j2sdk1.4.0_02lib;
C:j2sdk1.4.0_02jre;


Even when i set the above mentioned CLASSPATH,i got the same error...

Could anyone tell me how to rectify the baove mentioned error ??

Thank you.


Kavitha.







Back to top
kaeli
Guest





PostPosted: Tue Feb 08, 2005 4:50 pm    Post subject: Re: problem while setting class path.. Reply with quote



In article <c921a4f99fdb2070508780f8507f8f69
@localhost.talkaboutprogramming.com>, [email]ckavitha84 (AT) nospam (DOT) gmail.com[/email] enlightened
us with...
Quote:
Hi,
I have WinNT(2000) and ORacle 9i..
While running a java prg, the following error occured :

" java.lang.noclassdeffounderror :org/jdom/Illega
lNameException"

To rectify it , I had set the following classpath too:


Unix:
CLASSPATH=$CLASSPATH:/j2sdk1.4.0_02/jdom-1.0/src/java/
(set to directory ABOVE org dir b/c of packages)

Change to Windows syntax as appropriate.

--
--
~kaeli~
Experience is something you don't get until just after you
need it.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace


Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases 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.