Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
Can anyone help me how I can able to check for the Java version using Redhat linux. As I go through such command like java -version and it got stuck. Any help would be appreciated.

1 Answer

0 votes
by (26.7k points)

You can try the below code, it will help:

rpm -qi java

Or,

yum info "java"

I hope this will help.

Want to become a Java Expert? Join Java Certification now!!

Want to know more about Java? Watch this video on Java Tutorial | Java Course | Java For Beginners:

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...