Wiki - 1.8 Compile





  1. Download and install the latest NetBeans.
    Note: The basic Java SE version is sufficient.
    Note: Please note there is an issue compiling with Ubuntu.
  2. Download and install JDK 1.5 from Oracle archive downloads.
    Note: Oracle sign-in required.
  3. Launch NetBeans and Register JDK 1.5 with the NetBeans IDE (Tools, Java Platforms, Add Platform).

Download the source


  1. Navigate to the qz-print project page
  2. Change branch
    Warning: Master branch will always be the latest unstable release
  3. Click "Download ZIP"
  4. Extract contents to Documents/NetBeansProjects (create folder as needed)
  5. Note, optionally you may use the git command line (requires a compatible git client installed)
      // or
cd ~
      // then
git clone -b 1.8.0



  1. Launch NetBeans
  2. Open the following projects (Ctrl+click to open several at once)
  1. Enable the Output Window: Window, Output

  2. Compile using self-signed certificate: (Default)

  3. In Project Explorer, click jssc

  4. Click "Clean and Build" icon
    Note: For each successful build, you should see a success message:

  5. In Project Explorer, Click pdf, click "Clean and Build" icon

  6. In Project Explorer, Click qz-print, click "Clean and Build" icon

  7. Compile using trusted-root certificate: (Advanced)

  8. Purchase a Code Signing certificate from a Trusted CA.

  9. Create a Java Keystore using an available online tutorial.

  10. Create a folder on the desktop called Code Signing.

  11. Place the keystore in the Code Signing folder.

  12. Create a text file called
    Paste the following lines into
    #TRUSTED CERTIFICATE do.depend=false do.jar=true file.reference.javaws.jar=$(user.home}\javaws.jar javac.debug=true javadoc.preview=true jnlp.signing.tsaurl= jnlp.signing.alias=<INSERT YOUR KEY ALIAS HERE> jnlp.signing.keystore=${user.home}/Desktop/Code Signing/<INSERT YOUR TRUSTED KEYSTORE>.ks jnlp.signing.keypass=<INSERT YOUR KEYPASS HERE> jnlp.signing.storepass=<INSERT YOUR STOREPASS HERE>${user.home}\\AppData\\Roaming\\NetBeans\\8.0\\

  13. Update to reflect the alias, keystore, keypass, storepass and tsaurl of the Java Keystore file.

  14. Build each project again and look for success message:

Codebase Parameter


  1. Java 7u55 and higher displays a warning if the Caller-Allowable-Codebase is set to *.
  2. Using the File Explorer, edit
  3. Type the names of the allowable domains on the Caller-Allowable-Codebase line:
Caller-Allowable-Codebase: * * ...etc
  1. Save and recompile.

Your built library will be located in the project directory in a new directory called dist. Launch sample.html to test the newly built version.

Edit this page