JDOM Installation Problem

This is a discussion on JDOM Installation Problem within the Java forums in Programming Languages category; I've downloaded the JDOM binaries and added the path to my CLASSPATH variable, but neither Eclipse nor NetBeans seems to pick it up. Here's my current setting: CLASSPATH = .;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip;C: \Program Files\Java\jdom-1.1\build\jdom.jar What's going wrong?...

Go Back   Application Development Forum > Programming Languages > Java

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-10-2008, 11:54 PM
Corey Brand
Guest
 
Default JDOM Installation Problem

I've downloaded the JDOM binaries and added the path to my CLASSPATH
variable, but neither Eclipse nor NetBeans seems to pick it up.

Here's my current setting:

CLASSPATH = .;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip;C:
\Program Files\Java\jdom-1.1\build\jdom.jar

What's going wrong?
Reply With Quote
  #2  
Old 11-11-2008, 12:15 AM
Arne Vajhøj
Guest
 
Default Re: JDOM Installation Problem

Corey Brand wrote:
> I've downloaded the JDOM binaries and added the path to my CLASSPATH
> variable, but neither Eclipse nor NetBeans seems to pick it up.
>
> Here's my current setting:
>
> CLASSPATH = .;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip;C:
> \Program Files\Java\jdom-1.1\build\jdom.jar
>
> What's going wrong?


Don't use the global CLASSPATH env.

It is a leftover from the mid-1990's.

Add the jar file(s) to the project inside the IDE.

In Eclipse: project properties, build path, add external jar file.

Arne
Reply With Quote
  #3  
Old 11-11-2008, 12:30 AM
Corey Brand
Guest
 
Default Re: JDOM Installation Problem

That did it!

Many thanks!

- Corey


On Nov 10, 11:15*pm, Arne Vajhøj <a...@vajhoej.dk> wrote:

> [snip]
>
> Don't use the global CLASSPATH env.
>
> It is a leftover from the mid-1990's.
>
> Add the jar file(s) to the project inside the IDE.
>
> In Eclipse: project properties, build path, add external jar file.
>
> Arne


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:18 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.