Quote
so are we going to see a fix for this problem
Sure, we will definitely fix the documentation to make it less confusing ;)
Quote
I want to put my .so file into a directory next to the executable that loads classes from that .so file. I would name that directory "lib", for example. Then I want to give JETVMPROP the value that contains "-dll:*:lib" and have the executable load my classes from any .so file in "lib" directory.
This will significantly degrade startup time and overall performance of your application.
Still you may try to emulate required behavior through the following method:
void registerPlugins() {
String pluginsDir = "lib";
String dlls[] = new File(pluginsDir).list(
new FilenameFilter() {
public boolean accept(File dir, String name) {
return name.endsWith(".so");
}
});
for(String dll : dlls) {
System.load(new File(pluginsDir, dll).getAbsolutePath());
}
}
Just call it before any attempts to load classes from your libraries.
Does this solution satisfy your needs?

Help



