Java

Moderators: zibadian
Number of threads: 7836
Number of posts: 18235

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
PDFBox and Lucene in Eclipse and Netbeans Posted by javraki on 20 Jun 2009 at 8:39 AM
Hi all,

I want to learn Java and write a program using PDFBox and Lucene and I`m trying desperately to get both working in Eclipse and Netbeans.

Until now I couldn`t find some information on how to import zip files in Eclipse and Netbeans.

I see PDFBox under Java Build Path / Libraries and the contents of the PDFBox are in the project explorer under my project but when I try:

import org.pdfbox;

I get the error: "the import org.pdfbox cannot be resolved"

What I`m supposed to do with this PDFBox zip File?

How does it integrate with Eclipse and Netbeans?

What kind of adjustments do I have to do in my Java Build Path?

Please help!!!

Thanks in advance!
Report
Re: PDFBox and Lucene in Eclipse and Netbeans Posted by msalemegypt on 20 Jul 2009 at 11:29 PM
1-select your project
2-file->new->folder
3-name it lib (just for convenince)
4-drag and drop the PDFBox-0.7.3.jar and all files in the external folder (the folder came within pdfbox) int the lib folder you just created
5-select them all (the .jar files) and right click then select add to build path

good luck
Report
Re: PDFBox and Lucene in Eclipse and Netbeans Posted by javraki on 26 Jul 2009 at 2:14 AM
Thanks, it works like you described!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.