aspose file tools*
The moose likes XML and Related Technologies and the fly likes Need help setting classpath to run JAXB 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 "Need help setting classpath to run JAXB" Watch "Need help setting classpath to run JAXB" New topic
Author

Need help setting classpath to run JAXB

Tony Brown
Greenhorn

Joined: Jan 02, 2004
Posts: 6
Hi,
For some reason, I cannot compile the schema-derived JAXB classes I create with xjc. My computer can't seem to find java's binding classes even though I've tried to set the classpath all different ways.
I think it's because my classpath isn't set properly. It runs fine if I compile with ant.
Here's my attempt to add the classpath to the command line. Can someone tell me what I'm doing wrong?


Here's a sample of the error message I get:

[ January 06, 2004: Message edited by: Tony Brown ]
[ January 06, 2004: Message edited by: Tony Brown ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
;c:jwsdp-1.3\jwsdp-shared\lib\*.jar

Looks like classpath syntax errors to me - for one thing *.jar doesn't work (see the tooldocs on setting CLASSPATH) and who knows what it thinks of "c:jwsdp"
Bite the Bullet - stick with ANT - you can edit and re-edit a preposterously long classpath until you get it right and then use it again and again.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help setting classpath to run JAXB