ClassNotFoundException XPrintable - GroupLayout

A Java software did not start with following error message in the console window

Caused by: java.lang.ClassNotFoundException:com.sun.star.view.XPrintable

I fixed that with

sudo apt-get install openoffice.org-dev

The next start produced a different error

Caused by: java.lang.ClassNotFoundException: javax.swing.GroupLayout

The way to fix this is

sudo update-alternatives --config java

and to choose the correct java path - for me worked

/usr/lib/jvm/java-6-sun/jre/bin/java

That's all. Comments on this? Please drop them here...

Comments

Popular Posts