diff --git a/bindings/java/src/org/sleuthkit/datamodel/LibraryUtils.java b/bindings/java/src/org/sleuthkit/datamodel/LibraryUtils.java
index 529b343c3efe73d6ce2e112457d17ece3ac79ff4..096c5b866a91c550e6b5ddc7010710070716f94e 100644
--- a/bindings/java/src/org/sleuthkit/datamodel/LibraryUtils.java
+++ b/bindings/java/src/org/sleuthkit/datamodel/LibraryUtils.java
@@ -64,12 +64,10 @@ public String getLibName() {
 	 */
 	public static String getPlatform() {
 		String os = System.getProperty("os.name").toLowerCase();
-		if(os.contains("win")) {
+		if(LibraryUtils.isWindows()) {
 			os = "win";
-		} else if(os.contains("mac")) {
+		} else if(LibraryUtils.isMac()) {
 			os = "mac";
-		} else {
-			os = "unix";
 		}
 		// os.arch represents the architecture of the JVM, not the os
 		String arch = System.getProperty("os.arch");
@@ -94,6 +92,15 @@ private static boolean isMac() {
 		return System.getProperty("os.name").toLowerCase().contains("mac");
 	}
 	
+	/**
+	 * Is the platform Linux?
+	 * 
+	 * @return
+	 */
+	public static boolean isLinux() {
+		return System.getProperty("os.name").equals("Linux");
+	}
+	
     /**
 	 * Attempt to extract and load the specified library.
 	 *