Re: Batik still does not compile with Java 7

Chris Lilley <[email protected]>
Newsgroups gmane.text.xml.batik.user
Organization W3C
Message-ID <[email protected]>
On Wednesday, January 25, 2012, 6:13:44 PM, Marcin wrote:

MT> Hi all,

MT> I've just tried to compile the batik nightly with Java 7 on windows,
MT> and it doesn't compile due to reliance on com.sun.* classes.

MT> The good news is that this seems to be confined to
MT> org\apache\batik\ext\awt\image\codec\tiff classes - deleting the
MT> contents of that directory/package allows the rest of batik to build.

I just tried to compile batik svn from today with Oracle JDK 7u3 (on Windows, under cygwin) and it failed with multiple errors of the form

error: package com.sun.image.codec.jpeg does not exist

It works with Sun JDK 1.6.0_20.

-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.