Java update

I’m sorry if this is a daft question, I’ve searched for hours to update java to version 1.8.0_111 but no matter what tutorial i follow it’s still stuck on this

pi@raspberrypi:~ $ java -version
java version "1.8.0_65"
Java™ SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot™ Client VM (build 25.65-b01, mixed mode)

any help please?

here is what i tried last
https://kurlan.github.io/scrappy-home-automation/setting-up-openhab/

1 Like

I had exactly the same problem last night and found this post was most helpful

You can just follow these steps:

I think i found the problem, I had to run

sudo apt-get install apt-transport-https

I’ll see how that goes now, thanks for your help everyone

(EDIT) it worked

pi@raspberrypi:~ $ java -version
java version "1.8.0_121"
Java™ SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot™ Client VM (build 25.121-b13, mixed mode)

The openHAB documentation for Linux installation also points you in the right direction. Whenever you get stuck, it may be best to check here first ;).

The openHAB documentation for Linux installation also points you in the right direction. Whenever you get stuck, it may be best to check here first :wink:.

I must have missed that bit, I’ll only ask on here as a last resort, I don’t like to hassle people. Thanks again all.

I’m all for being “hassled” if I can help, as are most people here! Was just passing the link on to save you time in the future :slight_smile: !

1 Like