Java scripting

Michael Sweet mike at easysw.com
Thu Dec 14 08:06:51 PST 2006


Opher Shachar wrote:
> Hello,
>   I downloaded the CUPS 1.2.7 source archive.
> The Java sources and classes under the scripting/java directory do not compile or run on my server (FedoraCore 6, i386). The problem is a dependancy of IPPBase64Encoder class on sun.misc.BASE64Encoder class hich is an undocumented private class of Sun.
> I found an alternative class (released under GNU/LGPL) that inplements Base64 encoding here http://www.source-code.biz/snippets/java/2.htm.
> I changed IPPHttp.java appropriatly in the one place that it appeared.
> Now it all compiles and runs :).

Can you file a bug report with this info?  I wasn't aware that we were
using private APIs, but it is possible that the status of those APIs
has changed since we developed our Java classes...

http://www.cups.org/str.php

Thanks!

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list