Platforms to show: All Mac Windows Linux Cross-Platform

Back to JavaVMMBS class.

JavaVMMBS.SetLibraryPath(path as folderitem)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Java MBS Java Plugin 8.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Defines the path where to find the java library.

Must be called before you use the constructor.
If this is empty on Windows, we will look into registry.
If this is empty on MacOS, we ask the Java.framework for the functions.

See also:

Some examples using this method:

JavaVMMBS.SetLibraryPath(path as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Java MBS Java Plugin 8.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Defines the path where to find the java library.
Example
if TargetLinux then
// change path for your linux PC!
JavaVMMBS.SetLibraryPath("/home/cs/jre1.6.0_05/lib/i386/client/libjvm.so")
end if

Must be called before you use the constructor.
If this is empty on Windows, we will look into registry.
If this is empty on MacOS, we ask the Java.framework for the functions.

See also:

The items on this page are in the following plugins: MBS Java Plugin.


The biggest plugin in space...