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

Joerg-Peter Lorch August 17, 2017

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 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 17, 2017

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

Joerg-Peter Lorch August 17, 2017

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 ?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 17, 2017

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 Sign up to answer