• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help setting classpath to run JAXB

 
Tony Brown
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
;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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic