users@jaxb.java.net

Re: JAXB 1.1.0.6?

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 25 Jan 2007 09:18:54 -0800

Note that the version is 1.0.6, not 1.1.0.6.


Alan Marcinkowski wrote:
> I sadly can't move from 1.x to 2.x because we have so much code for 1.x.
> It's unfortunate that the generated APIs are so disparate. Anyway, I'm
> trying to upgrade to 1.1.0.6. The download is a class file that says:
> JAXB RI 1.0.6 release. Run it as "java -cp . JAXB1_1_0_6"
>
>
>
> When I run it that way, I get :
>
>
>
> C:\Downloads\Java\JWSDP>java -cp JAXB1_1_0_6
>
> Usage: java [-options] class [args...]
>
> (to execute a class)
>
> or java [-options] -jar jarfile [args...]
>
> (to execute a jar file)
>
>
>
> where options include:
>
> -client to select the "client" VM
>
> -server to select the "server" VM
>
> -hotspot is a synonym for the "client" VM [deprecated]
>
>
>
> Obviously, I am missing something. Any help would be appreciated.

You are missing the dot. It's "java -cp . JAXB1_1_0_6"

If any of our documentation is wrong, please let us know.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com