I
I
Ivasoft2016-06-01 15:51:06
Java
Ivasoft, 2016-06-01 15:51:06

How to check if Java is working, do you have three of them installed?

Three versions of java are installed: 6, 7, 8
Paths are set via JAVA_HOME / PATH variables
JAVA_HOME, JAVA_6_HOME, JAVA_7_HOME, JAVA_8_HOME,
I can only check the state of JAVA_HOME, How can I check the rest?
The program reads all three java.
OS: Centos in aws

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fat Lorrie, 2016-06-01
@Free_ze

path/to/jre/bin/java -version
For each JRE version

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question