Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to reference an external class?
How to reference an external class? [message #157480] Mon, 19 June 2006 15:36 Go to next message
Eclipse UserFriend
Originally posted by: Lore.Leuneog.gmx.net

Hello

I'm using eclipse 3.0 and I want to reference the class of a single
class-file (I don't have the .java file) which is placed in the same
folder as the java-files other of the project.
I tried to change the java build path in the project properties. But the
external class name is still unknown in my project.

How do I reference an external class file the right way?

Thank you
Sincerely
Lore
Re: How to reference an external class? [message #158018 is a reply to message #157480] Wed, 21 June 2006 20:06 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Lore wrote:
> Hello
>
> I'm using eclipse 3.0 and I want to reference the class of a single
> class-file (I don't have the .java file) which is placed in the same
> folder as the java-files other of the project.
> I tried to change the java build path in the project properties. But the
> external class name is still unknown in my project.
>
> How do I reference an external class file the right way?

If you only have a single .class file (instead of a JAR), then you can
put the .class file in its own directory in your project, and then in
the project Build Path configuration use the "Add Class Folder..."
button to select that directory.

Hope this helps,
Eric
Previous Topic:Support Websphere Server
Next Topic:Installing???
Goto Forum:
  


Current Time: Sat Jul 13 16:42:31 GMT 2024

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

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

Back to the top