From owner-freebsd-java Tue May 2 2:43: 6 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id 14B5437B56A for ; Tue, 2 May 2000 02:43:03 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JOX8ZSEJHQ001CC3@research.kpn.com> for freebsd-java@freebsd.org; Tue, 2 May 2000 11:43:00 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Tue, 02 May 2000 11:42:59 +0100 Content-return: allowed Date: Tue, 02 May 2000 11:42:58 +0100 From: "Koster, K.J." Subject: RE: NoClassDefFoundError: InvokerGen To: 'Ernst de Haan' Cc: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E452201313B46@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Looking at the source code of InvokerGen, it seems a bit odd > to me that > the class is package-protected /:-/ tho it does not belong to > any package. I'm not sure that this is an error. > No, I've tried public-ing the class, but that does not matter. I looked at SigInfo too, making it static internal, but that don't help either. > > Did you try "java [className]" ? If it sais class not found, > then your class path is prolly incorrect. > Hmm. How would you explain that "java InvokerGen" gives me a class-not-found, and "javap InvokerGen" gives me the contents of the class file? I have read on the RMI-USERS newsgroup that the classnotfound error does not necessarily means that the loaded class is not available, but that perhaps one of the classes that it depends on is not available. I have read the source and checked with javap and -verbose, but as far as I can tell, all the dependencies are available. > > I should note that I built the JDK *without* DPS or ODBC > support. > I build it with both those on my test box and it works fine. > > Sure, I mentioned in my mails that I would mirror both the > - and the -latest tar.gz's :) > Oops. RTFM (Read the Flippin' Mail) :-) Sorry about that. Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message