On Ubuntu Linux with Gnome, running my Swing application by double clicking on the jar file in Gnomes file browser leads to errors because required libraries that are dynamically loaded via the Java Plugin Framework (residing in subdirectories) are not found.
The base libraries for the framework itself are resolved correctly, as stated in my executable jar's manifest file. However, once the framework launches, no plugins (not even the one specifying my platform) are found.
Launching the application from the terminal via
java -jar myjar.jar
works like a charm, ad does running the application by double-clicking a shell-script.
However, I'd like to avoid a terminal window. (I'm a Windows person, maybe it won't annoy linux people as it does annoy those on windows.)
The problem is reproducible across several Linux systems. Is there something I need to do so Java resolves the libraries correctly?