You can skip this page if you are using the BellaDati Windows installer, Linux installer or Mac installer.
1. Installing Java
BellaDati requires Oracle's Java SE 8 platform to run. Refer to Supported Platforms for details on the Java platform versions that BellaDati supports. Oracle's JDK can be downloaded from Oracle's website.
Please be sure you are installing JDK with Server HotSpot, and not just JRE.
Linux distributions frequently have an open-source implementation of Java called GCJ installed. Do not use this Java platform — it is incomplete and BellaDati 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.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b18) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b18, mixed mode)
On recent Linux distributions, Oracle's JDK can be installed through a package manager, e.g. apt-get on Ubuntu.
2. Setting JAVA_HOME
Once the JDK is installed you need to set the JAVA_HOME
environment variable pointing to the root directory of your JDK installation.
Some JDK installers set this automatically. You can type echo %JAVA_HOME%
in a Windows command prompt or echo $JAVA_HOME
in a Linux/UNIX console to verify. If the property hasn't been set, follow the steps below.
2.1 For Linux/Solaris
You can set the JAVA_HOME
variable with the following command:
$ export JAVA_HOME=/path/to/jdk
Make sure this variable is automatically set after system starts (append it to the .profile
).
2.2 For Windows
Windows users can specify environment variables in the System Properties->Environment Variables
window.