Running demo apps

Neale Ferguson neale at sinenomine.net
Mon Apr 6 07:09:40 PDT 2009




On 4/6/09 9:48 AM, "Gary Benson" <gbenson at redhat.com> wrote:

> Neale Ferguson wrote:
>> Now that I have a clean build I was just trying to run a couple of
>> the demo apps. For SampleTree I am seeing the following:
>> 
>> [neale at aussie-3 - SampleTree]
>> PATH=openjdk/control/build/linux-s390x/bin:$PATH java -jar SampleTree.jar
>> Exception in thread "main" java.lang.ExceptionInInitializerError
>>    at java.lang.Class.initializeClass(natClass.cc:792)
>>    at java.lang.Class.initializeClass(Class.h:742)
>>    at java.lang.reflect.Method.invoke(Class.h:742)
>>    at javax.swing.UIDefaults.getUI(UIDefaults.java:748)
>>    at javax.swing.UIManager.getUI(UIManager.java:840)
>>    at javax.swing.JTree.updateUI(JTree.java:1685)
>>    at javax.swing.JTree.<init>(JTree.java:1572)
>>    at SampleTree.<init>(SampleTree.java:105)
>>    at SampleTree.main(SampleTree.java:602)
>> Caused by: java.awt.IllegalComponentStateException: component java.awt.Label
>> not showing
>>    at java.awt.Component.getLocationOnScreen(Component.java:1361)
>>    at java.awt.event.MouseEvent.<init>(MouseEvent.java:251)
>>    at java.awt.event.MouseEvent.<init>(MouseEvent.java:275)
>>    at javax.swing.plaf.basic.BasicTreeUI.<clinit>(BasicTreeUI.java:286)
>>    at java.lang.Class.initializeClass(natClass.cc:780)
>>    ...8 more
> 
> I haven't seen this one before.
My fault, my PATH was incorrect and it was actually using gnu gij!





More information about the zero-dev mailing list