Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which JRE am I using?

Tags:

java

There are two varieties of JRE available. Java VM: IBM vs. Sun.

Is there a way to know which JRE I am using through JavaScript or some Java issued command.

like image 548
noquery Avatar asked Dec 12 '11 09:12

noquery


People also ask

Which Java JRE version should I use?

Conclusion. If you're just getting your feet wet with Java then installing either Java SE 8 or Java SE 11 is your best bet. While other editions like EE add extra functionality, the SE has all of the essential libraries you need.

How do I check Java Runtime?

Click the Java tab. In the Java Application Runtime Setting box, click View. The JNLP Runtime Settings dialog box is displayed. Make a screenshot of the listed Java versions or write them down.


1 Answers

The following command will tell you a lot of information about your java version, including the vendor:

java -XshowSettings:properties -version 

It works on Windows, Mac, and Linux.

like image 148
Ernesto Iser Avatar answered Sep 29 '22 10:09

Ernesto Iser