-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala SDK setup fails with "Error downloading Scala <version>" #13
Comments
Hi @magor, can you explain to me exactly what is it what you are trying to do? I had the IDE already installed (latest version). I went ahead and installed the I'm using by default the Scala version that you posted, |
Hi @x80486 , I didn't try anything with sbt directly from cli (in fact, my own project uses gradle). The problem is, Idea complains there's no Scala SDK in module; see attached screenshot. So I click To clarify, same result with my other project, where JDK is properly setup. |
I think you would have to give me a sample repository...exactly how you have it right now – but you can delete most of the Scala sources. I'm interested in the setup process only. If I create a brand new Gradle project (or import one already created) with Scala and IDEA support, I see the step to add the Scala SDK, but that completes successfully. One thing: I get some errors with OpenJDK |
The screenshot is done on spark2.0-examples, which you linked earlier. How is your Scala SDK set up? Did you let IDE download it automatically, as I was trying to, or did you select it manually from directory? Currently I use OpenJDK8. |
I was able to reproduce this one. My guess is that the Scala plugin is using a hard-coded You might want to check what are your defaults for the JVM via |
This is the output of |
I tested it...but still no luck. I set the So I guess the problem is the way this plugin is spawning the Gradle does the same, and almost everything within IntelliJ IDEA too, but there is no problem. I'll put the In the meantime, you can tell |
I had a similar message, I have solved it by 2 actions:
After that, this problem disappeared. |
I can confirm @grzegorz700 's solution. What worked for me was to install Java SDK (I used Azul Zulu 11).
|
When trying to setup Scala SDK, if you try to automatically download it via supplied setup form, it fails with eg.
I'm not sure if it's related to #4
I already configured java sdk (installed via flathub extension), seems to be working otherwise.
The text was updated successfully, but these errors were encountered: