On Sep 6, 2007, at 4:51 AM, Vikash Madhow wrote:
Hello,
I'm new to Nuxeo (2 days), so please don't shoot.
I've gone through the mailing list archives but could not find an
answer to this question (I cannot be 100% sure that it's not there
through since I could find a way to perform an exhaustive search on
the archives other than going through each posting manually).
My question is as follows:
I've Java6 on my system as my default JDK/JRE and my JAVA_HOME
environment variable points to it. Now, from the docs, Nuxeo
requires JRE5. However, changing JAVA_HOME to JRE5 before running
Nuxeo is not an option for me, since there are other applications
that works with Java6. Is there an easy way to tell Nuxeo where
Java5 is without having to change the JAVA_HOME environment var?
I was thinking that the following could be a solution:
1. Introduce another environment variable, JAVA_HOME_5, which
points to Java5
2. Modify run.bat to use JAVA_HOME_5 if it exists, otherwise to
fall-back on current algorithm (use default JAVA_HOME, use 'java'
command, etc.).
This shouldn't be too difficult.
Another simple option would be to simply run
> JAVA_HOME=/path/to/my/jdk5 /opt/jboss/bin/run.sh
(If you're under Unix/Linux, I'm sure there is a similar syntax under
Windows).
S.
--
Stefane Fermigier, CEO, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Nuxeo 5 EP is out! - Now Java EE based, standards compliant
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm