"Exception in thread "main" java.lang.ClassFormatError: org.teiid.adminshell.GroovyAdminShell (unrecognized class file version)" error when trying to run the EDS Adminshell from CRONTAB

Solution Verified - Updated -

Issue

  • I am trying to run EDS Adminshell script in Linux through CRONTAB schedule and getting the below error:
Exception in thread "main" java.lang.ClassFormatError: org.teiid.adminshell.GroovyAdminShell (unrecognized class file version)
   at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
   at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
   at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at gnu.java.lang.MainThread.run(libgcj.so.7rh)

Environment

-JBoss Enterprise Data Services (EDS) 5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In