I’ve been struggling a bit with Java on Windows when I have needed to load a native library required by the application I’m currently working on (believe it or not a Java desktop application. Yes they still exist! 🙂 There are several options:
- Load from an explicitly specified absolute path using the System.load call.
- Make sure the DLL is in one of the paths listed in “java.library.path”
- Handy tip: if running IntelliJ grab the code from this gist and use it for a new Scratch file. Easy way to get the value for your java.library.path.
- Modify the Windows system PATH environment variable to include the folder where the DLL is stored.
- Passing the “java.library.path” on the command line to the java runtime by using the -D option.
After a very long week of events on Twitter, and the regular media, from Trump, to March for Our Lives, to Facebook, it’s time to take a break. Spring break and Easter seem like a great time to reset. Taking a media vacation.
The day this photo was taken back in late summer of 2010 it was very warm. I’ve never been one who enjoys hot weather but really looking forward to Summer at this point (and our Winter wasn’t even that bad!). Bring on the sun and heat! ☀️🔥☀️