Fixing Unknown VM Type Error
This problem went away after a reboot.
I needed to upgrade a RH EL 4 system to Java 1.6. The system was running Java 1.4. I got the Java kit and installed it according to instructions, putting the jre1.6.0_21 directory in the /usr/share/java directory.
I'm getting this warning message, when invoking java.
Warning: unknown VM type on line 19 of `/usr/share/java/jre1.6.0_21/lib/i386/jvm.cfg'
Here's the file; line 19 is -client IF_SERVER_CLASS -server
# @(#)jvm.cfg 1.10 10/03/23
# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
# ORACLE 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
-hotspot ALIASED_TO -client
What does this error mean? How do I remedy it?
Last edited by cmnorton; 08-04-2011 at 04:37 PM.
Reason: Problem solved.