Skip to content

Is java.library.path respected? #118

Closed Answered by lopcode
StefanOltmann asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't tried loading from java.library.path, but I would expect it to work - here are some things that might help debug:

  • The code that sets where vips-ffm looks for symbols: https://github.com/lopcode/vips-ffm/blob/main/core/src/main/java/app/photofox/vipsffm/jextract/VipsRaw.java#L59 - first, it tries the system path, then falls back to SymbolLookup.loaderLookup() which I would expect to be able to load things from the classpath
  • There are three DLLs you'll need on the path - libvips, glib, and gobject
  • Every operating system has different opinions about what libraries should be named - this is the GitHub Action that checks the Windows build, you could double check the filenames are id…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@StefanOltmann
Comment options

@lopcode
Comment options

@StefanOltmann
Comment options

@lopcode
Comment options

@StefanOltmann
Comment options

Answer selected by StefanOltmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants