Error running scratch file in IntelliJ 15
Asked Answered
L

1

3

Code:

enter image description here

I get the following when running it:

enter image description here

Reference:

https://www.youtube.com/watch?v=AmeDNZ-86ig

Settings (did not change anything here):

enter image description here

Levkas answered 17/2, 2016 at 12:43 Comment(0)
L
2

Got a solution see record "Eugene Zhuravlev 18 Feb 2016, 16:29" here: https://youtrack.jetbrains.com/issue/IDEA-140228?replyTo=27-1304218

Seems like under mac IDEA's custom SDK home points to "IntelliJ IDEA 15.app/Contents" instead of "IntelliJ IDEA 15.app/Contents/Home". As a workaround please define a project JDK in Project Structure | Project Settings | Project

Levkas answered 18/2, 2016 at 16:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.