INSTALL JAVA NEW
FROM FILE 'path\\ClassName.class';
path is the directory where the class file is located, and ClassName.class is the name of the class file.
The double backslash ensures that the backslash is not treated as an escape character.
For example, to install a class in a file named
Utility.class, held in the directory
c:\source, you would execute the following statement:
INSTALL JAVA NEW
FROM FILE 'c:\\source\\Utility.class';
If you use a relative path, it must be relative to the current working directory of the database server.