Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

SBT gives error “You have JDK version 0” - Windows

Explorer

Hi There,

SBT gives error like "The java installation you have is not up to date sbt requires at least version 1.6+, you have version 0" , even though I have JDK 1.8 installed.

If I give "java -version" in windows command prompt, it displays java 1.8.

How to make SBT to point this JDK?

Thanks, Jeeva

1 REPLY 1

@Jeeva Jeeva

When you built the SBT, check what does <java.version> file pointing to?

Also, try setting JAVA_HOME=<path_to_java8>.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.