Thank you, Ralph:

 

That led me to my problem.  I have Jdk 1.6.0 installed, but my server has jdk 1.5 installed as the default (and our IT group won’t allow me to replace it). 

My paths were such that when I tried to execute java, it was going to the old one instead of the newer one.

I will fix that.  Thanks, again!

 

George Kozak

Digital Library Specialist

Cornell University Library Information Technologies (CUL-IT)

501 Olin Library

Cornell University

Ithaca, NY 14853

607-255-8924

 

From: LeVan,Ralph [mailto:levan@oclc.org]
Sent: Thursday, April 28, 2011 9:57 AM
To: George Stanley Kozak; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace1.7.1

 

You are using an old version of Java; older than the version that the code was compiled under.

 

Ralph

 

From: George Stanley Kozak [mailto:gsk5@cornell.edu]
Sent: Thursday, April 28, 2011 9:50 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace1.7.1

 

Hi…

 

I am upgrading (in Test) from DSpace 1.6.2 to DSpace 1.7.1.  Everything has worked perfectly until I came to the step:

/dspace/bin/dspace index-init

 

When I try to execute that, I get:

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

 

I can’t figure this out.  All of the Class paths seem fine.  Anyone have any suggestions? 

 

George Kozak

Digital Library Specialist

Cornell University Library Information Technologies (CUL-IT)

501 Olin Library

Cornell University

Ithaca, NY 14853

607-255-8924