Bug 49206 - Duplicate classes with Java 6 and batik-ext.jar
Summary: Duplicate classes with Java 6 and batik-ext.jar
Status: NEW
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: SVG DOM (show other bugs)
Version: 1.7
Hardware: PC Windows XP
: P2 major
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-28 05:05 UTC by Andre
Modified: 2010-04-28 05:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre 2010-04-28 05:05:53 UTC
I am using Batik with Java 6. I have to use the batik-ext.jar because some of the classes in the library are used by some batik classes (like KeyboardEvent). Other classes of the batik-ext.jar are already part of the Java 6 Runtime (like EventTarget). 

So on runtime, there are conflicts between dublicate classes.

My workaround: I opened the batik-ext.jar and deleted all duplicate files.

If you have a better solution to solve my problem, please say it to me.

PS: It was not so easy to recognize that the reported exception was a result of the descripted problem. ;)