Check the startup log to ensure that you're using the version of java that you think you are. The sudo won't have the same environment you ran the 'java -version' in so that is, unfortunately, meanlingless information.
Or, just do 'sudo java -version'.
[Message sent by forum member 'matterbury' (matterbury_at_abinitio.com)]
http://forums.java.net/jive/thread.jspa?messageID=366497