Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-09 Thread Bob Hall
Instead of rebuilding FOP, I wrote a simple test class that attempts to instantiate 'Rectangle'. It runs successfully on one system and fails on the other (the one with the NoClassDefFoundError): $ java -Djava.awt.headless=true TestRectangle Exception in thread "main" java.lang.UnsatisfiedLinkEr

Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
No joy with "-Djava.awt.headless=true"; looks a rebuild of FOP on the target system... though that *really* does not make sense. - Bob --- Bob Hall <[EMAIL PROTECTED]> wrote: > Thanks, David. I'll try that. > > If that doesn't do the trick I plan to build fop.jar > from source on the target ma

Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
Thanks, David. I'll try that. If that doesn't do the trick I plan to build fop.jar from source on the target machine. - Bob --- David Delbecq <[EMAIL PROTECTED]> wrote: > if it's *java.awt.Rectangle* > and the computer you are trying to run fop on does > not have > graphical environment, maybe

Re: Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread David Delbecq
if it's *java.awt.Rectangle* and the computer you are trying to run fop on does not have graphical environment, maybe you should wonsider using headless java see http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless Bob Hall a écrit : >I'm getting a NoClassDefFoundError in a FOP

Getting NoClassDefFound error for Rectangle.class (rt.jar)

2005-10-03 Thread Bob Hall
I'm getting a NoClassDefFoundError in a FOP class, PageViewport. At line 89, the code is attempting to do 'new Rectangle()'. The same code works fine on 3 other systems (2 Windows, and one Linux). It does not work on a Linux box. The two linux boxes have the same version of Java (1.4.2_08-b03) a