List of usage examples for org.apache.commons.lang SystemUtils JAVA_RUNTIME_VERSION
String JAVA_RUNTIME_VERSION
To view the source code for org.apache.commons.lang SystemUtils JAVA_RUNTIME_VERSION.
Click Source Link
The java.runtime.version
System Property.
From source file:com.enonic.cms.web.boot.BootEnvironment.java
private String getFormattedJvmInfo() { final StringBuilder str = new StringBuilder(); str.append(SystemUtils.JAVA_RUNTIME_NAME).append(" ").append(SystemUtils.JAVA_RUNTIME_VERSION).append(" (") .append(SystemUtils.JAVA_VENDOR).append(")"); return str.toString(); }
From source file:hr.fer.zemris.vhdllab.platform.ui.command.WelcomeCommand.java
protected void showUpdateJavaDialog() { if (!SystemUtils.JAVA_RUNTIME_VERSION.startsWith("1.7")) { UpdateJavaDialog dialog = new UpdateJavaDialog(); dialog.setParentComponent(getApplicationWindow().getControl()); dialog.showDialog();/*w w w . j a v a 2 s . c o m*/ } }