[mpich-discuss] Jumpshot and mpich2-1.3.3rc1

Anthony Chan chan at mcs.anl.gov
Tue Mar 8 15:11:51 CST 2011


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


More information about the mpich-discuss mailing list