The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Joerg-Peter Lorch
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nic Brough -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 Champions.
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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-
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 Champions.
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.

TAGS
AUG Leaders

Atlassian Community Events