PDA

View Full Version : Error starting report-design on Ubuntu



pentha
06-06-2011, 07:21 AM
When start report-design on Ubuntu get teh following error:


/opt/pentaho/design-tools/report-designer
/opt/pentaho/design-tools/report-designer
DEBUG: Found JAVA two folders up
DEBUG: Found Pentaho License two folders up
DEBUG: _PENTAHO_JAVA_HOME=/opt/pentaho/design-tools/report-designer/../../java
DEBUG: _PENTAHO_JAVA=/opt/pentaho/design-tools/report-designer/../../java/bin/java
DEBUG: PENTAHO_INSTALLED_LICENSE_PATH=/opt/pentaho/design-tools/report-designer/../../.installedLicenses.xml
No protocol specified
ERROR [04-20 00:23:16,592] - Unexpected Error encountered:
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at sun.awt.X11.XToolkit.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(Unknown Source)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(Unknown Source)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(Unknown Source)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(Unknown Source)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at javax.swing.UIManager.initializeDefaultLAF(Unknown Source)
at javax.swing.UIManager.initialize(Unknown Source)
at javax.swing.UIManager.maybeInitialize(Unknown Source)
at javax.swing.UIManager.getDefaults(Unknown Source)
at org.pentaho.reporting.designer.core.ReportDesigner.setLookAndFeel(ReportDesigner.java:360)
at org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)

Can you help me?

Taqua
06-06-2011, 07:30 AM
Start this from your X11-Session. You cannot run it from a pure text console, as the report designer is not a console application.

pentha
06-08-2011, 03:05 AM
Thanks