Newbie Problem [message #120061] |
Mon, 28 November 2005 02:28 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06805 seconds