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

Show warning when JAVA_HOME is not defined #261

Merged
merged 6 commits into from
Aug 25, 2021

Conversation

chippmann
Copy link
Contributor

Resolves #133

This prevents our module from loading if JAVA_HOME is not defined in editor mode instead of letting the editor crash.
It also adds a warning on editor startup about the issue:
1

src/editor/dialog/error_dialog.cpp Outdated Show resolved Hide resolved
src/gd_kotlin.h Outdated Show resolved Hide resolved
@chippmann chippmann requested a review from piiertho August 24, 2021 06:51
src/gd_kotlin.h Outdated Show resolved Hide resolved
@chippmann chippmann requested a review from piiertho August 25, 2021 05:35
Copy link
Member

@piiertho piiertho left a comment

Choose a reason for hiding this comment

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

Great Job ! Thx !

@chippmann chippmann merged commit a556bdf into master Aug 25, 2021
@chippmann chippmann deleted the feature/133_dont_crash_when_java_home_not_defined branch August 25, 2021 09:44
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.

Editor crashes when opening a project if JAVA_HOME is not defined
4 participants