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

Allow setting JDK to use #284

Closed
rnett opened this issue Jun 21, 2021 · 2 comments · Fixed by #287
Closed

Allow setting JDK to use #284

rnett opened this issue Jun 21, 2021 · 2 comments · Fixed by #287
Labels

Comments

@rnett
Copy link
Contributor

rnett commented Jun 21, 2021

I have multiple JDKs installed, and I would like to be able to control which one my notebook runs with. Ideally this would be a per-notebook setting, but a per-jupyter instance setting would also work. JAVA_HOME does not seem to be used, so even just using that would be a significant upgrade.

If it's as simple as it looks (using JAVA_HOME here) I can make a PR.

@ileasile
Copy link
Collaborator

Yes, you can grab JAVA_HOME in the python code you've mentioned and use it for running a kernel. PRs are welcome

@rnett
Copy link
Contributor Author

rnett commented Jun 28, 2021

Trying to import the gradle project gives me lots of Could not resolve org.jetbrains.kotlin:kotlin-scripting-dependencies:1.5.30-dev-1502. errors, is there a repository I should add? I found TeamCity configs in settings, but I still get resolution errors unless I set the kotlin version to 1.5.20. It's a 401 error, is there a public version I can use?

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

Successfully merging a pull request may close this issue.

2 participants