I am using jdk1.8.0_25
, and when I check the version of Java with the following command:
java -version
it outputs the following
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
Please solve my problem.