Fwd: [greenstone-users] UnSupportedClassVersion exception when running GLI using 2.74

From sripathi raja rao
DateFri, 10 Aug 2007 06:15:23 +0100 (BST)
Subject Fwd: [greenstone-users] UnSupportedClassVersion exception when running GLI using 2.74
Hi List,

Did anyone had a chance to look at the reason for the
UnSupportedClassVersion exception when trying to run
the GLI? I did go through some of the forums on Sun
website and such an exception is attributed to the
difference in the Java(JDK) version that was used to
compile the java source code in the new version 2.74.

This is what I got when I executed java -version at
the command prompt.

java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed
mode)

Any pointers??

Regards
Raja


5, 50, 500, 5000 - Store unlimited mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html


<<attachment>>
Type: message/rfc822

From: sripathi raja rao <s_raja_rao@yahoo.com>
To: greenstone-users@list.scms.waikato.ac.nz
Subject: [greenstone-users] UnSupportedClassVersion exception when running GLI using 2.74
Date: Thu, 9 Aug 2007 11:52:58 +0100 (BST)

X-Apparently-To: s_raja_rao@yahoo.com via 209.191.69.175;
Thu, 09 Aug 2007 04:10:34 -0700
X-Originating-IP: [130.217.241.36]
Authentication-Results: mta408.mail.re4.yahoo.com from=list.scms.waikato.ac.nz;
domainkeys=fail (bad syntax)
Received: from 130.217.241.36 (EHLO zombie.scms.waikato.ac.nz) (130.217.241.36)
by mta408.mail.re4.yahoo.com with SMTP; Thu, 09 Aug 2007 04:10:34 -0700
Received: from localhost ([127.0.0.1] helo=zombie.scms.waikato.ac.nz)
by zombie.scms.waikato.ac.nz with esmtp (Exim 4.52)
id 1IJ5uO-0007ZS-Oo; Thu, 09 Aug 2007 23:10:28 +1200
Received: from mail by zombie.scms.waikato.ac.nz with spam-scanned (Exim 4.52)
id 1IJ5dU-0004Op-UC for greenstone-users@list.scms.waikato.ac.nz;
Thu, 09 Aug 2007 22:53:01 +1200
Received: from web33807.mail.mud.yahoo.com ([209.191.69.170])
by zombie.scms.waikato.ac.nz with smtp (Exim 4.52)
id 1IJ5dU-0004Ol-GS for greenstone-users@list.scms.waikato.ac.nz;
Thu, 09 Aug 2007 22:53:00 +1200
Received: (qmail 59197 invoked by uid 60001); 9 Aug 2007 10:52:58 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
b=I+c8x1tlt9cDcMUXDu4aC5vYdP1dqx4Gq4ivNF7840SBuAI/NNGnIWeBYBIVM5uARIDtM6hWsntX8/GzI1E1g5NzI+uR+Sor2Os/v3UnZYax9j+aI5iiLKXj00aLpg7VfsASWrbpdeJ+lPKO9neZTFrZGO/2firPIdCRmeOkjio=;
X-YMail-OSG: qsPrdZUVM1ncuo3RH5ETJV0qjnF0sQnp.bnTVGwjAuKa2_QmuzlW0r7ijiIHfPrX_ZrgVo6qK_MME2IN6AZaLLGg3l03ncz5zBbXedIKm6oE8f9.pDlWuVxRS4Hrnw--
Received: from [20.139.83.50] by web33807.mail.mud.yahoo.com via HTTP;
Thu, 09 Aug 2007 11:52:58 BST
Date: Thu, 9 Aug 2007 11:52:58 +0100 (BST)
From: sripathi raja rao <s_raja_rao@yahoo.com>
To: greenstone-users@list.scms.waikato.ac.nz
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Checker-Version: SpamAssassin 3.0.4-gr0 (2005-06-05) on
zombie.scms.waikato.ac.nz
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed
version=3.0.4-gr0
Subject: [greenstone-users] UnSupportedClassVersion exception when running
GLI using 2.74
X-BeenThere: greenstone-users@list.scms.waikato.ac.nz
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Greenstone Digital Library Users List
<greenstone-users.list.scms.waikato.ac.nz>
List-Unsubscribe: <https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users>,
<mailto:greenstone-users-request@list.scms.waikato.ac.nz?subject=unsubscribe>
List-Archive: <https://list.scms.waikato.ac.nz/mailman/private/greenstone-users>
List-Post: <mailto:greenstone-users@list.scms.waikato.ac.nz>
List-Help: <mailto:greenstone-users-request@list.scms.waikato.ac.nz?subject=help>
List-Subscribe: <https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users>,
<mailto:greenstone-users-request@list.scms.waikato.ac.nz?subject=subscribe>
Sender: greenstone-users-bounces@list.scms.waikato.ac.nz
Errors-To: greenstone-users-bounces@list.scms.waikato.ac.nz
Content-Length: 959

Hello,

I have recently downloaded the Greenstone version 2.74
onto my Windows XP Machine and am running it in web
library mode.

I am having a problem when I am trying to invoke
Greenstone Librarian Interface and the error that I am
encountering is below. Could you please let me know
what might be going wrong ? I have version 2.73 on the
same system running in the local library mode and the
JDK version is the same for both 2.73 & 2.74.

C:Greenstonegli>gli.bat

Greenstone Librarian Interface (GLI)
Copyright (C) 2006, New Zealand Digital Library
Project, University Of Waikato
GLI comes with ABSOLUTELY NO WARRANTY; for details see
LICENSE.txt
This is free software, and you are welcome to
redistribute it

Checking GSDL: C:Greenstone
Checking Perl: C:Greenstonebinwindowsperlbin
Checking Java: C:RajaRaobea3jdk142_04bin

Running the Greenstone Librarian Interface...
Exception in thread "main"
java.lang.UnsupportedClassVersionError:
org/greenstone/gatherer/Gatherer
rog (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

Regards
Raja


Try the revolutionary next-gen Yahoo! Mail. Go to http://mrd.mail.yahoo.com/dc/landing

_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users