Skip to content

Instantly share code, notes, and snippets.

@DukeyToo
Last active January 5, 2016 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DukeyToo/2462280ec1e55fcef123 to your computer and use it in GitHub Desktop.
Save DukeyToo/2462280ec1e55fcef123 to your computer and use it in GitHub Desktop.
FRC Robotics Windows setup

If you have admin access...

Use chocolatey to install software. From an administrative command prompt:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Re-open the administrative command prompt afterward to ensure all changes are reflected.

Eclipse

choco install eclipse -y

Run Eclipse from desktop shortcut. If you encounter error code 13, this means that the jdk that was already installed on your machine was 32 bit. To fix,

choco install jdk8 --force -y

..then retry running Eclipse.

Git

Easiest is GitHub desktop. Install this directly from the website. Will install 2 shortcuts on the desktop:

  1. bash shell
  2. github windows gui

If you don't have admin access...

You must have a version of Java installed already, or else you cannot proceed. Check c:\program files\java and c:\program files (x86)\java for Java versions. Folders named jdk are better than jre, but jre may still work for Eclipse. jdk8 is ideal.

Eclipse

If your only Java version is in the Program Files (x86) folder then you must use 32 bit Eclipse. Otherwise, you should use 64 bit.

Download Eclipse installer from the download website and follow the instructions on the website to run it.

Git

For Git, you can use the same instructions as those that have admin access (the GitHub desktop app does not require any special permissions).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment