From owner-freebsd-java Tue May 2 2:38:48 2000 Delivered-To: freebsd-java@freebsd.org Received: from relay02.chello.nl (relay02.chello.nl [212.83.68.146]) by hub.freebsd.org (Postfix) with ESMTP id 6368437B6A4 for ; Tue, 2 May 2000 02:38:42 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com ([212.187.104.187]) by relay02.chello.nl (InterMail vK.4.02.00.00 201-232-116 license 199f3c0039bf924253955fca0afeedcc) with ESMTP id <20000502093520.XNLF8821.relay02@jollem.com>; Tue, 2 May 2000 11:35:20 +0200 Message-ID: <390EA15D.590701EA@jollem.com> Date: Tue, 02 May 2000 11:35:25 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: "Koster, K.J." Cc: 'FreeBSD Java mailing list' Subject: Re: NoClassDefFoundError: InvokerGen References: <59063B5B4D98D311BC0D0001FA7E452201313B42@l04.research.kpn.com> Content-Type: multipart/mixed; boundary="------------A8B9E0C614984064319C075A" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------A8B9E0C614984064319C075A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. Did you try "java [className]" ? If it sais class not found, then your class path is prolly incorrect. I should note that I built the JDK *without* DPS or ODBC support. Ernst "Koster, K.J." wrote: > > Dear All, > > I tried building the JDK on my home machine now, using patchsets 6 and 7, > but I can't get it to work. The build dies after some five minutes with a > message that it cannot find the InvokerGen class. This is highly surprising, > since the class is right there, and if I use javap instead of java to load > it, javap will readily print out all there is to know. > > /usr/local/linux-jdk1.2.2/bin/java -classpath . InvokerGen \ > < ../../../../src/share/javavm/include/invokers.txt > invokers.c > Exception in thread "main" > java.lang.NoClassDefFoundError: InvokerGen > > http://web.inter.nl.net/users/kjkoster/java/content/known.html#hd13 > > I thought I was pretty much up to speed with Java, but this has got me > scratching my head like a newbie. The build works like a charm on other > machines I have tried. > > Is anyone else seeing this? > > How come javap can load the class while java cannot? > > Who has a second-hand Athlon machine for sale? :-) > > 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 -- Ernst de Haan Freelance Java Architect "Come to me all who are weary and burdened, and I will give you rest" -- Jesus Christ --------------A8B9E0C614984064319C075A Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" begin:vcard n:de Haan;Ernst tel;fax:+31 (0)26 3645634 tel;work:+31 (0)26 3623895 x-mozilla-html:FALSE url:http://www.znerd.demon.nl/ org:Jollem adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands version:2.1 email;internet:ernst@jollem.com title:Java Architect fn:Ernst de Haan end:vcard --------------A8B9E0C614984064319C075A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message