Documentation for JIRA 4.4. Documentation for other versions of JIRA is available too.
Please skip these instructions if you are intend to use the Windows Installer or Linux Installer to install JIRA, since these executable files will install and configure their own JRE to run JIRA.
このページの内容
JIRA を実行するには、Oracle (旧サンズ) の Java デベロップメントキット (JDK) または Java ランタイム環境 (JRE) プラットフォームを必要とします。JIRA が対応する、Java プラットフォームの詳細に関してはサポートするプラットフォーム を参照して下さい。
Oracle's JDK/JRE can be downloaded from Oracle's website.
多くの場合、Linux ディストリビューションには GCJ と呼ばれる Java のオープンソース実装がインストールしてあります。この Java プラットフォームは使用しないで下さい。これは不完全なものであり、この上で JIRA を安定して実行させる事はできません。
You can test whether you have the correct Java platform by running java -version
:
~$ java -version java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
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).
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).
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).
この環境変数が Windows ベースのコンピュータ上で設定されていない場合は、以下の手順でコントロールパネルにおいて設定します:
JAVA_HOME
as the variable name and the directory where you installed Java.JAVA_HOME
environment variable should be available in a new command prompt window. If not or if necessary, restart your computer.When the above steps have been done correctly, it should be possible to open a Windows command prompt and type %JAVA_HOME%\bin\java -version
(or "%JAVA_HOME%"\bin\java -version
if your %JAVA_HOME%
value contains spaces) and see output similar to this:
java version "1.6.0_19" Java(TM) SE Runtime Environment (build 1.6.0_19-b04) Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
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
.
Installing JIRA Standalone from an Archive File on Windows, Linux or Solaris