
We can start simple and work up to the slightly more complicated workaround. I'm not sure which of these will work though. OS X has gotten more strict with each new release about what it allows to be run as the logged in user when its being called by another account, especially when it comes to GUI operations.

I don't know enough about Unix/Terminal/Java to troubleshoot where the problem could - its likely not working because when its run through a policy its running the command as a different user, such as your Casper service account or root, not as the logged in user. at (GraphicsEnvironment.java:207) at .(Window.java:535) at .(Frame.java:420) at .(Frame.java:385) at .(JFrame.java:180) at .ControlPanel.(Unknown Source) at .ControlPanel.main(Unknown Source) Exception in thread "main" : No X11 DISPLAY variable was set, but this program performed an operation which requires it. This is what the JSS logs say: Script result: objc: Class JavaLaunchHelper is implemented in both /Library/Internet Plug-Ins/ugin/Contents/Home/bin/java and /Library/Internet Plug-Ins/ugin/Contents/Home/lib/jli/./libjli.dylib. When pasting that command into a prompt, it will open the Java control panel with no problems, but as soon as I try to put it into a policy or a script, nothing happens.
JAVA UPDATES FOR MAC HOW TO
Java seems to be the only one I haven't been able to figure out how to get to launch. I've managed to create policies/Self Service links to launch things like System Update, or Microsoft Office update when they click on them.

Our faculty and staff are NOTORIOUS for not keeping their systems up to date, despite all the nagging/emails. I've seen all kinds of documentation about that, but it's not quite what I want to do.
