search
Login

Categories


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

3.8k questions

4k answers

117 comments

10.7k users

0 votes
147 views
asked Expert 15k points 15 23 30

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 Geek 15.3k points 16 41 63

Related questions

0 votes
1 answer 113 views
113 views
asked augustaina Sr Member 4.8k points 10 25 31
0 votes
1 answer 29 views
29 views
asked keem Expert 13.2k points 27 40 59
0 votes
1 answer 31 views
31 views
i am new to the java can you please tell me how can we find the stack trace in java,is there any method present in java for finding stacktrace.
asked sara Guru 24.6k points 29 52 81
0 votes
1 answer 29 views
29 views
asked john Guru 27.1k points 31 50 97
0 votes
1 answer 151 views
151 views
asked smith Geek 15.3k points 16 41 63
...