jdk - Java JRE on ubuntu - Ask Ubuntu


a few quick question. ubuntu server 16.04 lts support java 7? how check if installed? when java -version says:

openjdk version "1.8.0_91" openjdk runtime environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14) openjdk 64-bit server vm (build 25.91-b14, mixed mode) 

i'm not sure, don't see jre or 7 on there. not sure if jre needed running game servers (ex. minecraft, bungeecord minecraft, etc...). think have jdk 8 installed fine. need know how jre on server.

sorry if seem bit confused need. i'm lost.

your system using openjdk - free,open , in ubuntu repository. jre 7 talking oracle java runtime environment doesn't comes in ubuntu repository. need manually install jre 7 , activate system wide use it. developement , cases prefer use oracle java rather openjdk whilst basic idea of both provide suitable java environment. install , activate oracle java 7 can following.

sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User