From 390cc300b65eb7fda3fcee1554c09f1770793ef7 Mon Sep 17 00:00:00 2001 From: esaunders Date: Wed, 24 Jul 2019 12:59:49 -0400 Subject: [PATCH] See if setting jna.nosys to true fixes our AppVeyor build problem. --- Core/src/org/sleuthkit/autopsy/core/Installer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/src/org/sleuthkit/autopsy/core/Installer.java b/Core/src/org/sleuthkit/autopsy/core/Installer.java index 329fe3dfc9..65b5fbacdb 100644 --- a/Core/src/org/sleuthkit/autopsy/core/Installer.java +++ b/Core/src/org/sleuthkit/autopsy/core/Installer.java @@ -299,6 +299,10 @@ public class Installer extends ModuleInstall { * initialized later. */ private static void addGstreamerPathsToEnv() { + if (System.getProperty("jna.nosys") == null) { + System.setProperty("jna.nosys", "true"); + } + Path gstreamerPath = InstalledFileLocator.getDefault().locate("gstreamer", Installer.class.getPackage().getName(), false).toPath(); if (gstreamerPath == null) {