Pratyush Das
Pratyush Das

Reputation: 514

Why does sbt keep throwing this error whenever I run it?

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

Answers (3)

Pratyush Das
Pratyush Das

Reputation: 514

The issue has been fixed and sbt no longer requires bc to be installed.

Upvotes: 0

Hanumant Gawali
Hanumant Gawali

Reputation: 21

just add bc installation sudo apt install bc it will solve your issue

Upvotes: 2

mUnk
mUnk

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

Related Questions