wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Very Urgent!!! Please Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Very Urgent!!! Please Help" Watch "Very Urgent!!! Please Help" New topic
Author

Very Urgent!!! Please Help

L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
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


SCJP, SCWCD
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Jul 05, 2001
Posts: 395
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

Joined: Nov 22, 2008
Posts: 18944
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
 
subject: Very Urgent!!! Please Help