Difference between openjdk and linux-sun-java

Juris Kaminskis juris.kaminskis at gmail.com
Sat Apr 19 18:47:54 UTC 2014


Hello,

I have $ java -version
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b30)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)

and

$ /usr/local/linux-sun-jdk1.7.0/bin/java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode)

When I run my compiled class with openjdk I get:

21:43:47,348 ERROR [I]
java.lang.NullPointerException
at org.jcp.xml.dsig.internal.dom.Utils.getBoolean(Utils.java:114)
at org.jcp.xml.dsig.internal.dom.Utils.secureValidation(Utils.java:110)

but when I run with linux-sun-java version no error is generated. I
understood that it is related to Interface XMLCryptoContext, but how can I
pinpoint the difference to trace why openjdk is not working for me on
freebsd?

thanks for any hints
Juris


More information about the freebsd-java mailing list