You are not logged in.

#1 2016-08-31 13:58:27

TrippleA
Member
Registered: 2016-08-11
Posts: 3

[Solved] I Install Java Jre8 But I Can't See That

Hi everybody

i install firstly jdk8-openjdk and after i install jre8-openjdk. When i run this command:

archlinux-java status

i take this

Available Java environments:
  java-7-openjdk/jre
  java-8-openjdk (default)


As you can see, jdk8 hasn't have jre. Bu i install them. What i should do.

Last edited by TrippleA (2016-08-31 18:49:20)

Offline

#2 2016-08-31 16:04:40

FlowIt
Member
Registered: 2014-10-25
Posts: 239

Re: [Solved] I Install Java Jre8 But I Can't See That

That is perfectly normal. If you want to know why you can simply inspect the archlinux-java script in /usr/bin. Short version: This script checks for the default path. It can be in /usr/lib/jvm/java-{7,8}-openjdk/jre but it can also be in /usr/lib/jvm/java-{7,8}-openjdk. In the latter case "jre" is not printed to the screen.
If you really want it to show you can set the default path manually with

archlinux-java set java-8-openjdk/jre

Offline

#3 2016-08-31 18:49:03

TrippleA
Member
Registered: 2016-08-11
Posts: 3

Re: [Solved] I Install Java Jre8 But I Can't See That

FlowIt wrote:

That is perfectly normal. If you want to know why you can simply inspect the archlinux-java script in /usr/bin. Short version: This script checks for the default path. It can be in /usr/lib/jvm/java-{7,8}-openjdk/jre but it can also be in /usr/lib/jvm/java-{7,8}-openjdk. In the latter case "jre" is not printed to the screen.
If you really want it to show you can set the default path manually with

archlinux-java set java-8-openjdk/jre

Thank you. I solved like that.

Offline

Board footer

Powered by FluxBB