Installing Jira 6.01 got the problem of "unable to install class for jsp ....".

Yes, I know 6.x is old. But if you want to migrate and transfer the existing tool from odl to new hardware. You normaly need to install 6.x first again, as I read. The problem is the first start up after the installation of 6.x. Jira does not come up, there are problems name "unable to install class for jsp....". Did some help advices, but without any success and finally found https://bugs.openjdk.java.net/browse/JDK-8155588

New Environment : Redhat 7.4 / mysql 5.6.37 / Java 8.0.141

Any other (better) procedure to migrate and update Jira 6.01 to 7.x ?

 

1 answer

0 vote

Ah, you'll need to use an older version of Java - 6.0 only runs on Java 1.7, 8 causes it to fail.

Thanks Nic for this input. But on that server there are different things (like confluence !) that need to be run on newer java versions. Don't know if they would get into problems with an older java version.

Is it possible to run different java versions for different applications ?

Yes, if you're careful with settings and versions.

Later versions of Atlassian stuff comes with its own version of Java and ignores what's on your server, so you're ok if you're on a recent one. 

For older ones, your environment should usually contain a setting for "JAVA_HOME".  That's probably what is in use.

But, if you go into the file "setenv.sh" in the bin directory of each application, you should be able to force the version by putting in

JAVA_HOME=/wherever/the/other/version/is

PATH=$JAVA_HOME:$PATH

Obviously, you'll need to install the right version and work out where it's been put.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,231 views 6 19
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot