Hi all,
I'm trying to endorsed classes using Jaxb 2.1.11 and JRE 1.6.0_03 for an application deploy through Java Web Start.
I didn't want to install jaxb libs in JRE_HOME. Bad way for me !
I've tried "Fabien TISON" solution (2 jnlp linked by extension property) but it didn't work.
I've tried to set property "java.endorsed.dirs" but it doesn't work.
Same when trying to set this property in j2se with -J-Djava.endorsed.dir (command-line) not seem to be a safe property
I also try to set -J-Xbootclasspath (command-line) not seem to be a safe property
I always add the same message :
JAXB 2.0 API is being loaded
from the bootstrap classloader, but this RI (from jar:file:/D:/work/jaxws-ri/lib/jaxb-impl.jar!
/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API.
Use the endorsed directory mechanism to place jaxb-api.jar i
n the bootstrap classloader. (See
http://www.java.net/external?url=http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:135)
Is this a way to jaxb work through javaws ???
Jonathan