MCPcopy Create free account
hub / github.com/java-native-access/jna / isX11

Method isX11

src/com/sun/jna/Platform.java:185–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183 return osType == KFREEBSD;
184 }
185 public static final boolean isX11() {
186 // TODO: check filesystem for /usr/X11 or some other X11-specific test
187 return !Platform.isWindows() && !Platform.isMac();
188 }
189 public static final boolean hasRuntimeExec() {
190 if (isWindowsCE() && "J9".equals(System.getProperty("java.vm.name")))
191 return false;

Callers 2

HolderClass · 0.95
getComponentIDMethod · 0.95

Calls 2

isWindowsMethod · 0.95
isMacMethod · 0.95

Tested by

no test coverage detected