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

Fix check for Java arch when updating Zulu #1021

Merged
merged 1 commit into from
Jul 8, 2020
Merged

Conversation

ecdye
Copy link
Member

@ecdye ecdye commented Jul 8, 2020

Fixes #1013

Signed-off-by: Ethan Dye [email protected]

@ecdye ecdye requested a review from mstormi July 8, 2020 20:40
@ecdye ecdye mentioned this pull request Jul 8, 2020
@mstormi mstormi merged commit 9c72f43 into openhab:master Jul 8, 2020
@mstormi
Copy link
Contributor

mstormi commented Jul 8, 2020

openhabian does not let me install any java because of partial removal

+ java -version
Error: missing `client' JVM at `/opt/jdk/zulu11.39.61-ca-jdk11.0.7-linux_aarch32hf/lib/client/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
+ return 4
+ '[' 4 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "40 | openHAB related"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/master/docs/openhabian-DEBUG.md how to proceed.' 14 80

@ecdye
Copy link
Member Author

ecdye commented Jul 8, 2020

Somehow your system got screwed up, that does not happen on my end, did you hit Ctrl-C at some point?

@ecdye
Copy link
Member Author

ecdye commented Jul 8, 2020

Yep, just checked after merge and it works fine on my end, you may need to manually remove the old install or reinstall openHABian.

@mstormi
Copy link
Contributor

mstormi commented Jul 8, 2020

yes I killed the openhabian-setup process. edited the code to make it skip that check now reinstalling

@ecdye
Copy link
Member Author

ecdye commented Jul 9, 2020

That probably broke it somehow.

@mstormi
Copy link
Contributor

mstormi commented Jul 9, 2020

Actually I'm having problems since with connecting to myopenhab. Searching yields nothing except many responses saying to update Java, one of them to delete any from a list of packages, java-common being among those.
I noticed java-common IS installed on my openHABian. Removing it resulted in Zulu8-embedded being removed, too (I installed that inbetween for a test to enforce switching java).

So independent of whether that'll fix my problem I think we need to

  • uninstall oldish packages when switching away from that (zulu-embedded, others ?)
  • remove(?) java-common pkg at least when switching to Zulu(?)
    I removed it and it got installed again when I switched to Adopt.

But that made my openhabcloud finally connect again.

@mstormi mstormi mentioned this pull request Jul 9, 2020
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.

java update misbehavior ?
2 participants