Error installing sbt package for scala

Hi guys,

I am trying to install sbt package for the scala development but I am getting some error.As we know the below command is not working:

sudo yum –y install sbt

So I am manual installing the sbt.

I have set the parameters in bash_profile file as below:

And I am restarting the server using : . ~/.bash_profile
And I am getting the below error:

Whats the error ? Help me