File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Very Urgent!!! Please Help

 
L Goundalkar
Ranch Hand
Posts: 395
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All..
especially...
Ajith, Mapraputa, Lee, Stanley, Hema Menon...
From morning I am trying to find "Schema Parser" for JAXB i.e. xjc. I want to learn XML Binding.
Please tell me where can I find it...
I searched in java.sun.com, but got the pdfs for user guide and specification,also a .jar file which contains classes.
But where is xjc???
Please help me.
TIA
------------------
L Goundalkar
lggoundalkar@hotmail.com
Sun Certified Programmer for Java 2 Platform
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Hi L,
You don't need to download anything if you have already downloaded the JAXB implementation from SUN. If not you can download it from the SUN web site at:
http://developer.java.sun.com/developer/earlyAccess/xml/jaxb/
Just use the following command:
java -jar <path-to-JAXB-libs>/jaxb-xjc-1.0-ea.jar <args>
or add the jaxb-xjc-1.0-ea.jar in your classpath and run:
java com.sun.tools.xjc.Main <args>
Hope this helps,
Beno�t
[This message has been edited by Beno�t d'Oncieu (edited September 04, 2001).]
 
L Goundalkar
Ranch Hand
Posts: 395
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a Lot Beno�t,
Don't you think the User Guide is guiding in a wrong Way..
It has mentioned xjc <args> as the way to use Schema Compiler.
anyway again thanks a lot.

------------------
L Goundalkar
lggoundalkar@hotmail.com
Sun Certified Programmer for Java 2 Platform
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Don't you think the User Guide is guiding in a wrong Way...
It has mentioned xjc <args> as the way to use Schema Compiler.

This works fine, assuming you are running a Unix or Linux box, as they provide a script called xjc (in the bin directory) which does the same.
Don't forget it's only an early release and that the guys at Sun are mostly using Solaris OSes ;-)
Cheers,
Beno�t
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic