From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-86508-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1L2IB6-0004NG-6E
	for garchives@archives.gentoo.org; Tue, 18 Nov 2008 04:27:04 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2A768E0450;
	Tue, 18 Nov 2008 04:27:00 +0000 (UTC)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157])
	by pigeon.gentoo.org (Postfix) with ESMTP id DF42EE0450
	for <gentoo-user@lists.gentoo.org>; Tue, 18 Nov 2008 04:26:59 +0000 (UTC)
Received: by fg-out-1718.google.com with SMTP id d23so3693518fga.14
        for <gentoo-user@lists.gentoo.org>; Mon, 17 Nov 2008 20:26:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=U0lad37NKDQJ3jme235C+7fs8HtyIVoXFvUA2TIj2tI=;
        b=w++ID9x7dc5lUJANg+7R/3/5tXWgsgOap+cJXBVyJzTq6HSPizu72sDsoskGPQJwcm
         3cKdCggyib1yQIPNHqZ2uxBRr6/uOnNjLyO/spVzCq+LUeQZbbRLStde7iclxsikS9GP
         LDa4n9LmENmokiyf4VktDYBAja7kMGdOhQkH8=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=whRhOZ9YcbfOa8rT+u0LEqU4UGPK1osUQe+vCv6VbEgWw4u+IxlgHO4zzNVUbsQ92U
         ITfSv7Gu0CLchjt7r9fuHmTBL6qjNnggsJgzOEHcoeUT7wBHOVrYlbe9sGibd4cE/64I
         /8vQfylRar4slEzS15GhM2u+t6LiNRAD/tgiU=
Received: by 10.181.240.10 with SMTP id s10mr1200053bkr.108.1226982417508;
        Mon, 17 Nov 2008 20:26:57 -0800 (PST)
Received: by 10.181.21.14 with HTTP; Mon, 17 Nov 2008 20:26:57 -0800 (PST)
Message-ID: <49bf44f10811172026q6ce99aa9m5278376b005581c7@mail.gmail.com>
Date: Mon, 17 Nov 2008 20:26:57 -0800
From: Grant <emailgrant@gmail.com>
To: "Gentoo mailing list" <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Java "bad version number" - what to up/downgrade?
In-Reply-To: <200811181238.23819.podge@podgeweb.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <49bf44f10811171734h6a54aad2xb250f9025119b346@mail.gmail.com>
	 <200811181238.23819.podge@podgeweb.com>
X-Archives-Salt: bb31040e-351a-48bc-ac95-7b339efc73e9
X-Archives-Hash: d5b440da17fcaf5694839d99d37a0c5b

>> I'm getting the following from dumphd:
>>
>> "bad version number in .class file"
>>
>> I gather that I may have the wrong version of something Java installed
>> but I don't know how that works.  Can anyone tell me what package I
>> should try upgrading or downgrading?
>
> This normally means the class file is from a new version of Java then the
> virtual machine trying to run it (i.e. class files compiled under Java 1.5,
> but your trying to run it in Java 1.4).
>
> "java-config -L" (without quotes) will show you what virtual machines you have
> installed. On my machine it shows (the asterisk is the currently selected
> one, i.e. what will be used to run java applications):
>
> podge@venus ~ $ java-config -L
> The following VMs are available for generation-2:
> 1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
> 2)      Sun JDK 1.5.0.16 [sun-jdk-1.5]
> *)      Sun JDK 1.6.0.07 [sun-jdk-1.6]
> podge@venus ~ $
>
> If the newest VM isn't selected as the default, read the man page for
> java-config and tell it to set the newest one as default (1.6 is the newest
> version).
>
> Shawn

Thank you very much.  Since I'm not a Java developer, do I want jre as
opposed to jdk?

- Grabt