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
132 views
asked May 13, 2014 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 May 13, 2014 by smith Geek (15,340 points)

Related questions

0 votes
1 answer 101 views
101 views asked May 13, 2014 by augustaina Sr Member (4,820 points)
0 votes
1 answer 25 views
25 views asked Jan 26, 2014 by keem Expert (13,240 points)
0 votes
1 answer 26 views
26 views asked Feb 7, 2014 by sara Guru (24,570 points)
0 votes
1 answer 25 views
25 views asked Jan 27, 2014 by john Guru (27,140 points)
0 votes
1 answer 121 views
121 views asked May 13, 2014 by smith Geek (15,340 points)
...