You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2014/06/29 00:05:24 UTC

[jira] [Created] (INFRA-7977) Allow to switch Java version in OFBiz-VM

Jacques Le Roux created INFRA-7977:
--------------------------------------

             Summary: Allow to switch Java version in OFBiz-VM
                 Key: INFRA-7977
                 URL: https://issues.apache.org/jira/browse/INFRA-7977
             Project: Infrastructure
          Issue Type: Task
          Components: VMWare
            Reporter: Jacques Le Roux


We need to switch Java version in scripts from 6 to 7 (and vice-versa) in OFBiz-VM because we recently updated trunk to run only under Java 7 but continue to run releases branches under Java 6.

Manually I can use 
sudo update-java-alternatives -s java-1.6|7.0-openjdk-amd64

But this requires an OTP which can't safely be generated automatically.

Maybe we could use JAVA_HOME but I was unable to set or export it and I get:
jleroux@ofbiz-vm:/home/ofbizDemo$ man set
No manual entry for set
jleroux@ofbiz-vm:/home/ofbizDemo$ man export
No manual entry for export

So I guess I can't reach them or something?




--
This message was sent by Atlassian JIRA
(v6.2#6252)