How to know if I am using Open JDK or Oracle JDK?
问题 Using java -version gives me this. java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode) Is it an OpenJDK or OracleJDK ? 回答1: I think that you're using OracleJDK. As I saw with a google search, the openJDK --version output is like this: java -version openjdk version "1.8.0-internal" OpenJDK Runtime Environment (build 1.8.0-internal-0) OpenJDK 64-Bit Zero VM (build 25.0-b20-internal, interpreted mode) See: