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.).

Another solution could be to introduce a new file (named, for example,
jdk.config) in the bin folder. This file would contain the JDK location; and
it could also contain run-time arguments for the JVM. run.bat will be
modified to use the data from that file before falling back to its current
algorithm.

Thank you for your help.

Regards,
Vikash Madhow
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to