Having installed the redhat
plugin for Java
on Linux
:
how do I now run the app:
from VSCodium
?
From the console, the app builds and runs fine using gradle.
After closing VSCodium
and then restarting (both the machine and IDE) I see:
I've installed Java
and the JDK
with SDK
so:
nicholas@mordor:~$
nicholas@mordor:~$ sdk install java 11.0.9.hs-adpt
java 11.0.9.hs-adpt is already installed.
nicholas@mordor:~$
nicholas@mordor:~$ javac -version
javac 11.0.9.1
nicholas@mordor:~$
nicholas@mordor:~$ java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)
nicholas@mordor:~$
probably this is the problem. Perhaps the IDE
isn't picking up on the JDK
?
Check if you've built the project successfully.
This is a demo gradle project, and you can click the Run or button in the top right-hand corner: