From owner-freebsd-java Sat Aug 24 18:57:33 2002 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 3792437B400 for ; Sat, 24 Aug 2002 18:57:27 -0700 (PDT) Received: from IG88.GOOBSOFT.COM (h-66-134-6-202.DLLATX37.covad.net [66.134.6.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D798743E6A for ; Sat, 24 Aug 2002 18:57:25 -0700 (PDT) (envelope-from skeetz@8thdeadlysim.com) Received: from qwerty1234 ([192.168.254.24]) by IG88.GOOBSOFT.COM (8.11.6/8.11.6) with SMTP id g7P20P085763 for ; Sat, 24 Aug 2002 21:00:25 -0500 (CDT) (envelope-from skeetz@8thdeadlysim.com) From: "skeetz" To: "java-freebsd" Subject: RE: building native hotspot Date: Sat, 24 Aug 2002 08:57:37 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200208241252.54654.hexghost@attbi.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org No I have that part built already see below but I don't think that includes the hotspot jvm(s). skeetz %./java -version java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-chad-020823-23:08) Classic VM (build 1.3.1-p7-chad-020823-23:08, green threads, nojit) %./java -client Error: no `client' JVM at `../jre/lib/i386/client/libjvm.so'. %./java -server Error: no `server' JVM at `../jre/lib/i386/server/libjvm.so'. -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Branden Root Sent: Saturday, August 24, 2002 2:53 PM To: freebsd-java@FreeBSD.ORG Subject: Re: building native hotspot Chad, I think you're making this more difficult than it really is. First, you will need the linux jdk to build the native jdk, along with a few other things that you can delete after the native jdk build is complete. All you need to do, after installing the dependancies, is cd to the /usr/ports/java/jdk13 directory, type make install, grab both the files that it asks of you (the actual jdk and the patchset), stick them in your /usr/ports/distfiles, and then make install again. You shouldn't have to edit any makefiles, etc. Branden Root On Friday 23 August 2002 11:38 pm, skeetz wrote: > Hey all, I'm looking at the java options again for Freebsd. I'm trying to > build the hotspot for my jdk13 port. I found this message instructing me > how to do it. > > http://www.geocrawler.com/lists/3/FreeBSD/162/0/9147806/ > > I'm running a 4.3 box and a 4.6 release, but I'm trying to get things > working on my 4.3 box for testing purposes. If I go into > /usr/ports/java/jdk13/work/hotspot1.3.1/build/ , I see that there is a bsd > directory now. Is that the one I'm supposed to use instead of linux? > > USING BSD DIRECTORY > > I first had to edit ./makefiles/top.make and add in > > DISABLE_HOTSPOT_OS_VERSION_CHECK=ok > > then I > setenv ALT_BOOTDIR /usr/local/linux-sun-jdk1.3.1/ > > is this right? building hot spot requires the linux sun jvm? why can't I > use the one I just made /usr/local/jdk1.3.1? > > then I try running gmake core and I get > > gmake[1]: Entering directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake[2]: Entering directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > Compiling > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp > In file included from ../generated/incls/_functionAtStart.cpp.incl:2, > from > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp:18: > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:27: wchar.h: No such file or directory > In file included from ../generated/incls/_functionAtStart.cpp.incl:2, > from > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStar >t .cpp:18: > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:91: integer constant out of range > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:92: integer constant out of range > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp: In function `int g_isnan(double)': > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:107: implicit declaration of function `int isnand(...)' > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp: In function `int wcslen(const jchar *)': > /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefini >t ions_gcc.hpp:123: passing `const __wchar_t *' as argument 1 of > `wcslen(const jchar *)' > gmake[2]: *** [functionAtStart.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake[1]: *** [the_vm] Error 2 > gmake[1]: Leaving directory > `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' > gmake: *** [jvmgcore] Error 2 > > USING LINUX DIRECTORY > > sh > /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/makef >i les/buildATree.sh core > /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../.. linux i486 > gmake: *** [linux_i486_core/jvmg] Error 1 > > SUMMARY > > I can't seem to figure out how I am supposed to do this. Is the problem > that I'm running Freebsd STABLE? I would appreciate if someone pointed me > in the right direction. > > Also, now that we have a licence to distribute a native FreeBSD version of > java, doesn't that mean that we should be able to download just the > binaries instead of downloading the src and building all of the code? If > not, then what exactly does it mean? > > Chad Skeeters > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message