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 email@example.com Sun Certified Programmer for Java 2 Platform
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).]
Joined: Jul 05, 2001
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.
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