Make sure your computer meets the following requirements:
64-bit operating system: Windows, Linux or macOS.
Memory – at least 8 GB (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.3.
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.3 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 Liberica JDK 11 from https://bell-sw.com/pages/downloads and install it to a directory suggested by the installer. This is enough for creating and running applications from the IDE.
|Jmix 1.2 supports Java 8, 11 and 17. 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.|
Depending on the size of your project, you may need to increase available memory for the IntelliJ IDEA and Gradle processes.
In IntelliJ IDEA, open Help → Edit Custom VM Options… and edit the
-Xmxparameter (it’s usually on top). The recommended value is
2048mor more, for example:
~/.gradle/gradle.propertiesfile and set the
-Xmxparameter in the
org.gradle.jvmargsproperty. The recommended value is
2048mor more, for example: