1 11 package org.eclipse.jdt.internal.launching.support; 12 13 14 18 public class LibraryDetector { 19 20 31 public static void main(String [] args) { 32 if ("j9".equalsIgnoreCase(System.getProperty("java.vm.name"))) { String configuration = System.getProperty("com.ibm.oti.configuration"); if ("found10".equals(configuration)) System.out.print("1.4"); else if ("found11".equals(configuration)) System.out.print("1.4"); else 42 System.out.print(System.getProperty("java.version")); System.out.print("|"); System.out.print(System.getProperty("com.ibm.oti.system.class.path")); } else { 46 System.out.print(System.getProperty("java.version")); System.out.print("|"); System.out.print(System.getProperty("sun.boot.class.path")); } 50 System.out.print("|"); System.out.print(System.getProperty("java.ext.dirs")); System.out.print("|"); System.out.print(System.getProperty("java.endorsed.dirs")); } 55 } 56 | Popular Tags |