File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse - reference external classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse - reference external classes" Watch "Eclipse - reference external classes" New topic
Author

Eclipse - reference external classes

Steve Campbell
Ranch Hand

Joined: Dec 18, 2000
Posts: 41
I'm trying to create my first program using Eclipse (just downloaded 2.1). I have a .class file (given to me without any source) which I'm trying to reference. I created a .java file without a package name and will instantiate the class in the .class file. The .class file has a package name of com.xx.yy.
I've tried to bring it in using "Import" and the Java Build Path. I went thru the tutorial & help files, and tried every combination of things I could think of. I got this working using NetBeans, but wanted to see how easy this is using Eclipse. Under NetBeans I didn't need to import the .class files since the Java program I created already had the same package.
Can anyone help me get this working?
Thanks,
Steve
Steve Campbell
Ranch Hand

Joined: Dec 18, 2000
Posts: 41
I just got it working. I still need to play around with this tool (Eclipse) to try to figure out the quirks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse - reference external classes