Reputation: 514
Running any sbt command throws a java error -
"The java installation you have is not up to date requires at least version 1.6+, you have version 1.8"
This is after the last sbt update . I am unable to check the current sbt version because I run into the above mentioned error on running sbt sbt-version.
Upvotes: 3
Views: 1159
Reputation: 514
The issue has been fixed and sbt no longer requires bc to be installed.
Upvotes: 0
Reputation: 21
just add bc installation sudo apt install bc
it will solve your issue
Upvotes: 2
Reputation: 127
I had the same issue. In my error output the first line is
/usr/share/sbt/bin/sbt-launch-lib.bash: line 207: bc: command not found
followed by your java error message
installing bc
solved my issue
Upvotes: 7