Kotlin script that launches the latest installed IntelliJ with a specified project. This can be useful to launch IntelliJ e.g. on system startup. It provides a permanent shortcut which survives any update.
- IntelliJ Ultimate (can be changed)
- Java Runtime or blaze
Yes there are many ways to run that thing:wink:
Run intellij-runner.exe with click/bash/link
intellij-runner.exe project={your-path}
Run intellij-runner.jar with click/bash/link
java -jar intellij-runner.jar project={your-path}
Rename script to .kts
and run as kotlin script.
kotlinc -script intellij-runner.kts
Run wih script with blaze:
java -jar blaze.jar runIntelliJ
# or with project
java -jar -Dproject=C:\Users\your-project blaze.jar runIntelliJ