Without explaining your starting point and your inputs that report is not of much use.
If you had properly flashed from start, or used option 03, I believe this would not have happened because the java install routine doesn’t add the package where it got hung.
It’s an OS pkg thing. “Running 4.3.6” doesn’t explain the OS history.
And if you only had used 02 you would not have been in java install like you were.
Sorry but again that type of problem report without fully explaining the steps you did to end up there is not helpful.
02 only does an apt upgrade so if you had used an up to date openhabian it would not have returned on missing java.
As said it depends on the starting point and yours is totally unclear.
Next time please provide a log (debug=maximum in openhabian.conf) and explain how to reproduce the issue. Whenever the OS state is unclear, we cannot help you.
So part of a proper issue description is to properly describe the starting point (like: a fresh openHABian v1.xx).