You compile JVM COBOL programs from the same command line which you used to set up the environment in Micro Focus Visual COBOL Development Hub.
If your application references external .class or .jars, these files must be added to the CLASSPATH environment variable in order for your code to compile and run.