Hi Andreas... I made a new dist with the code above and It worked as you wrote using -Djava.util.logging.config.file=logging.properties Maybe compiler was caching object code... Why happens this kind of stuff??
By the way the two alternatives work fine, but I will stay with the one I built with the log.info line commented... Thanks for your time... 2009/11/3 Omar Chiyean <omar.chiy...@gmail.com> > Sure... > Here I'm posting my code... > > import java.io.*; > import java.lang.*; > import java.util.Vector; > import org.apache.pdfbox.pdmodel.*; > import org.apache.pdfbox.util.*; > public class myPDFStripper{ > > public static void main(String[] args) throws IOException{ > PDDocument doc = null; > try { > doc = PDDocument.load("some.pdf"); > PDFTextStripper stripper = new PDFTextStripper("UTF-8"); > String text = stripper.getText(doc); > } finally { > if (doc != null) { > doc.close(); > } > } > } > } > > > > 2009/11/3 Andreas Lehmkühler <andr...@lehmi.de> > > Hi, >> >> >> Omar Chiyean wrote: >> >>> Hi Andreas.. >>> Thanks for your help... >>> >>> But what you wrote about running JVM with [1] >>> was not lucky.. >>> I use .level=FINEST and .level=ERROR >>> with no luck... >>> Messages keep appearing... >>> >> Hmm, there has to be still something wrong with your configuration. It >> works fine for me. BTW, ERROR isn't a valid logging level, use SEVERE >> instead. Sorry, for that. >> >> How do you start the text extraction? Can you give us some details? >> >> BR >> Andreas Lehmkühler >> > >