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

Check for Java installation #2

Open
johannesstrueber opened this issue Aug 16, 2023 · 1 comment
Open

Check for Java installation #2

johannesstrueber opened this issue Aug 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@johannesstrueber
Copy link

Hey thanks for the script,

i just ran from the start_node_v2 script from a default pi image which does not have java installed. Maybe you could add a check like java -version and depending on the result resolve it intosudo apt install default-jdk

Im currently in the process of setting one pi up :)

@ladopixel
Copy link
Owner

Hi!

I had thought about doing so, that's why I have the notice.
But I think installing a certain version of Java depends a lot on the computer owner and needs. For this reason I just show the prompt and if the person wants to install Java let the user choose the version and do it on his own.

Although I think it can be good to give the possibility to install Java (optionally) at the beginning of the script in case of not having it on the computer.

@ladopixel ladopixel added the enhancement New feature or request label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants