代码之家  ›  专栏  ›  技术社区  ›  Andres Urrego Angel

问题JDK在Intellij中创建scala项目

  •  0
  • Andres Urrego Angel  · 技术社区  · 9 年前

    运行路径: enter image description here

    运行java版本:

    enter image description here

    然后,我安装了IntelliJ和Scala插件,所以当最后我要创建我的第一个项目时,我的笔记本电脑配置没有映射JDK:

    enter image description here

    我试着添加所需的环境,只需点击new并通过我安装jdk的路径,但它也没有通过。

    enter image description here

    拜托,伙计们,我对Scala和IntelliJ有点不在话下,你们能给我介绍一下吗。我试图遵循这个链接中的说明,但它没有通过。 https://www.scala-lang.org/documentation/getting-started-intellij-track/getting-started-with-scala-in-intellij.html

    谢谢

    1 回复  |  直到 9 年前
        1
  •  3
  •   arjunsv3691    9 年前

    确保已将环境变量JAVA_HOME设置到JAVA目录,IntelliJ使用该环境变量检测JDK,或者您可以使用JDK旁边的“新建”按钮浏览JAVA安装目录的路径并选择它。