Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception in JAXB while parsing schema

 
Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rancher

I have just installed jwsdp-2.0. When I try to run JAXB (xjc.bat) , I get following exception


Can anyone please help

Thanks
 
Paul Clapham
Sheriff
Posts: 21314
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Class.getSimpleName() is a method that is new in Java 5. So it looks like whatever you are running requires Java 5.
 
Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dude! I am using Java 5
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic