William:
Although I've never tinkered with this file, on my machines I can find a
file named jvm.cfg that would appear to be of interest.
Note: I'm currently running JDK5 on a Solaris 10 machine running on top
of x86_64 hardware.
On this machine, I find jvm.cfg in /usr/java/jre/lib/i386 and it contains:
# @(#)jvm.cfg 1.8 04/02/02
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
#
#
#
#
# List of JVMs that can be used as an option to java, javac, etc.
# Order is important -- first in this list is the default JVM.
# NOTE that this both this file and its format are UNSUPPORTED and
# WILL GO AWAY in a future release.
#
# You may also select a JVM in an arbitrary location with the
# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
# and may not be available in a future release.
#
-client IF_SERVER_CLASS -server
-server KNOWN
-hotspot ALIASED_TO -client
-classic WARN
It would appear to me that if you changed the first non-commented line to:
-client
instead of
-client IF_SERVER_CLASS -server
that you would get your desired default behavior of running the -client
JVM. However, the following line that has '-server KNOWN' would seem to
allow you to explicitly override this with a command-line '-server' option.
Of course, I haven't tried this .... but this sure looks like the place
to start in altering system-wide defaults.
By checking a SPARC machine, I can also see and equivalent, if not
identical file in /usr/java/jre/lib/sparc/jvm.cfg.
I hope this helps,
John
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users