Running a Compiled Model File for Java from the Desktop Select Open on the File menu. In the Open dialog box, under File name, select Compiled Model File for Java (*.class). Click Open. The file is run and appears as the model in the COMSOL Desktop.