开发者

error message with scala installation

开发者 https://www.devze.com 2023-02-10 05:35 出处:网络
I would like to install scala 2.8.1. I used exactly all the steps from http://www.scala-lang.org/node/310 but when i write \'scala\' in the command prompt then i have the following error

I would like to install scala 2.8.1. I used exactly all the steps from http://www.scala-lang.org/node/310 but when i write 'scala' in the command prompt then i have the following error 'java' is not recognized as an internal or external command operable program or batch file

Do you know whats go开发者_开发百科ing wrong?


As the error message is pointing out, java is missing. You have to install a JRE or JDK and make Scala find it, for example by setting JAVA_HOME to the JRE/JDK.

Have fun with Scala

0

精彩评论

暂无评论...
验证码 换一张
取 消