users@jaxb.java.net

RE: Using JAXB 2.2 with JavaSE 6

From: Norman Kubicek <N.Kubicek_at_intershop.de>
Date: Fri, 18 Dec 2009 12:14:33 +0100

Hi all,

that is exactly the topic what I am missing in the JAXB RI documentation
(release notes) too. There is no detailled explanation what one has do
to using J2SE 6.0 together with JAXB RI 2.1/2.2.

Regards,
Norman Kubicek

-----Original Message-----
From: Gary Gregory [mailto:GGregory_at_seagullsoftware.com]
Sent: Freitag, 18. Dezember 2009 01:49
To: users_at_jaxb.dev.java.net
Subject: Using JAXB 2.2 with JavaSE 6

Hi All:

On this page:

https://jaxb.dev.java.net/guide/Migrating_JAXB_2_0_applications_to_JavaS
E_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