java jar import problem

2 views (last 30 days)
J
J on 3 Apr 2014
I have these lines of code:
javaaddpath('C:\mypath\jhud\Desktop\recon_code\FontBox-0.1.0\lib\FontBox-0.1.0.jar'); javaaddpath('C:\mypath\PDFBox-0.7.3\lib\PDFBox-0.7.3.jar');
pdfdoc = org.pdfbox.pdmodel.PDDocument;
I get the following error: Undefined variable "org" or function "org.pdfbox.pdmodel.PDDocument".
does the "pdfdoc ="etc line of code instantiate an object ? what is trying to do and why isn't it working?

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!