i've a problem to automatically a java script once a day on OES server! The grafical interface is needed for this script. If i run it manually, it runs successfully! I've found the application under https://www.novell.com/coolsolutions/tools/14772.html. The function is a password expiration notification for my edirectory users!!! Very cool!

If i run it from the linux console, this error occurs!

Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:174)
at java.awt.Window.<init>(Window.java:443)
at java.awt.Frame.<init>(Frame.java:414)
at java.awt.Frame.<init>(Frame.java:379)
at javax.swing.JFrame.<init>(JFrame.java:169)
at identity.ExpirationNotificationFrame.<init>(Expira tionNotificationFrame.java:32)
at identity.ExpirationNotification.<init>(ExpirationN otification.java:64)
at identity.ExpirationNotification.main(ExpirationNot ification.java:99)

This is the script!
java -classpath ./lib/ExpirationNotification.jar:./lib/mail.jar:./lib/jsse.jar:./lib/activation.jar identity.ExpirationNotification

Who can help me to get this script working?

Many thanks,