Great!
I also made a launcher with AppleScript, that can do the hard work for us:
tell application "System Preferences"
activate
set current pane to pane "Java"
end tell
tell application "System Events"
repeat until exists process "Java Control Panel"
delay 1
end repeat
end tell
tell application "Adobe Illustrator"
activate
end tell
tell application "System Preferences" to close every window