JDK 1.8 - cannot import sbt project

I have some problems after installing java 1.8 on Ubuntu Gnome 14.04 with Intellij Idea 13.1.

When I tried to import the sbt project , it is as follows:

enter image description here

I tried to install and configure java 1.7 on .pam-environment. But he continues to accept 1.8 as the main configuration and throw this warning. I decided to completely remove version 1.8.

Scala version:

nazar@lelyak-desktop:~⟫ scala -version
Scala code runner version 2.10.4 -- Copyright 2002-2013, LAMP/EPFL

And sbt- 0.13.1

I am interested to know how to use sbt with JDK 1.8?

Or with let sbt use version 1.7, when 1.8 is the default.

DECISION:

I changed the configuration in settingsfor sbt for user JDK- 1.7 and sbt-launch.jar- installed by me.

+4
1

/ , Java 8 .

IntelliJ, -XX:MaxPermSize. "" VM.

Settings Page

-XX:MaxPermSize.

VM Parameters

+1

Source: https://habr.com/ru/post/1540143/


All Articles