Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add article for JVM MSVC runtime error #2947

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sciencewhiz
Copy link
Collaborator

No description provided.

@sciencewhiz sciencewhiz force-pushed the jvmruntime branch 3 times, most recently from ece72d6 to 36880e7 Compare January 15, 2025 02:11

Programs compiled with Microsoft Visual C++ (MSVC) require a MSVC runtime that is equal to or newer then the newest library being executed. WPILib is compiled with a recent version of MSVC.

In the past, this hasn’t really been used, but a change in the runtime last year actually took advantage of this requirement.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace "last year" with the actual year


It can also be done by putting ``gradle.properties`` in the project root with the following contents (where YEAR is the current WPILib installation):

.. warning:: This will only work if you only use your project on Windows, as the location is hardcoded to the location on Windows.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mention what the Linux path is rather than limiting this to Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants