violetlib/vaqua

AquaNativeSupport error

vewert opened this issue · 7 comments

When running my application using VAqua10, I get the following error displayed to console:

AquaNativeSupport: Unable to load library libvaqua.dylib: Can't load library: /var/folders/zh/4wvt7r9n6_vgfxdhk3qx96cr0000gn/T/libvaqua1061541747682913295.dylib

and the following Exception is thrown when setting the look and feel:

javax.swing.UnsupportedLookAndFeelException: VAqua release 10 (build 2021-09-13T18:59:18Z) not supported on this platform

I'm not sure what I am doing wrong.

Environment:
macOS 11.6.5 (Silicon)
Java 17.0.3

Thanks for the prompt reply.
Where can I get VAqua 11, the website and MavenCentral only seem to have up to VAqua 10.

Thanks. I tried reading the documentation you mentioned but am still confused. How do I bundle the Framework (once I figure out how to get it) with my app? I am using Gradle and jlink/jpackage to build and produce my app.

Also I get a similar error when running on Intel64.

I got it working for Intel64, by modifying the info.plist and adding the DYLD_FRAMEWORK_PATH environment variable, but don't understand how to get it to work for silicon: Where do I get, and how to a bundle the silicon Framework, into the app?