Running demo apps

Neale Ferguson neale at sinenomine.net
Mon Apr 6 06:36:16 PDT 2009


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

Now I'm running the app directly out of the build directory - i.e. I haven't
done whatever the equivalent of "make install" is for the build (speaking of
which what is the mechanism of installing the code?).

Neale





More information about the zero-dev mailing list