From owner-freebsd-java@FreeBSD.ORG Thu Feb 19 19:46:23 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E6D016A4CE for ; Thu, 19 Feb 2004 19:46:23 -0800 (PST) Received: from mail.joshuabranch.net (ip-66-80-53-4.dsl.lax.megapath.net [66.80.53.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6EBC43D1F for ; Thu, 19 Feb 2004 19:46:22 -0800 (PST) (envelope-from maillist.freebsd-java.2004@openstandards.net) Received: from openstandards.net (unknown [192.168.1.3]) by mail.joshuabranch.net (Postfix) with ESMTP id 42CF27E0015 for ; Thu, 19 Feb 2004 22:42:19 -0500 (EST) Message-ID: <4035831C.3040100@openstandards.net> Date: Thu, 19 Feb 2004 22:46:36 -0500 From: Erik User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: java.lang.NoClassDefFoundError building native 1.4 SDK X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: maillist.freebsd-java.2004@openstandards.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 03:46:23 -0000 I am trying to build the native JDK 1.4 for the first time, and am new to FreeBSD. When I do a gmake, I get the following: cd ../generated; /usr/local/linux-sun-jdk1.4.2/bin/java -classpath . MakeDeps diffs UnixPlatform platform.current includeDB.current /usr/tmp/j2sdk/hotspot/build/bsd/platform_i486 includeDB -firstFile functionAtStart.cpp -lastFile functionAtEnd.cpp Exception in thread "main" java.lang.NoClassDefFoundError: MakeDeps gmake[2]: *** [../generated/includeDB.current] Error 1 I checked the /usr/tmp/j2sdk/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/generated folder, and MakeDeps.class is definately there. I even CD'd into the folder and tried to call the class directly, but get the same error: root@host# /usr/local/linux-sun-jdk1.4.2/bin/java -classpath ".;./MakeDeps.class" MakeDeps Exception in thread "main" java.lang.NoClassDefFoundError: MakeDeps It's as if it runs the main in the class, but then can't see itself as an actual class. Without the source code, I can't see what it's trying to do. Can someone please help me? I ultimately need to run JBoss. What are the consequences of using the Linux binary instead of a native FreeBSD SDK? Thank you, Erik OpenStandards.net