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

Auto detect JAVA_HOME on Linux #546

Merged
merged 8 commits into from
Aug 3, 2024
Merged

Auto detect JAVA_HOME on Linux #546

merged 8 commits into from
Aug 3, 2024

Conversation

hahn80
Copy link
Contributor

@hahn80 hahn80 commented Jul 26, 2024

By tracking the link to javac we can find the actual path and set it to JAVA_HOME.

@hahn80
Copy link
Contributor Author

hahn80 commented Jul 26, 2024

My black formatter seemed to make some unnecessary changes.

commands/java.py Outdated Show resolved Hide resolved
Makefile Outdated
$(PYTHON) $(SETUP) uninstall

.PHONY: all build clean install uninstall

Copy link
Member

Choose a reason for hiding this comment

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

I'd prefer if we didn't include the Makefile as I don't think @bsteffensmeier or myself will ever test or maintain it to make sure it still works. Also I believe with newer versions of setuptools we're no longer supposed to call python setup.py target and this is one more thing we'd have to maintain as we shift away from that.

@bsteffensmeier bsteffensmeier changed the base branch from master to dev_4.2 July 31, 2024 22:18
Copy link
Member

@ndjensen ndjensen left a comment

Choose a reason for hiding this comment

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

Please remove the Makefile and .gitignore changes.

@hahn80
Copy link
Contributor Author

hahn80 commented Aug 1, 2024

Thanks Nate.
I just removed the Makefile.
Hahn.

@ndjensen ndjensen merged commit c43f3a9 into ninia:dev_4.2 Aug 3, 2024
1 check passed
@ndjensen
Copy link
Member

ndjensen commented Aug 3, 2024

Thanks for the contribution!

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