I am trying to use jaxb-1.0, the new beta version of xml related api. when i try and run the xjc.bat file (command line) i keep getting an error saying: Exception in thread "main" java.util.zip.ZipException:The system cannot find the file specified at java.util.zip.ZipFile.open(Native Method) java.util.zip.ZipFile.<init>(ZipFile.java:112) java.util.jar.JarFile.<init>(JarFile.java:117)java.util.jar.JarFile.<init>(JarFile.java:55) Does anyone know what I may need to download to get around the error. These zip and jar files come with j2sdk1.4.0_01 which I have installed so Im not sure why it's not finding them?
Configuring the JAXB RI The JAXB RI is shipped as a ZIP file. To configure the JAXB RI for your environment: Unzip the JAXB RI ZIP file into the directory of your choice. Define a JAXB_HOME environment variable that points to the directory in which you unzipped the JAXB RI files. Verify that the JAVA_HOME variable is set in your environment. Change to the directory containing a schema from which you want to generate JAXB classes. Use the xjc.bat or xjc.sh command to generate JAXB classes from the desired schema. %JAXB_HOME%/bin/xjc.sh schemaname The JAXB RI requires J2SE 1.3.1 or later. Complete instructions for using the JAXB RI are provided in the Using JAXB section. JAXB RI compiler options are listed in the JAXB RI Compiler Options section.
"JavaRanch, where the deer and the Certified play" - David O'Meara