I am running a program written with Java that is made by the work I work with. It depends on libjpeg-turbo (version 1.5.1 vc64) While running it from the Windows command line (CMD.exe), a Java exception occurred starting with this error message:
Exception in thread "pool-1-thread-1" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: /opt/libjpeg-turbo/lib32/libturbojpeg.so
I am running it from Windows 10, but it seems to looking for it libjpeg-turbo in a Linux location. I think it is assuming the OS is a Linux system, instead of Windows. I have gotten it to work on another Windows 10 computer just fine. I have WSL enabled on both computers, using the Ubuntu distro. Maybe that has something to do with it?
Any ideas as of what could be causing this? I am working with the developer on this issue, but I figured it wouldn't hurt to through this question out here to see if we can get some outside help on the issue.
Other information: (let me know if more is needed)
- Windows 10, 64-bit
- WSL, Ubuntu distro
- Java 8 (latest as of 4-21-2019)
- libjpeg-turbo 1.5.1-vc64, installed on Windows 10, not through WSL
cmd.exe
orpowershell.exe
), a Linux command line (bash.exe
,wsl.exe
,<distroname>.exe
), or from some weird other thing like Git Bash (which isbash.exe
but not the WSL one; it's technically a Win32 program)? If you try running yourjava
command from another command line, such as Powershell, does it behave differently?