The Solaris operating system can default to a really old version of java. To verify which version you've got, run:
# java -version
To fix it, simply download the latest version from Oracle, then update your PATH variable like so:
# export PATH=/PATH/TO/LATEST/JAVA/bin:$PATH
After this, "java -version" should return a sensible version number.
No comments:
Post a Comment