Download e build the code
Get the latest release of MirComp.
Build the code
At the moment there are not pre-built binaries available for MirIDE but the process to create a self-contained application is very fast and straightforward.
Java 21
You need Java 21 to build and run MirComp.
Java is available for all the major operating systems (Windows, Linux and OSX).
There are several excellent open source options out there.
For example you can get OpenJdk 21 from jdk.java.net.
Untar the downloaded file and move the content to a folder of your choice (e.g. programs).
Set up your environment variables
Ex.supposing you unzipped the files in "/home/user/programs"
On Ubuntu 22.04 open a terminal and type:
export JAVA_HOME=/home/user/programs/jdk-21.0.1/ export JRE_HOME=$JAVA_HOME export PATH=$PATH:$JAVA_HOME/bin
Similar on Windows when, supposing you unzipped Java in "C:\programs", you can open a powershell and enter:
[Environment]::SetEnvironmentVariable("JAVA_HOME", "C:\programs\jdk-21.0.1", [System.EnvironmentVariableTarget]::Process) [Environment]::SetEnvironmentVariable("JRE_HOME", $env:JAVA_HOME, [System.EnvironmentVariableTarget]::Process) [Environment]::SetEnvironmentVariable("Path", $env:Path + ";" + $env:JAVA_HOME + "\bin;", [System.EnvironmentVariableTarget]::Process)
Create a self-contained private MirIDE application
We are almost ready to finally create our own desktop application.
First, download the latest code release from: GitHub releases page.
Eventually unzip the code release inside a folder of your choice (e.g. inside the programs folder) and then launch the createApp task inside mircomp using the gradle wrapper (gradlew)
Example on Ubuntu 22.04:
cd /home/user/programs/mircomp ./gradlew createAppYou can finally find (and run) the main executable inside the created self-contained application (app folder):
mv ./miride/build/app . ./app/MirIDE/bin/MirIDESimilar on Windows:
C:\programs\mircomp>.\gradlew createAppwhere it is sufficient a double click on the exec file in the corrisponding created folder inside the app.