Skip to content

Lightrun for JetBrains Projector

Lightrun now provides a free, easy-to-install plugin for JetBrains Projector - a self-hosted technology that runs IntelliJ-based IDEs and Swing-based apps on the server, allowing you access to them from anywhere using the browser.

Our JetBrains projector plugin is compatiable with the Lightrun Desktop plugin version, with a few minor limitations listed below.

Installing Lightrun for JetBrains Projector

docker run --rm -p 8887:8887 -v ~/projector-docker:/home/projector-user  -it jetbrains/projector-idea-c

Note

The addition of the volume in ~/projector-docker is done in order to allow the Lightrun plugin to persist state; without it, the plugin will not work between restarts.

  • Once the container is running, visit http://localhost:8887, accept the terms and conditions (and accept / deny the data sharing request) then make sure you see the following screen:

    IntelliJ on JetBrains Projector
  • Once there, select Plugins in the left sidebar, search for "Lightrun" then install it:

    Install Lightrun
  • Once installed, click "Restart IDE":

    Restart the IDE
  • The IDE will now restart, and you will need to stop the container and start it from scratch. Remember the volume we added to the container earlier? That volume persists state between container restarts, so your plugin will be installed on the next launch. To kill the container, either exit the terminal window or click CTRL + C to kill the process. Then, run the container again:
docker run --rm -p 8887:8887 -v ~/projector-docker:/home/projector-user  -it jetbrains/projector-idea-c
  • When the container restarts, go back to the browser window and click on "reconnect":
Reconnect to Projector
  • Wait for the IntelliJ window to reappear, then choose any project from your system to open the editor view:

    Open a Project
  • You can choose any folder inside the container, but projector-user is a good choice if you're not sure what to pick.

    Choose Project
  • Once you choose a folder, also click "Trust Project" in the next window:

    Trust Project
  • Once the editor loads, click on the Lightrun tab on the left side:

    Trust Project
  • Then click "Login" in the Lightrun sidebar:
    Trust Project
  • If you have a Lightrun account with us simply sign in to it. If you don't have an account, create one:

    Lightrun Registration Screen
  • After logging in or signing up, in the first onboarding page, choose "IntelliJ" and your language of choice:

    Select IDE and Language

From there, depending on the language you choose, you will be directed to install the relevant Lightrun agent. Please see below for detailed instructions for each supported runtime:


Last update: June 19, 2022