diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/jogamp/common/os/PlatformPropsImpl.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/jogamp/common/os/PlatformPropsImpl.java b/src/java/jogamp/common/os/PlatformPropsImpl.java index 111523d..3010a31 100644 --- a/src/java/jogamp/common/os/PlatformPropsImpl.java +++ b/src/java/jogamp/common/os/PlatformPropsImpl.java @@ -90,8 +90,10 @@ public abstract class PlatformPropsImpl { } private static final boolean initIsJavaSE() { - if(JAVA_RUNTIME_NAME.indexOf("Java SE") != -1) { - return true; + if(JAVA_RUNTIME_NAME!=null) { + if(JAVA_RUNTIME_NAME.indexOf("Java SE") != -1) { + return true; + } } // probe for classes we need on a SE environment |