Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  


Checks if a class is available.

Component Version macOS Windows Linux Server iOS SDK
Java 10.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "Java.FindClass"; ClassName )   More


Parameter Description Example
ClassName The name of the java class. "com.mbs.test"


Returns 1, 0 or error.


Checks if a class is available.
Returns 1 if class is found, but 0 if not.


Check for class named test:

MBS( "Java.FindClass"; "test" )

Check for string class:

MBS( "Java.FindClass"; "java.lang.String" )

Example result: 1

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 19th May 2020, last changed 19th May 2020

Java.DefineClass - Java.GetContainerFileName

💬 Ask a question or report a problem

Start Chat