페이지 트리
메타 데이터의 끝으로 건너뛰기
메타 데이터의 시작으로 이동

Please skip these instructions if you are intend to use or have used the Windows Installer or Linux Installer to install JIRA, since these executable files will install and configure their own JRE to run JIRA.

 

페이지목차:

자바 설치하기

JIRA requires Oracle's (formerly Sun's) Java Development Kit (JDK) or Java Runtime Environment (JRE) platform to run. Refer to Supported Platforms for details on the Java platform versions that JIRA supports.

Oracle's JDK/JRE can be downloaded from Oracle's website.

(warning) Linux distributions frequently have an open-source implementation of Java called GCJ installed. Do not use this Java platform — it is incomplete and JIRA will not run successfully on it.

You can test whether you have the correct Java platform by running java -version:

~$ java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

On recent Linux distributions, Oracle's (formerly Sun's) JDK can be installed with a command like sudo apt-get install sun-java6-jdk (for Ubuntu).

(warning) On some X.org-based distros (eg. Fedora Core 4), you may see an error like this:

java.lang.UnsatisfiedLinkError: /opt/j2sdk1.4.2_11/jre/lib/i386/libawt.so: libXp.so.6: cannot open
shared object file: No such file or directory

If you do, you will need to install the xorg-x11-deprecated-libs package (Fedora) or equivalent (check Google).

JAVA HOME 세팅하기

Once the JDK or JRE is installed, you will need to set the JAVA_HOME environment variable, whose value is the root directory of the JDK/JRE.

Some JDK/JRE installers set this automatically (check by typing 'echo %JAVA_HOME%' in a Windows command prompt, or 'echo $JAVA_HOME' in a Linux/UNIX console).

If this environment variable is not set on a Windows-based computer, you can set it in the Control Panel using the following procedure:

  1. Open the Windows 'Advanced' system properties dialog box:
    • On Windows XP-based operating systems, right-click on the My Computer icon on your desktop (or via the Start menu), select 'Properties' and click the 'Advanced' tab.
    • On Windows 7-based operating systems, right-click the Computer icon on your desktop (or via the Start menu), select 'Properties', click 'Advanced system settings', select 'Properties' and click the 'Advanced' tab.
  2. Click the Environment Variables button.
  3. Click one of the New buttons (to define a new environment variable for your user account, or if available, system-wide).
  4. Type JAVA_HOME as the variable name and the directory where you installed Java.

    (정보) The default path for the bundled JRE with JIRA is C:\Program Files\Atlassian\JIRA\jre. If using a 32-bit install in 64-bit system, this would be C:\Program Files (x86)\Atlassian\JIRA\jre.
  5. After clicking the required 'OK' buttons to save your changes, your JAVA_HOME environment variable should be available in a new command prompt window. If not or if necessary, restart your computer.

JAVA 동작 확인하기

When the above steps have been done correctly, it should be possible to open a DOS prompt and type %JAVA_HOME%\bin\javac , and see this printed:

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

If, later on when you try to start JIRA, you get the error Windows cannot find '-Xms128m', it is because you have not correctly set JAVA_HOME.

다음단계

현재 JIRA Standalone이 작동할 수 있도록 설치하고 있습니다. 아직 다운로드 받지 않았다면 그것을 다운로드하고 인스톨 가이드를 진행하십시오.

일단 설치됐으면 외부 데이터 베이스를 사용할 수 있는 JIRA Standalone을 환경설정하거나 나중에 데이터 베이스를 변경할 수 있습니다.

만약 기존의 app server 와 database로 JIRA를 설치하고 있다면 application server 안내서에 따라 진행한 후 database 안내서에 따라 진행해야 합니다.

  • 레이블 없음