Files
PhotonVision/docs/source/docs/advanced-installation/sw_install/windows-pc.md
Sam Freund 9490c2f2cd Bump wpilib to 2026 beta (#2192)
## Description

<!-- What changed? Why? (the code + comments should speak for itself on
the "how") -->

<!-- Fun screenshots or a cool video or something are super helpful as
well. If this touches platform-specific behavior, this is where test
evidence should be collected. -->

<!-- Any issues this pull request closes or pull requests this
supersedes should be linked with `Closes #issuenumber`. -->

Bump to wpilib 2026 beta. This does not bump our pythonlib, as robotpy
hasn't come out yet.

## Meta

Merge checklist:
- [ ] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [ ] The description documents the _what_ and _why_
- [ ] This PR has been
[linted](https://docs.photonvision.org/en/latest/docs/contributing/linting.html).
- [ ] If this PR changes behavior or adds a feature, user documentation
is updated
- [ ] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [ ] If this PR touches configuration, this is backwards compatible
with settings back to v2025.3.2
- [ ] If this PR touches pipeline settings or anything related to data
exchange, the frontend typing is updated
- [ ] If this PR addresses a bug, a regression test for it is added

---------

Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com>
2025-12-11 23:53:54 -06:00

2.0 KiB

Windows PC Installation

PhotonVision may be run on a Windows Desktop PC for basic testing and evaluation.

:::{note} You do not need to install PhotonVision on a Windows PC in order to access the webdashboard (assuming you are using an external coprocessor like a Raspberry Pi). :::

Install Bonjour

Bonjour provides more stable networking when using Windows PCs. Install Bonjour here before continuing to ensure a stable experience while using PhotonVision.

Installing Java

PhotonVision requires a JDK installed and on the system path. JDK 17 is needed. You may already have it if you installed WPILib, but ensure that running java -version shows JDK 17. You will likely have to add WPILib's JDK to JAVA_HOME and the JDK's bin directory to PATH. If you do not have a JDK 17 install, download and install it from here.

Downloading the Latest Stable Release of PhotonVision

Go to the GitHub releases page and download the winx64.jar file.

Running PhotonVision

To run PhotonVision, open a terminal window of your choice and run the following command:

> java -jar C:\path\to\photonvision\NAME OF JAR FILE GOES HERE.jar

If your computer has a compatible webcam connected, PhotonVision should startup without any error messages. If there are error messages, your webcam isn't supported or another issue has occurred. If it is the latter, please open an issue on the PhotonVision issues page.

:::{warning} Using an integrated laptop camera may cause issues when trying to run PhotonVision. If you are unable to run PhotonVision on a laptop with an integrated camera, try disabling the camera's driver in Windows Device Manager. :::

Accessing the PhotonVision Interface

Once the Java backend is up and running, you can access the main vision interface by navigating to localhost:5800 inside your browser.