Portable package and native libs (F5)
Posted: 20 Oct 2014, 11:53
To make it easier to track I created this topic to continue the latest discussion from
http://www.filebot.net/forums/viewtopic.php?f=5&t=1553
Now I tested your portable package.
After I installed jre 8.26 I created a folder Filebot - Test and put your portable package and the Mediainfo.dll inside.
If I run the Filebot.exe, press F5 and run runScript 'fn:sysinfo' I get
FileBot 4.5 (r2600)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
Okt 20, 2014 1:47:58 PM net.filebot.archive.SevenZipLoader requireNativeLibraries
WARNUNG: Failed to preload library: java.lang.UnsatisfiedLinkError: no mingwm10 in java.library.path
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "D:\Portable Applications\Platform\PortableApps\FileBot - Test\fpcalc.exe": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 16 MB Used Memory
OS: Windows Vista (x86)
If i run
java -Dunixfs=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=false -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=portable -Dapplication.analytics=true "-Dapplication.dir=%~dp0." "-Duser.home=%~dp0." "-Djava.io.tmpdir=%~dp0temp" "-Djna.library.path=%~dp0" "-Djava.library.path=%~dp0" -Dnet.filebot.AcoustID.fpcalc="%~dp0fpcalc.exe" -Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory "-Dnet.filebot.util.prefs.file=%~dp0prefs.properties" -jar "D:\Portable Applications\Platform\PortableApps\FileBot - Test\FileBot.jar" %*
press F5 and run runScript 'fn:sysinfo' I get
FileBot 4.5 (r2600)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (win32-x86/mediainfo.dll) not found in resource path ([file:/D:/Portable%20Applications/Platform/PortableApps/FileBot%20-%20Test/FileBot.jar])
Okt 20, 2014 1:52:24 PM net.filebot.archive.SevenZipLoader requireNativeLibraries
WARNUNG: Failed to preload library: java.lang.UnsatisfiedLinkError: no mingwm10 in java.library.path
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "%~dp0fpcalc.exe": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 18 MB Used Memory
OS: Windows Vista (x86)
So it seems to be about the exe. can I configure it in the cmd?
What about the zip part? I didn't find anything for Windows.
http://www.filebot.net/forums/viewtopic.php?f=5&t=1553
Now I tested your portable package.
After I installed jre 8.26 I created a folder Filebot - Test and put your portable package and the Mediainfo.dll inside.
If I run the Filebot.exe, press F5 and run runScript 'fn:sysinfo' I get
FileBot 4.5 (r2600)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
Okt 20, 2014 1:47:58 PM net.filebot.archive.SevenZipLoader requireNativeLibraries
WARNUNG: Failed to preload library: java.lang.UnsatisfiedLinkError: no mingwm10 in java.library.path
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "D:\Portable Applications\Platform\PortableApps\FileBot - Test\fpcalc.exe": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 16 MB Used Memory
OS: Windows Vista (x86)
If i run
java -Dunixfs=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=false -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=portable -Dapplication.analytics=true "-Dapplication.dir=%~dp0." "-Duser.home=%~dp0." "-Djava.io.tmpdir=%~dp0temp" "-Djna.library.path=%~dp0" "-Djava.library.path=%~dp0" -Dnet.filebot.AcoustID.fpcalc="%~dp0fpcalc.exe" -Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory "-Dnet.filebot.util.prefs.file=%~dp0prefs.properties" -jar "D:\Portable Applications\Platform\PortableApps\FileBot - Test\FileBot.jar" %*
press F5 and run runScript 'fn:sysinfo' I get
FileBot 4.5 (r2600)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (win32-x86/mediainfo.dll) not found in resource path ([file:/D:/Portable%20Applications/Platform/PortableApps/FileBot%20-%20Test/FileBot.jar])
Okt 20, 2014 1:52:24 PM net.filebot.archive.SevenZipLoader requireNativeLibraries
WARNUNG: Failed to preload library: java.lang.UnsatisfiedLinkError: no mingwm10 in java.library.path
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "%~dp0fpcalc.exe": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 18 MB Used Memory
OS: Windows Vista (x86)
So it seems to be about the exe. can I configure it in the cmd?
What about the zip part? I didn't find anything for Windows.