== Setup your laptop Note: although you can do Java development using any laptop (Windows, Mac, Linux), you can only ''run'' java robot software using a Windows laptop (the FRC driver station doesn't run on Mac or Linux), so for 2537 development, you should plan to do your work using a computer running MS Windows (either your own or the team's laptops if possible). Otherwise, if you don't have access to a Windows, make sure you are following the proper steps for your specific laptop. **Windows:** 1. Install Java * Install Java Development Kit (JDK) version 11 from either [https://www.azul.com/downloads/zulu-community/ Zulu] (recommended) or [https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Oracle] for Windows * Add an environment variable JAVA_HOME that points to the directory where you installed Java and add the bin sub-folder to your search path; see detailed instructions [https://javatutorial.net/set-java-home-windows-10 here]. 1. Install Git (if not already on your computer) from [https://git-scm.com/downloads here]. * See detailed instructions [https://phoenixnap.com/kb/how-to-install-git-windows here]. 1. Install the Microsoft VSCode IDE software development environment using either of these methods: 1. Manually 1. Install Microsoft [https://code.visualstudio.com/download VSCode] 1. Install the latest WPILib Extension for VSCode using the VSCode [https://code.visualstudio.com/docs/editor/extension-gallery extension manager] (search for WPILib). You can also install manually by downloading the latest non-beta version from non-beta version [https://github.com/wpilibsuite/vscode-wpilib/releases here] 1. Install the Java Extension for VSCode using the extension manager (this will install a number of additional extensions) 1. Automatically 1. Follow the detailed instructions [https://docs.wpilib.org/en/latest/docs/getting-started/getting-started-frc-control-system/wpilib-setup.htm here] 1. To use cameras, you need to install the National Instruments (NI) FRC Vision Development Module [http://www.ni.com/download/vision-development-module here]. Choose the 'current user' version, login to your NI account (or create one), and then select the Vision Development Module (FRC) for download. Unzip and install the module; when you later run the driver station software, it will ask you to activate the module using the instructions provided on the DriverStationSetup setup page 1. Install the latest National Instruments (NI) FRC Update Suite [http://www.ni.com/download/first-robotics-software-2017/7904/en/ here]. Detailed instructions are [https://wpilib.screenstepslive.com/s/currentCS/m/cpp/l/1027499-installing-the-frc-update-suite-all-languages here]. Note: to activate the vision module you will need the current team serial number which you can get from a mentor. 1. Install the [http://www.ctr-electronics.com/control-system/hro.html#product_tabs_technical_resources CTRE Phoenix Framework] 1. Make sure Microsoft Internet Explorer (yep) is installed on your computer **macOS:** 1. Install Java * Install Java Development Kit (JDK) version 11 from either [https://www.azul.com/downloads/zulu-community/ Zulu] (recommended) or [https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Oracle] for macOS * Add an environment variable JAVA_HOME that points to the directory where you installed Java and add the bin sub-folder to your search path; to do it, open up Terminal and type the [https://mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/ following]. 1. Install Git (if not already on your computer) from [https://git-scm.com/downloads here]. * See detailed instructions [https://phoenixnap.com/kb/install-git-on-mac here]. 1. Install the macOS VSCode IDE software development environment using [https://docs.wpilib.org/en/latest/docs/getting-started/getting-started-frc-control-system/wpilib-setup.htm these] instructions; make sure you are under the macOS tab. **Linux:** 1. Install Java * Install Java Development Kit (JDK) version 11 from either [https://www.azul.com/downloads/zulu-community/ Zulu] (recommended) or [https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Oracle] for Linux * Add an environment variable JAVA_HOME that points to the directory where you installed Java and add the bin sub-folder to your search path; see detailed instructions [https://www.cyberciti.biz/faq/linux-unix-set-java_home-path-variable/ here]. 1. Install Git (if not already on your computer) from [https://git-scm.com/downloads here]. * Instructions may vary depending on your distro; if you use Ubuntu use [https://phoenixnap.com/kb/how-to-install-git-on-ubuntu this] 1. Install the Linux VSCode IDE software development environment using [https://docs.wpilib.org/en/latest/docs/getting-started/getting-started-frc-control-system/wpilib-setup.htm these] instructions; make sure you are under the Linux tab. === Notes === * When using USB to connect to the RoboRIO (handy because you can keep your computer online while developing), you may need to edit the properties of the virtual Ethernet network adapter that is created: 1. Control Panel->Network and Internet->Network Sharing Center->Change Adapter Settings 1. Right click the National Instruments USBLAN Adapter and select Properties 1. Select Internet Protocol Version 4 and then press the Properties button 1. Choose Obtain an IP address automatically and Obtain DNS server address automatically then press OK 1. After the changes are made you may need to unplug and replug the USB connection * When you first launch the driver station, remember to set your team number 1. Choose the Settings (gear icon) 1. Enter your Team Number