Skip to content

Auto detect JAVA_HOME on Linux#546

Merged
ndjensen merged 8 commits into
ninia:dev_4.2from
hahn80:master
Aug 3, 2024
Merged

Auto detect JAVA_HOME on Linux#546
ndjensen merged 8 commits into
ninia:dev_4.2from
hahn80:master

Conversation

@hahn80

@hahn80 hahn80 commented Jul 26, 2024

Copy link
Copy Markdown
Contributor

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

@hahn80

hahn80 commented Jul 26, 2024

Copy link
Copy Markdown
Contributor Author

My black formatter seemed to make some unnecessary changes.

Comment thread commands/java.py Outdated
Comment thread Makefile Outdated
$(PYTHON) $(SETUP) uninstall

.PHONY: all build clean install uninstall

Copy link
Copy Markdown
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

@ndjensen ndjensen left a comment

Copy link
Copy Markdown
Member

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

hahn80 commented Aug 1, 2024

Copy link
Copy Markdown
Contributor Author

Thanks Nate.
I just removed the Makefile.
Hahn.

@ndjensen ndjensen merged commit c43f3a9 into ninia:dev_4.2 Aug 3, 2024
@ndjensen

ndjensen commented Aug 3, 2024

Copy link
Copy Markdown
Member

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