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: 10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   11.6    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

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

Java.DefineClass - Java.GetContainerFileName

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins

Start Chat