27import org.jau.lang.ReflectionUtil;
28import org.jau.sys.PlatformTypes.OSType;
36 private static final String prt_name =
"jau.pkg.PlatformRuntime";
42 public static final boolean DEBUG;
60 boolean _USE_TEMP_JAR_CACHE =
false;
64 }
catch (
final Throwable t) {
66 System.err.println(
"Platform.RT: Exception: "+t.getMessage());
73 if(
null != prtGetMachDesc && prtGetMachDesc.available() ) {
77 System.err.println(
"Platform.RT: Available <"+prt_name+
".getMachineDataInfo()>");
82 System.err.println(
"Platform.RT: Not available (2) <"+prt_name+
".getMachineDataInfo()>");
85 if(
null != prtGetUseTempJarCache && prtGetUseTempJarCache.available() ) {
86 _USE_TEMP_JAR_CACHE = prtGetUseTempJarCache.callStaticMethod();
88 System.err.println(
"Platform.RT: Available <"+prt_name+
".getUseTempJarCache()> = "+_USE_TEMP_JAR_CACHE);
92 System.err.println(
"Platform.RT: Not available (3) <"+prt_name+
".getUseTempJarCache()>");
98 System.err.println(
"Platform.RT: Not available (1) <"+prt_name+
">");
Convenient Method access class.
Utility methods to simplify reflection access.
static final Class<?> getClass(final String clazzName, final boolean initializeClazz, final ClassLoader cl)
Loads and returns the class or null.
Machine data description for alignment and size onle, see com.jogamp.gluegen.
Runtime platform properties derived from PlatformProps and runtime query.
static final boolean USE_TEMP_JAR_CACHE
true if enabled and in use.
static final boolean getUseTempJarCache()
Returns true if enabled and in use.
static final boolean DEBUG
static final MachineDataInfo MACH_DESC_RT
Runtime determined MachineDataInfo, null if not available (i.e.
static void initSingleton()