we run builds on server with solaris. After changing jre 1.6 to jre 1.7 the utility which run all tests start to throw an exception(sorry for my English):
[java] Exception in thread "main" java.lang.Error: Cannot load javax.swing.plaf.metal.MetalLookAndFeel
[java] at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1347)
[java] at javax.swing.UIManager.initialize(UIManager.java:1455)
[java] at javax.swing.UIManager.maybeInitialize(UIManager.java:1422)
[java] at javax.swing.UIManager.getDefaults(UIManager.java:656)
[java] at javax.swing.UIManager.put(UIManager.java:985)
[java] at org.uispec4j.interception.ui.UISpecLF.init(UISpecLF.java:11)
[java] at org.uispec4j.UISpec4J.init(UISpec4J.java:32)
[java] at org.uispec4j.UISpecTestCase.<clinit>(UISpecTestCase.java:31)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:186)
I also try to switch another laf in build.xml to solve this problem but it doesn't help.
(jvmarg value="-Dswing.defaultlaf=com.jgoodies.looks.plastic.PlasticXPLookAndFeel" )
What is the reason? How to fixed it?