java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter

Ask Ubuntu | G.Oxsen | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java - UnsatisfiedLinkError on xawt when running HEC-HMS.sh - Ask Ubuntu

    askubuntu.com | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter
  2. 0

    UnsatisfiedLinkError on xawt when running HEC-HMS.sh

    Ask Ubuntu | 4 years ago | G.Oxsen
    java.lang.NoClassDefFoundError: Could not initialize class sun.print.CUPSPrinter

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class sun.print.CUPSPrinter

      at sun.print.UnixPrintServiceLookup.getDefaultPrintService()
    2. Java RT
      PrintServiceLookup.lookupDefaultPrintService
      1. sun.print.UnixPrintServiceLookup.getDefaultPrintService(Unknown Source)
      2. javax.print.PrintServiceLookup.lookupDefaultPrintService(Unknown Source)
      2 frames
    3. hms.util
      f.run
      1. hms.util.f.run(Unknown Source)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame