LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-04-2011, 10:17 AM   #1
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
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

Last edited by cmnorton; 08-04-2011 at 04:37 PM. Reason: Problem solved.
 
Old 08-08-2011, 12:30 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi,

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

Kind regards,

Eric
 
  


Reply

Tags
java, warning: unknown vm type


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
boot error mount:unknown filesystem type 'ext4' vinvishwa Linux - Distributions 3 02-06-2010 08:19 AM
boot error mount:unknown filesystem type 'ext4' vinvishwa Fedora 1 02-05-2010 03:10 PM
Makefile Error: Unknown file type ankit4u1 Linux - Newbie 1 10-12-2007 01:47 PM
mount: unknown filesystem type 'devfs' error kushalkoolwal Debian 22 03-14-2006 04:14 AM
GCC Make error on Solarias 2.8: libc.a unknown file type vinaybms Solaris / OpenSolaris 1 06-20-2005 01:56 AM


All times are GMT -5. The time now is 07:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration