You are not logged in.

#1 2014-10-30 12:32:03

bl0ndynek
Member
From: Poland
Registered: 2008-07-04
Posts: 73

JAVA_HOME replacement

Hi,
I have installed package from AUR: bin32-jre which install 32bit JRE in /opt/java32/jre
After last update setting JAVA_HOME to this path is no longer working.
How now I should set path to JRE that I want to use?

Offline

#2 2014-10-30 12:35:38

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: JAVA_HOME replacement

Did you read the news and the linked wiki page?

Offline

#3 2014-10-30 12:41:05

bl0ndynek
Member
From: Poland
Registered: 2008-07-04
Posts: 73

Re: JAVA_HOME replacement

I read that JAVA_HOME is not working:
java-runtime-common does not use nor support forcing JAVA_HOME as former package java-common did
and read wiki but still I don't know how to make java use java from /opt/java32/jre.

Last edited by bl0ndynek (2014-10-30 12:41:17)

Offline

#4 2014-10-30 12:49:33

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: JAVA_HOME replacement

The wiki mentions in the section "Switching between JVM" how to switch. If the java package you installed doesn't support the new way, you'll have to ask the maintainer on the aur (could be that the old way works, could be that nothing works. I have no idea).

The helper script is in java-runtime-common.

Offline

Board footer

Powered by FluxBB