I am working in Intellij with Java 11. I want to use import java.net.http.httpclient
in my project but the import statement is not found.
Background:
I am compiling on my Windows 10 Workstation to build for deployment on a Rasp Pi Zero W. The version of Java that I am using (SDK) is Azul Java 11.0.13.
When I type in import java.net.http.httpclient java.net is found but the http is not.
I have setup Intellij to use Java 11 AFAIK.
How do I get the import to work?