config.sh results in "Could not find the main class: com.atlassian.jira.configurator.Configurator."

Lucas Molenaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2015

I am upgrading JIRA to the latest version (standalone install on Solaris) and extracted the latest version along to the older version, copied the custom files and mysql connector to the new directory but I am unable to run /bin/config.sh (working correctly in the old dir).

Error:

tomcat@viedstape10:/opt/jira-current/bin> ./config.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/atlassian/jira/configurator/Configurator : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.atlassian.jira.configurator.Configurator. Program will exit.

Could somebody advise what I am missing?

  • Old version = atlassian-jira-6.3.10-standalone
  • New version = atlassian-jira-6.4.8-standalone

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2015

Check the java version and see if it is supported on 6.4.

Suggest an answer

Log in or Sign up to answer