Date: Mon, 12 Jun 2006 15:28:08 -0500 From: "Nikolas Britton" <nikolas.britton@gmail.com> To: Peter <petermatulis@yahoo.ca> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: seeking advice on building jdk15 Message-ID: <ef10de9a0606121328m56af2e0n60c6b602b5f599c1@mail.gmail.com> In-Reply-To: <20060612194226.69494.qmail@web60018.mail.yahoo.com> References: <ef10de9a0606121002v5e881273v3870d791fdb7a387@mail.gmail.com> <20060612194226.69494.qmail@web60018.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/12/06, Peter <petermatulis@yahoo.ca> wrote: > I succeeded in building jdk14 instead. My manual downloads were: > > j2sdk-1_4_2_11-linux-i586.bin > j2sdk-1_4_2-bin-scsl.zip > j2sdk-1_4_2-src-scsl.zip > bsd-jdk14-patches-8.tar.gz > > The port instructions added an extra step. It had me mount a simulated > linux proc filesystem: > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > I am now in the middle of compiling OpenOffice which was my original > goal. > > What is the bootstrap you speak of? Right here in the jdk15 Makefile: .if !defined(WITH_LINUX_BOOTSTRAP) .if ${MACHINE_ARCH} == "i386" NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/diablo-jdk1.5.0 .endif NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/jdk1.5.0 \ ${LOCALBASE}/jdk1.4.2 .endif If you install the diablo-jdk15 port first you can use it to build the jdk15 port (bootstrapping) and you won't need to mess with linux-sun-jdk14. After your done installing jdk15 you can remove diablo-jdk15 from the system, it's only a build requirement and now that jdk15 is built and installed you can use that to bootstrap future jdk15 builds. So... it's really simple: # cd /usr/ports/java/diablo-jdk15; make install # cd ../jdk15; make install clean # cd ../diablo-jdk15; make deinstall clean -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef10de9a0606121328m56af2e0n60c6b602b5f599c1>