Recently I was wresting with Oracle’s SQLDeveloper crashing during startup. Searching the web revealed a number of people having similar issues, however none of the fixes worked for me. I started digging around in the log and found this:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j sun.awt.windows.WPrinterJob.setNativePrintService(Ljava/lang/String;)V+0 j sun.awt.windows.WPrinterJob.getPrintService()Ljavax/print/PrintService;+63 j oracle.diagram.framework.print.DefaultPageFormat$InitRunnable.run()V+15 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub
Turned out that my machine was having trouble connecting to the networked printer, and bizarrely this was causing SQLDeveloper to crash on startup. Needless to say, this not the most reassuring of bugs to find, but a quick workaround was to remove the printer configuration temporarily.