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

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

465 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you