Calling "java" at command line ALWAYS brings up Sun license
843789Nov 2 2009 — edited Nov 5 2009Hi,
I'm on openSuSe 64 bit. I've tried installing the JRE and SDK several ways: from Yast, by downloading the rpm and bin from Sun, and by installing netbeans through yast. I assume the JRE is working fine, since javatester.org tells me Firefox's plugin for 1.6 is working correctly.
I also assume the SDK is installed (mostly?) correctly, since building "hello world" in netbeans is successful and displays "hello world" in the netbeans IDE.
However, regardless of how I install java, anytime I call the "java" command from bash I am given the Sun license agreement and, upon agreeing, java attempts to install itself -- which fails, since it's already installed.
"java -version", "java -jar myhelloworldapp.jar", --- they all result in this behavior.
Anyone have any ideas?