Make sure your computer meets the following requirements:
64-bit operating system: Windows, Linux or macOS.
Memory – at least 8 GB for development with Jmix Studio (16 GB is recommended).
Hard drive free space – at least 10 GB.
Jmix Studio is implemented as a plugin for IntelliJ IDEA. The minimal supported IntelliJ IDEA version is 2021.1.
If you don’t have IntelliJ IDEA installed yet, download Community edition from the JetBrains website and install it.
After IntelliJ IDEA has been installed, do the following:
Start IntelliJ IDEA (2021.1 or newer).
On the startup screen of the IDE click the Plugins button.
If you have any project opened, use the main menu: File → Settings (on Windows and Linux) or IntelliJ IDEA → Preferences (on macOS). Then switch to the Plugins section.
Switch to the Marketplace tab.
Enter "Jmix" into the search field. You will see the Jmix plugin in the search results.
Click Install and follow the further instructions of the IDE.
In case you need to configure internet access via a proxy server or install non-standard Studio builds, visit the Studio installation section.
|To have access to the premium Studio features, configure subscription in the subscription dialog window.|
Download JDK 11 from https://adoptopenjdk.net and install it to a directory suggested by the installer. This is enough for creating and running applications from the IDE.
|Jmix supports Java 8 and 11. Pay attention that OpenJ9 JVM is not supported.|
To run Jmix applications from the terminal, set
JAVA_HOME environment variable as described below.
On Windows, create the
JAVA_HOMEvariable with the path to the installed JDK root directory at Computer → Properties → Advanced System Settings → Advanced → Environment variables. The variable should be added to the System variables list.
On macOS and Linux set
~/.bash_profileor another appropriate file of your shell, for example:
Restart the computer to make sure the environment variable has taken effect.
Check correctness of the environment variable by running the following command in the console:On Windows
%JAVA_HOME%\bin\java -versionOn Linux and macOS
The command should return the Java version, e.g.
|If you connect to the internet via a proxy server, some Java system properties must be passed to the JVM running development tools and Gradle. Configure these properties using Jmix Studio.|