You are not logged in.
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
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
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 witharchlinux-java set java-8-openjdk/jre
Thank you. I solved like that.
Offline