[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#317367: marked as done (incorrect classpath & java.lang.Object cannot be resolved)



Your message dated Tue, 12 Jul 2005 20:26:44 +0200
with message-id <17108.2916.819681.233919@gargle.gargle.HOWL>
and subject line Bug#317367: incorrect classpath & java.lang.Object cannot be resolved
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Jul 2005 22:49:53 +0000
>From ms419@freezone.co.uk Thu Jul 07 15:49:52 2005
Return-path: <ms419@freezone.co.uk>
Received: from outbound04.telus.net (priv-edtnes15.telusplanet.net) [199.185.220.223] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DqfBo-0004Z2-00; Thu, 07 Jul 2005 15:49:52 -0700
Received: from tor.lat ([154.5.40.106]) by priv-edtnes15.telusplanet.net
          (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP
          id <20050707224921.QWWE29931.priv-edtnes15.telusplanet.net@tor.lat>
          for <submit@bugs.debian.org>; Thu, 7 Jul 2005 16:49:21 -0600
Received: by tor.lat (Postfix, from userid 1001)
	id 99D65E01B; Thu,  7 Jul 2005 15:49:20 -0700 (PDT)
Date: Thu, 7 Jul 2005 15:49:20 -0700
From: ms419@freezone.co.uk
To: submit@bugs.debian.org
Subject: incorrect classpath & java.lang.Object cannot be resolved
Message-ID: <[🔎] 20050707224919.GU11519@tor.lat>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="Zll6mx50Q8J7qlLQ"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.2 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_PACKAGE,NO_REAL_NAME autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--Zll6mx50Q8J7qlLQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: java-gcj-compat
Version: 1.0.30-1

I get this error using javac from java-gcj-compat -


fis% /usr/lib/jvm/java-gcj/bin/javac TestAccess.java
incorrect classpath: /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
----------
1. ERROR in TestAccess.java
 (at line 1)
        /**
        ^
The type java.lang.Object cannot be resolved. It is indirectly referenced f=
rom required .class files
----------
fis%=20


Sure enough, /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar doesn't
exist - on my system or in the java-gcj-compat pacakge

However, /usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/rt.jar does

Why is javac asking for
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar instead of
/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/rt.jar?

Many thanks!

Jack

--Zll6mx50Q8J7qlLQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iGUEARECACUFAkLNsW8eGGhrcDovL2NnaS5zZnUuY2E6ODAvfmpkYmF0ZXMvAAoJ
EDQq9j8F5ZSEWrEAn3AP9NDmqxV+cmkJLl2kr4AswB8gAKDoQP04A9UWCKLUZDZD
shKMp/dejQ==
=2Ijh
-----END PGP SIGNATURE-----

--Zll6mx50Q8J7qlLQ--

---------------------------------------
Received: (at 317367-done) by bugs.debian.org; 12 Jul 2005 18:26:50 +0000
>From doko@cs.tu-berlin.de Tue Jul 12 11:26:49 2005
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DsPSz-0000Zj-00; Tue, 12 Jul 2005 11:26:49 -0700
Received: from mailhost.cs.tu-berlin.de (postfix@mail.cs.tu-berlin.de [130.149.17.13])
	by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id UAA12559;
	Tue, 12 Jul 2005 20:26:47 +0200 (MEST)
Received: from localhost (localhost [127.0.0.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP id 9B2CEFC60;
	Tue, 12 Jul 2005 20:26:46 +0200 (MEST)
Received: from mailhost.cs.tu-berlin.de ([127.0.0.1])
 by localhost (bueno [127.0.0.1]) (amavisd-new, port 10224) with ESMTP
 id 29876-12; Tue, 12 Jul 2005 20:26:45 +0200 (MEST) 11354
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP;
	Tue, 12 Jul 2005 20:26:45 +0200 (MEST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id j6CIQiBh029326;
	Tue, 12 Jul 2005 20:26:44 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17108.2916.819681.233919@gargle.gargle.HOWL>
Date: Tue, 12 Jul 2005 20:26:44 +0200
To: ms419@freezone.co.uk, 317367-done@bugs.debian.org
Subject: Re: Bug#317367: incorrect classpath & java.lang.Object cannot be resolved
In-Reply-To: <[🔎] 20050707224919.GU11519@tor.lat>
References: <[🔎] 20050707224919.GU11519@tor.lat>
X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de
Delivered-To: 317367-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

fixed in gcj-4.0 4.0.1-1

ms419@freezone.co.uk writes:
> Package: java-gcj-compat
> Version: 1.0.30-1
> 
> I get this error using javac from java-gcj-compat -
> 
> 
> fis% /usr/lib/jvm/java-gcj/bin/javac TestAccess.java
> incorrect classpath: /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar
> ----------
> 1. ERROR in TestAccess.java
>  (at line 1)
>         /**
>         ^
> The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
> ----------
> fis% 
> 
> 
> Sure enough, /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar doesn't
> exist - on my system or in the java-gcj-compat pacakge
> 
> However, /usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/rt.jar does
> 
> Why is javac asking for
> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/rt.jar instead of
> /usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/rt.jar?
> 
> Many thanks!
> 
> Jack



Reply to: