• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Is xjc utility (JAXB) part of Java 1.6 installation?

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I went through the JAXB APIs for unmarshalling the xml document to JAVA objects and I found an utility called xjc.bat available in 1.6 version. As per the followiing link, I read that this utility is available in the JAVA 1.6 installation bin folder. But, I dont find the bat file in my 1.6 installation path.
http://www.javabeat.net/articles/14-java-60-features-part-2-pluggable-annotation-proce-3.html

Could you please let me know whether it is available in 1.6 installation or if not, please let me know how to get access to this utility?

Thanks in advance!!
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I find an xjc.exe (25kb) in the /bin directory of my java 1.6.0 installation

Bill
 
ram shyam
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have jre1.6.0_06 installed and I could not find the xjc file in this installation. Please let me know the exact version of 1.6 that you have.

Thanks in advance!!
 
Sheriff
Posts: 28430
103
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's be clear about what "Java installation" means. I have an xjc.exe in my JDK 6 installation but not in any of my JRE 6 installations.
 
ram shyam
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I find now under the jdk install folder.

Now, I wonder whether this tool is available only in JAVA 1.6. If yes, how can the JAVA source files be generated from the .xsd file (the purpose of the xjc utitly) in versions prior to 1.6
Please clarify.

Thanks in advance!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic