To load a compiled Java or JAR (Java Archive) file into CUBRID, use the loadjava utility. If you load a Java *.class or *.jar file using the loadjava utility, the file is moved to the specified database path.
loadjava <option> database-name java-class-file
- database-name: The name of the database where the Java file is to be loaded.
- java-class-file: The name of the Java class or jar file to be loaded.
- <option> :
- -y: Automatically overwrites a class file with the same name, if any. The default value is no. If you load the file without specifying the -y option, you will be prompted to ask if you want to overwrite the class file with the same name (if any).