1 Reply Latest reply on Oct 9, 2018 12:26 AM by Edwin van Boven

    Exception in thread "main" java.lang.UnsatisfiedLinkError

    Edwin van Boven



      After installing Tableau Prep it is erroring out;


      Tableau Prep stopped running because an underlying process stopped unexpectedly. If this problem continues, try reinstalling the product.


      From the logfile:


      [2018-09-19T09:59:28.465] restApi: Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\<username>\AppData\Local\Temp\jna-1307656737\jna8920131549261874957.dll: This program is blocked by group policy. For more information, contact your system administrator


      [2018-09-19T09:59:28.465] restApi:

          at java.lang.ClassLoader$NativeLibrary.load(Native Method)


      [2018-09-19T09:59:28.465] restApi:

          at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)

          at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)


      So, there's a .dll file copied/created in my personal temporary folder and then loaded by java.exe. Can you please think of another way to make this run? SEC-OPS is not amused here.

        • 1. Re: Exception in thread "main" java.lang.UnsatisfiedLinkError
          Edwin van Boven

          It turns out this is a copy of jnidispatch.dll that is thrown into my %TEMP% folder.


          From another java forum I have found this:


          I confirm we resolved with the following actions:

          1) added -Djna.nounpack=true to wrapper.conf

          2) deleted the 2 jnidispatch.dll 32-bit and 64-bit DLLs from the JAR

          3) Placed the DLLs on the Windows path

          Please note to install the Windows Service, the jnidispatch.dll is required.


          Sounds like some sort of workaround has been used. Am I supposed to put my personal "%TEMP%"  folder in my search path????