dj [-parameter value] ...[-parameter value] MainClass F1 ... Fnwhere parameter is a parameter name and value following it is a value given to the parameter. We need to appoint one class in the program as the main class MainClass that specifies how the main panel is constructed. If MainClass is the name of one of the files, then the file name can be omitted.
If the compilation is successful, the compiler generates two files, one storing a Java program and the other is an HTML file. Both files have the same name as the main class.
For example, to compile our HelloWorld program in the file HelloWorld.dj, we type:
dj HelloWorldThe generated Java program is stored in HelloWorld.java and the generated HTML file is HelloWorld.html.