JDOM Installation Problem

C

Corey Brand

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?
 
A

Arne Vajhøj

Corey said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,790
Messages
2,569,637
Members
45,346
Latest member
EstebanCoa

Latest Threads

Top