# Function Java

Access the java type with the given name.

This procedure can be used to access constants or procedures within a class.

To access class features, use the java constructor instead.

Example:

    java("java.lang.Long")->MAX_VALUE

Any declared exception can be caught by PHP code.
Exceptions derived from java.lang.RuntimeException or Error must not be caught unless declared in the methods throws clause -- OutOfMemoryErrors cannot be caught at all, even if declared.

License: GPL
Author: Jost Boekemeier
See: `Java`
Located at JavaBridge.inc

Parameters summary
`string` | `$name` | type name