I recently updated some of my Java software. I typed in "java -version" and got the Terms and Conditions, to which I agreed -- everything seemed fine.
Then I typed in "java -version" again, and the terms appeared again. Hmmph. Same thing happens when I try to execute a java program I wrote.
I restarted, and the problem didn't go away. I then tried uninstalling and reinstalling the Java 6 packages, and still no luck.