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

Merged
merged 2 commits into from
Jan 17, 2025

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
source/docs/software/advanced-gradlerio/jvm-runtime.rst Outdated Show resolved Hide resolved

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

Copy link
Member

@ThadHouse ThadHouse Jan 15, 2025

Choose a reason for hiding this comment

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

I would rather just either leave this as is, or remove this option entirely.

Basically what this is saying is that if you do this, your project will only work on Windows. We have no way around that.

Linux and macOS won't need a worked around JDK like this, so the solution for those is to just not do this.

Copy link
Collaborator Author

@sciencewhiz sciencewhiz Jan 15, 2025

Choose a reason for hiding this comment

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

I added a recommendation not to check into VCS

@sciencewhiz sciencewhiz merged commit 6a213d7 into wpilibsuite:main Jan 17, 2025
10 checks passed
@sciencewhiz sciencewhiz deleted the jvmruntime branch January 17, 2025 02:36
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.

3 participants