-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: UnsupportedClassVersionError
PostPosted: Thu Jan 19, 2006 3:56 pm 
Regular
Regular

Joined: Fri Aug 29, 2003 12:48 pm
Posts: 63
I get this exception when I try to run ant db.gui with jdk-1.4.2:

UnsupportedClassVersionError: com/beust/testng/TestNGAntTask (Unsupported major.minor version 49.0)

just thought y'all would like to know. README doesn't mention jdk-1.5 being a requirement.


Top
 Profile  
 
 Post subject: JDK1.5 no work...
PostPosted: Thu Feb 09, 2006 9:54 pm 
Newbie

Joined: Thu Feb 09, 2006 9:44 pm
Posts: 2
Hi,

I am a new bie in hibernate and I also meet the same problem....

I already use the jdk1.5 to try it..... but it doesn't work. Can any expert help in this matter?


Thx!


Top
 Profile  
 
 Post subject: JAVA_HOME
PostPosted: Thu Feb 09, 2006 11:01 pm 
Newbie

Joined: Thu Feb 09, 2006 9:44 pm
Posts: 2
I solved the problem
we should set the JAVA_HOME system enviroment variable to path to JDK1.5 instead.

JDK1.5 hsould be used since the class is compiled by the JDK1.5 and some of the src file already using the JDK1.5 annotation.

Cheers!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.