"Cannot open file sRGB.pf" when using "fop" to generate PDF
On 06/27/2012 12:26 PM, Robert P. J. Day wrote:
> from the noisy environs of ottawa airport, i'm running someone
> else's docbook-to-pdf script to get, naturally, PDF, and i'm running
> into pretty much this issue:
> thing is, i have a fully-updated 64-bit ubuntu 12.04 system, and
> $ java -version
> java version "1.7.0_03"
> OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)
> OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
> that bug listing suggests this was an issue back with openjdk-6 so
> i'm not sure what i should be looking for. any guidance?
Doesn't seem to be a bug reported in fop:
leads to a possible match:
[java.lang.IllegalArgumentException: Cannot open file sRGB.pf]
which as been marked as a duplicate of:
[Add Patch from openjdk-6 (6b23~pre9-2)]
Note that 994488 is marked a 'Triaged' - it still isn't fixed. So you
might want to pile on your findings & click the 'Affects Me Too".
Also worth a look:
[erlang version 14.b.2-dfsg-3ubuntu2 failed to build with openjdk-7]
This bug was fixed in the package openjdk-7 - 7~u3-2.1.1~pre1-1ubuntu4
openjdk-7 (7~u3-2.1.1~pre1-1ubuntu4) quantal; urgency=low
* Cherry picked patch from openjdk-6 to fix handling of
ICC profiles (LP: #888123, #888129).
What happens if you switch to Oracle/Sun Java 7? You know, you can
install openjdk6, openjdk7, and Oracle/Sun Java7 at the same time & then
switch between them with alternatives:
$ sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority
0 /opt/java/32/jre1.7.0_05/bin/java 2000 auto mode
1 /opt/java/32/jre1.7.0_05/bin/java 2000 manual mode
2 /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java 1061 manual mode
* 3 /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java 1051 manual mode
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users