Java classes must be compiled in a JAR file, using the JDK jar tool.
To create a .jar file and install it on an Essbase Server:
Navigate to the directory where the .class file resides; at a command prompt, enter this command:
jar cf jar_filename class_filename
For example:
jar cf CalcFunc.jar CalcFunc.class
On the computer running Essbase Server, copy the .jar file to one of the following directories (if the directory does not exist, create it):
If the .jar file is subsequently placed in another location, you must modify the CLASSPATH variable to include the full path and filename for the .jar file.
If the functions will be used only by specific applications, restart those applications in Essbase. Otherwise, restart Essbase Server.