I tried to import Eclipse
project to IntelliJ IDEA
, but I got this error:
The eclipse project description contains a reference to a "manually" defined JDK (named JavaSE-1.8).
Just go forward and define an SDK for your project within IntelliJ yourself. See here for the necessary steps:
To define a JDK and a mobile SDK in IntelliJ IDEA
Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
In the leftmost pane, under Platform Settings, click SDKs.
Above the pane to the right, click  and select JDK.
In the dialog that opens, select the installation directory of the JDK to be used and click OK.
... (obviously you don't need the Java ME mobile specific things listed in the original link)
Here they had a similar problem, but with android sdk
You must edit Project SDK
in Project Structures > Dependencies
to existing Java JDK
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With