Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » pointing a class to a project
pointing a class to a project [message #90989] Fri, 29 August 2003 20:54 Go to next message
Eclipse UserFriend
Originally posted by: callendor13.yahoo.com

I have just completed a program for my CS class and I have a seperate
class that is being used by the program. When it compiles to says I have
errors refering to the class file. I looked at the Workspace doc and
cannot find anything on how to point, or add a .class file to the project
so that when it compiles and runs it works fine. I can compile and run it
fine under the terminal.
My system, if it makes a deference, is OS X.

Thanks for any help.
Re: pointing a class to a project [message #91193 is a reply to message #90989] Mon, 01 September 2003 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: faust.acm.org

An easy way to consider is to make a .jar file of the .class files and add
it to the Java Build Path of your project. Select the project then
File->properties. Choose "Java Build Path", libraries tab, then add external
jar.


Randy

"DJ Adams" <callendor13@yahoo.com> wrote in message
news:biosk6$tq8$1@eclipse.org...
> I have just completed a program for my CS class and I have a seperate
> class that is being used by the program. When it compiles to says I have
> errors refering to the class file. I looked at the Workspace doc and
> cannot find anything on how to point, or add a .class file to the project
> so that when it compiles and runs it works fine. I can compile and run it
> fine under the terminal.
> My system, if it makes a deference, is OS X.
>
> Thanks for any help.
>
Re: pointing a class to a project [message #94076 is a reply to message #91193] Wed, 10 September 2003 12:53 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Randy Faust wrote:

>An easy way to consider is to make a .jar file of the .class files and add
>it to the Java Build Path of your project. Select the project then
>File->properties. Choose "Java Build Path", libraries tab, then add external
>jar.
>

Even easier is to put the file into a class file folder and add that
folder to the build path.

HTH
Dani

>
>
>Randy
>
>"DJ Adams" <callendor13@yahoo.com> wrote in message
>news:biosk6$tq8$1@eclipse.org...
>
>
>>I have just completed a program for my CS class and I have a seperate
>>class that is being used by the program. When it compiles to says I have
>>errors refering to the class file. I looked at the Workspace doc and
>>cannot find anything on how to point, or add a .class file to the project
>>so that when it compiles and runs it works fine. I can compile and run it
>>fine under the terminal.
>>My system, if it makes a deference, is OS X.
>>
>>Thanks for any help.
>>
>>
>>
>
>
>
>
Previous Topic:Where do I find the javafamily example plugin?
Next Topic:How to Create a Jar in a Project Build
Goto Forum:
  


Current Time: Tue Jul 22 00:54:26 EDT 2025

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

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

Back to the top