Hi:
I try to run an Agent to convert my WEB Lotus Form to PDF.
The problem with the agent is this error:
java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
java.lang.Class.forName1(Native Method)
java.lang.Class.forName(Class.java:142)
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:72)
java.awt.Font.initializeFont(Font.java:285)
java.awt.Font.(Font.java:319)
My Server is AIX and i add in the notes.ini the graphics.jar path where is the Jar that contains the X11GraphicsEnvironment Class but the error appears again.
Also i include this line in the code “System.setProperty(“java.awt.headless”,“true”);” but appears a Security Error
java.security.AccessControlException: access denied (java.util.PropertyPermission java.awt.headless write)
java.security.AccessControlContext.checkPermission(AccessControlContext.java:286)
java.security.AccessController.checkPermission(AccessController.java:413)
java.lang.SecurityManager.checkPermission(SecurityManager.java:565)
java.lang.System.setProperty(System.java:682)
I dont know what i have to do to resolve this problem. Please Help me!!
Thanks
Elkin