mercoledì 27 maggio 2020

Creating a java app to render crystal report I encountered this excecption

 com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi
 could not be instantiated

The problem is caused by vendorName == null exception

To resolve the issue edit the manifest file produced by eclipse and add these lines: 
Manifest-Version: 1.0
Class-Path: .
Main-Class: com.pacorini.crystal.Starter
Implementation-Vendor: Sun Microsystems, Inc
Implementation-Title: Java Runtime Environment
Implementation-Version: 1.8.0.191