Page 1 of 1

Error running 'server [compile]'

Posted: Tue Apr 02, 2024 1:43 am
by ann
I am having trouble after following the guide on setting up IntelliJ
You can see I am using JRE 11

I also tried manually adding C:\Program Files\Eclipse Adoptium\jdk-11.0.22.7-hotspot but it doesn't work

Image

Re: Error running 'server [compile]'

Posted: Tue Apr 02, 2024 1:56 am
by Ceikry
Maven requires the JDK, not the JRE. The JDK is the "full" java with everything you need for development, JRE only has what you need to run built java programs.

Re: Error running 'server [compile]'

Posted: Tue Apr 02, 2024 2:42 am
by ann
Thanks, I got it to compile!
I had to go to project structure, not settings

Image