Attend a User Group

Home » Atlassian Forums » Software » JIRA


This question is answered.


Permlink Replies: 19 - Pages: 2 [ 1 2 | Next ] - Last Post: Dec 13, 2009 6:50 AM Last Post By: James Intriglia
James Intriglia

Posts: 43
Registered: 11/09/07
JIRA v4.x on Linux
Posted: Oct 21, 2009 9:43 AM
 
Click to report abuse...   Click to reply to this thread Reply
The ability to run JIRA v4.x is dependent on the availability of Sun's Java Development Kit (JDK) version 5 (1.5) or Sun JRE version 6 (1.6), update 10 or higher:

http://confluence.atlassian.com/display/JIRA/Installing+Java#InstallingJava-verifyjava

Some popular Linux distributions, such as Debian v5 (Lenny), do not come configured with, or have available for installation the Sun JDK or JRE. Like other Linux distributions, the GNU Compiler with Java (GCJ) is provided, which does not support JIRA v4.

If you have JIRA 4.x running on a particular Linux distribution, please post to this thread. Let's save other developers/administrators the time and energy associated with a trial and error approach to figuring out which Linux distro will support JIRA v4.x out-of-box.

Please include the Linux distribution that you are using and the associated hardware/architecture you are running JIRA v4.x on.

Thanks!

P.S. - I am presently testing Linux Ubunto v9.04 desktop distribution, and will post the results of my test to this thread. My platform is a Macbook Pro (gen. 5) OS X using the AMD64 distribution of Ubunto v9.04, installed in a Virtual Machine instance via VMWare v.2.x.
Thoralf Will

Posts: 47
Registered: 08/21/08
Re: JIRA v4.x on Linux
Posted: Oct 21, 2009 2:06 PM    global.in_response_to.tooltip in response to: James Intriglia
 
Click to report abuse...   Click to reply to this thread Reply
What keeps you from installing Sun's Java on Debian?
Tim Gesekus

Posts: 5
Registered: 04/17/09
Re: JIRA v4.x on Linux
Posted: Oct 21, 2009 2:40 PM    global.in_response_to.tooltip in response to: James Intriglia
Helpful
Click to report abuse...   Click to reply to this thread Reply
It doesn't work out-of-the-box on Suse Linux Enterprise Server(SLES) 10 SP2, because of the default IBM JRE 1.5 which has a problem with the annotations used in JIRA. https://support.atlassian.com/browse/JSP-44950

After a proper installation of a Sun JDK, Jira works like a charm on SLES 10.

If installing your own JDK don't forget to set $JRE_HOME which points to the system JRE. Tomcat uses this even if the $JAVA_HOME is set to an other JDK.

Tim

Edited by: Tim Gesekus on Oct 21, 2009 4:11 PM
James Intriglia

Posts: 43
Registered: 11/09/07
Re: JIRA v4.x on Linux
Posted: Oct 21, 2009 3:23 PM    global.in_response_to.tooltip in response to: Thoralf Will
 
Click to report abuse...   Click to reply to this thread Reply
Thoralf, The SUN SDK/JRE .deb package is still in testing/development. It is currently not available via the Apptitude or apt-get application.
James Intriglia

Posts: 43
Registered: 11/09/07
Re: JIRA v4.x on Linux
Posted: Oct 21, 2009 3:27 PM    global.in_response_to.tooltip in response to: Tim Gesekus
 
Click to report abuse...   Click to reply to this thread Reply
Tim, Thanks for posting the info on SuSe and the IBM JRE 1.5. I am downloading the current release of Fedora Linux as it appears that some Atlassian developers (based on some posts I read this morning) have tested JIRA v4 on Fedora. I'll test Fedora if I encounter problems with Ubunto Linux v9.0.4 Desktop edition.
Istvan Verhas

Posts: 6
Registered: 02/12/09
Re: JIRA v4.x on Linux
Posted: Oct 21, 2009 3:33 PM    global.in_response_to.tooltip in response to: James Intriglia
 
Click to report abuse...   Click to reply to this thread Reply
According to http://packages.debian.org/search?keywords=sun-java&searchon=names&suite=stable&section=all it seems to me sun java is already available in the lenny(stable).
bye
steve
James Intriglia

Posts: 43
Registered: 11/09/07
Re: JIRA v4.x on Linux
Posted: Oct 21, 2009 3:57 PM    global.in_response_to.tooltip in response to: Istvan Verhas
 
Click to report abuse...   Click to reply to this thread Reply
Hi Steve, Hmmm, it would appear that way, yes? I'll recheck via Aptitude and apt-get and post back if I am successful with a Sun JRE package install. Thanks for posting the info and link to it.

Edited by: James Intriglia on Oct 21, 2009 3:58 PM
Istvan Verhas

Posts: 6
Registered: 02/12/09
Re: JIRA v4.x on Linux
Posted: Oct 21, 2009 4:33 PM    global.in_response_to.tooltip in response to: James Intriglia
Correct
Click to report abuse...   Click to reply to this thread Reply
At first ensure that /etc/apt/sources.list contains the non-free distribution also as the sun java is there because of license limitations. Of course after adding (if missing) do aptitude update before aptitude install.
bye
steve
James Intriglia

Posts: 43
Registered: 11/09/07
Re: JIRA v4.x on Linux
Posted: Oct 22, 2009 7:13 AM    global.in_response_to.tooltip in response to: Istvan Verhas
 
Click to report abuse...   Click to reply to this thread Reply
It's been confirmed by Atlassian that JIRA v4 will not run using the GNU GCJ JRE. Has anyone confirmed whether JIRA v4 will run on any Linux distro using Sun's OpenJDK JRE (reference 7.3.2 below)?

http://www.debian.org/doc/manuals/debian-java-faq/ch7.html#s-openjdk
Albert Charron
Re: [JIRA-user] JIRA v4.x on Linux
Posted: Oct 22, 2009 8:36 AM    global.in_response_to.tooltip in response to: James Intriglia
Click to report abuse...   Click to reply to this thread Reply
 global.attachment smime.p7s (5.0 KB )
Honestly, you don't need to install with the deb file... download the
tarball from Sun, extract it to your favorite location (I use
/usr/local/java) and update the alternative configuration to use this JVM
(alternative sets the path to java and java_home)... That's the way I
installed Jira on my Mandriva server and it's the way I install java (runs
for all java programs I tried) on Ubuntu.

Albert


-----Original Message-----
From: jira-user-bounces@lists.atlassian.com
mailto:jira-user-bounces@lists.atlassian.com On Behalf Of
forums@atlassian.com
Sent: Wednesday, October 21, 2009 4:23 PM
To: jira-user@lists.atlassian.com
Subject: Re: JIRA-user JIRA v4.x on Linux

The SUN SDK/JRE .deb package is still in testing/development. It is
currently not available via the Apptitude or apt-get application.
--
Post by JimIntriglia - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38085
_______________________________________________
Jira-user mailing list
Jira-user@lists.atlassian.com
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user
_______________________________________________
Jira-user mailing list
Jira-user@lists.atlassian.com
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user

James Intriglia

Posts: 43
Registered: 11/09/07
Re: JIRA v4.x on Linux
Posted: Oct 22, 2009 10:30 AM    global.in_response_to.tooltip in response to: Istvan Verhas
 
Click to report abuse...   Click to reply to this thread Reply
Steve & All,

After updating my sources.list files to include the non-free archives, I was able to use Aptitude to install the java-6-sun JRE. Once that step was completed, I used the sudo update-alternatives --config java command to set java-6-sun as the default JRE. Then I set the JAVA_HOME variable in /etc/profile, and voila - all is well on my debian system, now running Sun JRE. Steve, Thanks for the info on the non-free libraries that contained the Sun JRE. :-)
James Intriglia

Posts: 43
Registered: 11/09/07
Re: [JIRA-user] JIRA v4.x on Linux
Posted: Oct 22, 2009 10:34 AM    global.in_response_to.tooltip in response to: Albert Charron
 
Click to report abuse...   Click to reply to this thread Reply
Albert, Good information, thanks. As I am managing my Debian system using Aptitude, I want to avoid installing software manually. Bad things can happen when Aptitude is not aware of packages that are installed on the machine via a manual-install process, yes?
Albert Charron
Re: [JIRA-user] JIRA v4.x on Linux
Posted: Oct 22, 2009 11:12 AM    global.in_response_to.tooltip in response to: James Intriglia
Click to report abuse...   Click to reply to this thread Reply
 global.attachment smime.p7s (5.0 KB )
When I install manually, I usually avoid to install in the location where
Apt will install it's packages. I also prefer using Apt (or aptitude) when
possible, but I've seen time when not possible (example: a software
requiring a library version higher than what available through package
management...). The only problems I can see is when you need two versions of
the same library (the one in Apt for other installed software and the one
you manually installed for your new soft) or when you need to upgrade your
distribution to a new release (but... who does that on a server anyways? And
you should keep track of what installed on your server no?).

Albert

-----Original Message-----
From: jira-user-bounces@lists.atlassian.com
mailto:jira-user-bounces@lists.atlassian.com On Behalf Of
forums@atlassian.com
Sent: Thursday, October 22, 2009 11:35 AM
To: jira-user@lists.atlassian.com
Subject: Re: JIRA-user JIRA v4.x on Linux

Albert, Good information, thanks. As I am managing my Debian system using
Aptitude, I want to avoid installing software manually. Bad things can
happen when Aptitude is not aware of packages that are installed on the
machine via a manual-install process, yes?
--
Post by JimIntriglia - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38085
_______________________________________________
Jira-user mailing list
Jira-user@lists.atlassian.com
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user
_______________________________________________
Jira-user mailing list
Jira-user@lists.atlassian.com
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user
James Intriglia

Posts: 43
Registered: 11/09/07
Re: [JIRA-user] JIRA v4.x on Linux
Posted: Oct 22, 2009 11:33 AM    global.in_response_to.tooltip in response to: Albert Charron
 
Click to report abuse...   Click to reply to this thread Reply
Albert, I know system admins that prefer to manually manage installed packages (especially on servers) rather than rely on solutions such as Aptitude and apt. BTW - Here's a really good article I came across this morning on using Aptitude over apt. Always wondered about that. ;-)
http://www.garfieldtech.com/blog/your-debian-aptitude
James Intriglia

Posts: 43
Registered: 11/09/07
Re: [JIRA-user] JIRA v4.x on Linux
Posted: Oct 23, 2009 2:00 PM    global.in_response_to.tooltip in response to: James Intriglia
 
Click to report abuse...   Click to reply to this thread Reply
I'm creating a "JIRA 4.x Installation and Configuration on Linux How-to" document based on the information shared in this thread and other resources I've come across. If anyone would like a copy, email me at JimIntriglia@gmail.com.
Legend
Genius: 1000 - 10000 pts
Expert: 500 - 999 pts
Guide: 250 - 499 pts
Enthusiast: 50 - 249 pts
Newbie: 5 - 49 pts
Atlassian Employee
Atlassian Partner
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums