| | 23 | == Notes for Windows Users == |
| | 24 | CIVL is not currently supported on Windows. However, it is easy to use CIVL and set up an Eclipse development environment on Windows using WSL. With Windows 11 or with Windows 10 21H2 (or newer), you can easily install WSL2 and run Linux GUI applications from it. |
| | 25 | |
| | 26 | If you want to develop CIVL using a Windows machine, you should install WSL2 using the following instructions and then follow the remaining instructions of this page in the Linux partition managed by WSL. |
| | 27 | |
| | 28 | 1. Open up powershell and execute the command `wsl --install` |
| | 29 | 1. Restart your computer. |
| | 30 | 1. Open up WSL (you can search for it now on the windows start menu). Pick a username and password to use when it asks. |
| | 31 | 1. Execute `sudo apt update` |
| | 32 | 1. Execute `sudo apt upgrade` |
| | 33 | 1. Execute `sudo apt install openjdk-17-jre-headless` |
| | 34 | 1. To get all packages required for displaying GUIs, it is easiest to install a simple GUI application like gedit which will obtain all of the necessary packages for you. Execute `sudo apt install gedit -y`. |
| | 35 | 1. Test gedit out by running `gedit`. A separate GUI window for gedit should appear. This means you are now set up to run GUI Linux applications from WSL. |
| | 36 | |
| | 37 | You can now follow the rest of the instructions on this page. Note that when downloading files, you may need to move them to somewhere on your Linux partition before running them (like the Eclipse installer for example). This can easily be done with the regular Windows file explorer. |
| | 38 | |
| | 39 | As a reminder, all the instructions on this page are to be done with respect to your Linux partition created by WSL. So for example, if an instruction says that something needs to go on your `PATH`, this means that it should be on your Linux `PATH` not the Windows `PATH`. |
| | 40 | |