Hi Yong,
your error log's implication is quite apparant. By all means switch to a
JDK version as recent as possible, if you can. And, if you don't already
have thousands of lines of legacy code that uses iText 1.5.4, by all
means do yourself (and/or your organization) a favour and use the latest
version of iText, that is, 2.1.3.
br,
Ellen N. Zhao
Yang Yong schrieb:
> Hi,
> When I use Itext 1.5.4 with JDK 1.3,it will throw exception as:
> java.lang.UnsupportedClassVersionError:
> com/lowagie/text/pdf/IntHashtable (Unsupported major.minor version 48.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
> at jet.report.pdf.itext.ExportToPDF.<clinit>(QOIV:30)
> at jet.bean.JREngine.__sys__PRINTDATE(QOIV:5852)
> at jet.bean.JREngine.exportToPdf(QOIV:5581)
> at case_49928.main(case_49928.java:96)
> However,When I use Itext 1.5.4 with JDK 1.4,it works fine.So,Whether
> Itext1.5.4 must use JDK 1.4 or above?
> Thanks!
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php