[mpich-discuss] Jumpshot and mpich2-1.3.3rc1
Jain, Rohit
Rohit_Jain at mentor.com
Tue Mar 8 15:30:51 CST 2011
Thanks for all responses.
It seems that easier way is to use --with-java=<JRE_HOME> during config.
Jumpshot picks up given JRE version by default.
Then, if you further want to override JRE version and use a different
one, you can always use one of the methods below by setting
JRE_HOME/JAVA_HOME/JVM.
Regards,
Rohit
-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Anthony Chan
Sent: Tuesday, March 08, 2011 1:12 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Jumpshot and mpich2-1.3.3rc1
If you don't like to type JRE_HOME or JAVA_HOME, you could define
JVM instead (As Nicolas has pointed out, there is no env variable
support of JRE in jumpshot script).
/home/chan/mpich_work/install> setenv JVM /some/version/of/jvm
/home/chan/mpich_work/install> bin/jumpshot -show
GUI_LIBDIR is set. GUI_LIBDIR = /home/chan/mpich_work/install/lib
/some/version/of/jvm -Xms32m -Xmx512m -jar
/home/chan/mpich_work/install/lib/jumpshot.jar
----- Original Message -----
> > in the past [...] setting JRE env would make Jumpshot run fine
>
> Did you try setting JRE_HOME instead of JRE?
>
> N.
>
>
>
> ...
> # Set JAVA runtime through env variables:
> # JAVA_HOME, JRE_HOME, JVM, or the value determined by configure.
> if [ -n "${JAVA_HOME}" -a -x "${JAVA_HOME}/bin/java" ] ; then
> JVM="${JAVA_HOME}/bin/java"
> elif [ -n "${JRE_HOME}" -a -x "${JRE_HOME}/bin/java" ] ; then
> JVM="${JRE_HOME}/bin/java"
> else
> JVM=${JVM:-"/usr/bin/java"}
> fi
> JVMOPTS=""
> # Assume user's environmental JVMFLAGS is better than what configure
> found.
> JVMFLAGS=${JVMFLAGS:-${JVMOPTS}}
> ....
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list