• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need help setting classpath to run JAXB

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic