Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Newbie Problem
Newbie Problem [message #120061] Mon, 28 November 2005 02:28 Go to next message
Eclipse UserFriend
Originally posted by: lws49028.zzzzzzzzzzz.com

I have some Java code that I am trying to compile in Eclipse. The code is
available at: http://www.interactivebrokers.com/download/twsapi_unixmac.ja r

Anyway, it is missing a couple of files. The provider says to copy a
couple of .class files from another distribution over into the file
structure. I do that, but since they are not source files they don't show
up in the package explorer. I've also tried putting them in another
project and including that project in the build. No joy.

Can someone tell me how I might get my project/package to pick up the
class files?

(It compiles and runs from command line with javac).


Thanks.
Re: Newbie Problem [message #120534 is a reply to message #120061] Tue, 29 November 2005 19:18 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Larry Sturtz wrote:
>
> I have some Java code that I am trying to compile in Eclipse. The code
> is available at:
> http://www.interactivebrokers.com/download/twsapi_unixmac.ja r
>
> Anyway, it is missing a couple of files. The provider says to copy a
> couple of .class files from another distribution over into the file
> structure. I do that, but since they are not source files they don't
> show up in the package explorer. I've also tried putting them in
> another project and including that project in the build. No joy.
>
> Can someone tell me how I might get my project/package to pick up the
> class files?

If the code you're trying to compile has a dependency on other classes
that are not in the source, those have to be included as a library on
the Build Path of your Project in Eclipse.
Usually such dependencies would be provided as JAR files, not raw .class
files, but either way they must be specified in the Project Properties
under Java Build Path.

HTH,
Eric
Previous Topic:problem building nightly drops
Next Topic:Opening Java classes
Goto Forum:
  


Current Time: Thu Dec 26 15:45:02 GMT 2024

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

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

Back to the top