Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / February 2005

Tip: Looking for answers? Try searching our database.

problem while setting class path..

Thread view: 
Kavitha - 06 Feb 2005 07:38 GMT
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_02\jdom-1.0
                 \src\java\org\jdom;

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

  Variable = CLASSPATH
  Value    = %CLASSPATH%;C:\j2sdk1.4.0_02
                \bin;C:\j2sdk1.4.0_02\lib;
                C:\j2sdk1.4.0_02\jre;

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.
kaeli - 08 Feb 2005 16:50 GMT
In article <c921a4f99fdb2070508780f8507f8f69
@localhost.talkaboutprogramming.com>, ckavitha84@nospam.gmail.com enlightened
us with...
> Hi,
>     I have WinNT(2000) and ORacle 9i..
[quoted text clipped - 5 lines]
> 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.

Signature

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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.