java.lang.NoSuchMethodError: 'void com.sun.jna.Memory.close()'

Make sure you have the correct versions of JNA and oshi available. You can for example use maven dependency tree to check for multiple declarations.

1 Like