How do I install Java?
how long does it take to install java?
Installing JDK
It's java -version - there's a space after "java"
You may also need to set the JAVA_HOME environment variable to C:\Program Files\Java\jdk-10.0.2
JDK vs JRE : What should I install ?
JDK is to develop/run, JRE is to (only) run.
EDIT: Of course JDK, I'd say that the real problem is which version should I use...
EDIT2: I just read is backwards compatible, so the lastest stable one should do the work.
More on reddit.comVideos
I'm sorry for this stupid question, but I'm really struggling here. I'm using Linux, and I don't know what I should install, there are so many packages. Should I install java, jdk, jvm, jre??? Maybe Openjdk? Java 8, 17 or 20?
For context, I'm coming from Python and a little bit of C, and installing python is easy you just install the python interpreter and run "python", or with C you just install GCC and glibc (if you don't have it for some reason). But for Java there are so many options and so many packages I just want to compile and run Java files, with the Java standard library, help please?