LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fixing Unknown VM Type Error (https://www.linuxquestions.org/questions/linux-software-2/fixing-unknown-vm-type-error-895553/)

cmnorton 08-04-2011 10:17 AM

Fixing Unknown VM Type Error
 
Edit:
---------
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
-server KNOWN
-hotspot ALIASED_TO -client
-classic WARN
-native ERROR
-green ERROR

What does this error mean? How do I remedy it?

tnx
cmn

EricTRA 08-08-2011 12:30 AM

Hi,

Glad it's solved. Off the Zero Reply List.

Kind regards,

Eric


All times are GMT -5. The time now is 08:43 AM.