Fork me on GitHub

Download e build the code

Get the latest release of MirComp.

Build the code

Download the latest code release from: GitHub releases page

At the moment there are not pre-built binaries available for MirIDE.

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

Supposing the folder is named "programs"
On Ubuntu 22.04:

export JAVA_HOME=/home/user/programs/jdk-21.0.1/
export JRE_HOME=$JAVA_HOME
export PATH=$PATH:$JAVA_HOME/bin
		

On Windows 10 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, 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 createApp
		
You can finally run the main executable inside the created self-contained application:
./miride/build/app/MirIDE/bin/MirIDE
		
Similar on Windows 10:
C:\programs\mircomp>.\gradlew createApp
		
where it is sufficient a double click on the exec file in the corrisponding created folder inside the app.