Skip to Content
0
Former Member
Nov 14, 2013 at 07:58 AM

sun.awt.motif.MToolkit

54 Views

Hello,

When I launch the Runninstaller I get this message:

Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.motif.MToolkit (initialization failure)

I´ve read the note 723909, point 10.2

10.2 Thumbnail generation on Linux and UNIX platforms
Image generation for JSP and servlet applications on Linux, Solaris, AIX, IBM i and HP-UX must run in a "headless" environment - that is, on a computer that lacks framebuffer hardware. This is not needed (but doesn't harm if set) for Windows.
Headless mode must explicitly be enabled as follows:
-Djava.awt.headless=true

But I don´t know how to execute this option -Djava.awt.headless=true, I´ve tried directly with> java -Djava.awt.headless=true like as root, but I don´t get anything.

Any suggestion?

Thanks