I think the advice is fine for running JAXB applications. But see this
recent thread:
http://old.nabble.com/XJC-and-%22choice%22-element.-td26461900.html
So, be careful with xjc from JAXB 2.2 used with Java 6.
-W
On Fri, Dec 18, 2009 at 1:49 AM, Gary Gregory
<GGregory_at_seagullsoftware.com>wrote:
> Hi All:
>
> On this page:
>
>
> https://jaxb.dev.java.net/guide/Migrating_JAXB_2_0_applications_to_JavaSE_6.html
>
> I read:
>
> "Use the system property java.endorsed.dirs when you launch your
> application, and have it point to the directory that contains the 2.1/2.2
> jaxb-api.jar. This allows you use use JAXB 2.1/2.2 without modifying the
> JRE. Make sure not to include any other JAXB RI jar files (such as
> jsr173-api.jar or jaxb-impl.jar.)"
>
> I like to make sure I get this exactly right. I will put the single JAXB
> file jaxb-api.jar in the directory pointed to by java.endorsed.dirs.
>
> What about the other JAXB jar files? Can they be on the plain old
> classpath?
>
> WRT jsr173-api.jar, since the API is in JavaSE 6, can I ignored it
> altogether and not distribute it?
>
> Thank you,
>
> Gary Gregory
> Seagull Software
> ggregory_at_seagullsoftware.com
> www.seagullsoftware.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>