Unsolved
This post is more than 5 years old
5 Posts
0
649
December 4th, 2008 00:00
UnsupportedClassVersionError when running emcsts_export_db.bat
We have migrated STS from 5.2 to 6.1 and get the following error while trying to export the database:
*************************************************************************
* WARNING: This script won't run properly from Terminal Services Client *
* Please run this batch file on the Repository host itself *
*************************************************************************
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/emc/dss/E
mcStsSql (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
The database is not open, database export will not be performed at this time
There's a 1.4.2_08 Java version running in ECC\Repository\jre\1.4.2 and 1.5.0_13 Java version running in \ECC\tools\jre\nt\latest.
Also there's a 1.4.2_10 in C:\program files\java.
It also says the database is not open. Is there a command to check this?
We are only running STS on this server, there's another server with ControlCenter repository and a few other servers with store.
Thanks in advance!
*************************************************************************
* WARNING: This script won't run properly from Terminal Services Client *
* Please run this batch file on the Repository host itself *
*************************************************************************
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/emc/dss/E
mcStsSql (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
The database is not open, database export will not be performed at this time
There's a 1.4.2_08 Java version running in ECC\Repository\jre\1.4.2 and 1.5.0_13 Java version running in \ECC\tools\jre\nt\latest.
Also there's a 1.4.2_10 in C:\program files\java.
It also says the database is not open. Is there a command to check this?
We are only running STS on this server, there's another server with ControlCenter repository and a few other servers with store.
Thanks in advance!
No Events found!
seamuscoffey
472 Posts
1
December 4th, 2008 06:00
It looks like your machine is pointing to an older version of JAVA (1.4.*) whereas the emcsts scripts are built with later version of JAVA which is 1.5. * - therefore you end up getting the UnsupportedClassVersi%EMCSTSOH%\..\tools\jre\nt\latest\bin;%EMCSTSOH%\admin\emcsts_scripts;%PATH%;
2. Launch emcsts_getversion.bat (or any other emcsts script). It should run successfully once you're pointing to the latest JRE version.
Regards,
Séamus Coffey
EMC Global Services