Covers Oracle Certified Professional, Java SE 6 Programmer Exam (1Z0-851)

Mock exam engine


Updated 2009-01-01.

You can use the mock exam engine to practise taking the exam. The engine will randomly present questions from Appendix F in the book and score answers in a way that is similar to what you may expect on the real exam.


The mock exam engine is available both as a JAR and ZIP archive.

The procedure involving right-clicking and choosing "Save Target as..." works well for downloading the archive.

If the browser does not recognize the JAR archive as a binary file, the downloaded file can be corrupted. We therefore also provide the option to download the archive as a ZIP file. The JAR format is compatible with the ZIP format, so both files are identical, only the name differs.

If you download the ZIP file, you can either change the name of the file to pgjc3-engine.jar or simply use the name instead of pgjc3-engine.jar in the instructions below.


Place the pgjc3-engine.jar file in a directory of your choice on your local machine. No additional installation is necessary.


We strongly recommend that you install the latest JDK on your machine in order to run the mock exam engine.

From a commandline interface, run the following command:

java -jar pgjc3-engine.jar

Either run this command from the directory containing the pgjc3-engine.jar file, or replace the filename pgjc3-engine.jar with the fully qualified filename of the archive. Also, ensure that the java command is runnable from the commandline, either by setting the PATH environment variable correctly, or by supplying the fully qualified path name of the java command.

If all goes well, the main window of the mock exam engine should appear.

On some platform configurations, it should be possible to launch the program simply by clicking or double-clicking the icon of the JAR archive. This is for instance possible on the Windows platform with JDK properly installed and configured.


If you no longer wish to have the program on your computer, simply delete the pgjc3-engine.jar file.

Khalid A. Mughal   •   Rolf W. Rasmussen