C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How to get Java Runtime Environment (JRE) version?

0 votes
139 views
asked by rock Expert (14,990 points)

1 Answer

0 votes
public class Main {
  public static void main(String[] args) {
    String version = System.getProperty("java.version");

    System.out.println("JRE Version = " + version);
  }
}

output
JRE Version = 1.7.0
answered by smith Geek (15,340 points)

Related questions

0 votes
1 answer 106 views
0 votes
1 answer 27 views
0 votes
1 answer 27 views
27 views asked by sara Guru (24,570 points)
0 votes
1 answer 26 views
26 views asked by john Guru (27,140 points)
0 votes
1 answer 135 views
...