I am new to Play framework. I installed java8 along with sbt and set the PATH variable accordingly. But when I run sbt command it asks me to download valid jdk as below:
The Java Development Kit (JDK) installation you have is not up to date.
sbt requires at least version 6+, you have
Please go to http://www.oracle.com/technetwork/java/javase/downloads/ and downlo
a valid JDK and install before running sbt.
Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=256m; sup
port was removed in 8.0
I can see that JAVA 8 got installed and added to PATH:
java version “1.8.0_162”
Java™ SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot™ 64-Bit Server VM (build 25.162-b12, mixed mode)
I tried to find the reason but couldn’t get it. Can some one please help me?