Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problem setting project classpath
Problem setting project classpath [message #64441] Sun, 15 May 2005 21:33 Go to next message
Eclipse UserFriend
Originally posted by: tony.campbellcooke.btopenworld.com

This is a multipart message in MIME format.
--=_alternative 0076719A80257002_=
Content-Type: text/plain; charset="US-ASCII"

Pardon me if this is a dumb question - I'm new to both Java and Eclipse.

I'm running Eclipse 3.0.2 on XP Home, and attempting to set .classpath
settings for a project.

Since I'm accessing Lotus Domino databases, I want to put jsdk.jar in the
classpath. But when I edit the .classpath for the project thus:

<classpathentry kind="src" path=".;C:\Program
Files\lotus\Domino\jsdk.jar"/>

I get the error:

Severity Description Resource In Folder Location
Creation Time
2 Project ND6Bible is missing required source folder: '.;C:Program
Files/lotus/Domino/jsdk.jar' ND6Bible 15 May
2005 22:07:09

The first backslash is being removed, whatever I put in there. jsdk.jar
definitely exists in that directory.

Any idea how I get round this? Or is there an alternative way of
specifying a classpath that doesn't have this problem?

tia

Tony
--=_alternative 0076719A80257002_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Pardon me if this is a dumb question
- I'm new to both Java and Eclipse.</font>
<br>
<br><font size=2 face="sans-serif">I'm running Eclipse 3.0.2 on XP Home,
and attempting to set .classpath settings for a project.</font>
<br>
<br><font size=2 face="sans-serif">Since I'm accessing Lotus Domino databases,
I want to put jsdk.jar in the classpath. But when I edit the .classpath
for the project thus:</font>
<br>
<br><font size=2 face="Courier New">&lt;classpathentry kind=&quot;src&quot;
path=&quot;.;C:\Program Files\lotus\Domino\jsdk.jar&quot;/&gt;</font>
<br>
<br><font size=2 face="sans-serif">I get the error:</font>
<br>
<br><font size=2 face="sans-serif">Severity &nbsp; &nbsp; &nbsp; &nbsp;Description
&nbsp; &nbsp; &nbsp; &nbsp;Resource &nbsp; &nbsp; &nbsp; &nbsp;In
Folder &nbsp; &nbsp; &nbsp; &nbsp;Location &nbsp; &nbsp; &nbsp;
&nbsp;Creation Time</font>
<br><font size=2 face="sans-serif">2 &nbsp; &nbsp; &nbsp; &nbsp;Project
ND6Bible is missing required source folder: '.;C:Program Files/lotus/Domino/jsdk.jar'
&nbsp; &nbsp; &nbsp; &nbsp;ND6Bible &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;15
May 2005 22:07:09</font>
<br>
<br><font size=2 face="sans-serif">The first backslash is being removed,
whatever I put in there. jsdk.jar definitely exists in that directory.</font>
<br>
<br><font size=2 face="sans-serif">Any idea how I get round this? Or is
there an alternative way of specifying a classpath that doesn't have this
problem?</font>
<br>
<br><font size=2 face="sans-serif">tia</font>
<br>
<br><font size=2 face="sans-serif">Tony</font>
--=_alternative 0076719A80257002_=--
Re: Problem setting project classpath [message #64577 is a reply to message #64441] Mon, 16 May 2005 11:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: iwantit.gmail.com

why not use the IDE GUI complete this task?
open the project properties dialog, select the Java Build Path column, and
select the Libraries Tab. then add the jar file in it.
good luck!
Re: Problem setting project classpath [message #64689 is a reply to message #64577] Mon, 16 May 2005 14:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tony.campbellcooke.btopenworld.com

This is a multipart message in MIME format.
--=_alternative 00502CEC80257003_=
Content-Type: text/plain; charset="US-ASCII"

Thanks, that works fine.

Was what I was trying to do incorrect, or is this another way of
achieving the same thing?
--=_alternative 00502CEC80257003_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Thanks, that works fine.</font>
<br>
<br><font size=2 face="sans-serif">Was what &nbsp;I was trying to do incorrect,
or is this another way of achieving the same thing?</font>
--=_alternative 00502CEC80257003_=--
Re: Problem setting project classpath [message #65008 is a reply to message #64689] Tue, 17 May 2005 02:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: iwantit.gmail.com

adding a external jar file should be:
<classpathentry kind="lib" path="/share/lib/commons-httpclient-2.0.2.jar"/>
but when using IDE, why do you try this?
it integrates all this tasks with GUI.
Re: Problem setting project classpath [message #65168 is a reply to message #65008] Tue, 17 May 2005 10:31 Go to previous message
Eclipse UserFriend
Originally posted by: tony.campbellcooke.btopenworld.com

This is a multipart message in MIME format.
--=_alternative 0039D09580257004_=
Content-Type: text/plain; charset="US-ASCII"

I was just following instructions in a book that was supposedly telling me
how to use Eclipse with Domino
--=_alternative 0039D09580257004_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I was just following instructions in
a book that was supposedly telling me how to use Eclipse with Domino </font>
--=_alternative 0039D09580257004_=--
Previous Topic:help with cvs plugin setting files
Next Topic:Empty "Source File Selection" dialog box - Eclipse 3.0.2 on AMD 64 Linux
Goto Forum:
  


Current Time: Tue Nov 12 19:44:02 GMT 2024

Powered by FUDForum. Page generated in 0.07791 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top