0N/A private static boolean versionsInitialized = false;
3867N/A boolean isHeadless = false;
3867N/A isHeadless = true;
0N/A public static synchronized int jvmMajorVersion() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jvm_major_version;
0N/A public static synchronized int jvmMinorVersion() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jvm_minor_version;
0N/A public static synchronized int jvmMicroVersion() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jvm_micro_version;
0N/A public static synchronized int jvmUpdateVersion() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jvm_update_version;
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jvm_special_version;
0N/A public static synchronized int jvmBuildNumber() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jvm_build_number;
0N/A public static synchronized int jdkMajorVersion() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jdk_major_version;
0N/A public static synchronized int jdkMinorVersion() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jdk_minor_version;
0N/A public static synchronized int jdkMicroVersion() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jdk_micro_version;
0N/A public static synchronized int jdkUpdateVersion() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jdk_update_version;
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jdk_special_version;
0N/A public static synchronized int jdkBuildNumber() {
0N/A if (!versionsInitialized) {
0N/A initVersions();
0N/A return jdk_build_number;
0N/A private static boolean jvmVersionInfoAvailable;
0N/A private static synchronized void initVersions() {
0N/A if (versionsInitialized) {
0N/A if (!jvmVersionInfoAvailable) {
0N/A } catch (NumberFormatException e) {
0N/A versionsInitialized = true;
0N/A private static native boolean getJvmVersionInfo();
0N/A private static native void getJdkVersionInfo();