@barret55 -Hmm. not sure why its opening Terminal, other than it may be because the ContolPanel is an executable, not a full app.
But, I suggest taking an entirely different approach here. Since we know that opening the Java Control Panel from System Preferences calls up the actual app you're looking to open, maybe just use some Applescript commands, again, run as the user, to open that Preference Pane. Try this-