Java scripting

Opher Shachar ophers at ladpc.co.il
Thu Dec 14 08:00:23 PST 2006


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 :).

Cheers,
Opher Shachar.




More information about the cups mailing list