H
H
Helcurt2020-12-21 14:08:28
Eclipse
Helcurt, 2020-12-21 14:08:28

How to set up IDE for Java if JDK is installed elsewhere?

I can't compile code in IDE. Neither Eclipse nor Intellij. I think this is due to the fact that I installed the JDK on the D drive. And for the IDE it is by default on the C:\Program Files drive... Although this is just my guess. Here are the skins. By the way, there were such problems with C ++ on CLion.

5fe081d28e7d3049718924.png
5fe0820f1b935953361655.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Helcurt, 2020-12-24
@Radia

in short, I was just a dumb shit and just did not understand java. Just look at Java tutorials))

O
Orkhan Hasanli, 2020-12-21
@azerphoenix

Good afternoon.
What difference does it make where the jdk is installed. In the IDE settings, you can specify the path to the desired version.
Also check if your paths are set in the "Environment Variables" section
https://stackoverflow.com/questions/18987228/how-d...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question