Date: Wed, 10 Sep 2003 23:36:17 +1000 From: David L <dlodeiro@inspired.net.au> To: Manalive <manalive@gmx.net> Cc: freebsd-questions@freebsd.org Subject: Re: JAVA and MOZILLA Message-ID: <200309102336.17901.dlodeiro@inspired.net.au> In-Reply-To: <3F5E5A35.5070908@gmx.net> References: <200309082004.08198.dlodeiro@inspired.net.au> <20030909124236.W53895@pukruppa.net> <3F5E5A35.5070908@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok, I got jdk13 installed from the ports, this is what I did I first got rid of other versions of jdk as suggested by Simon, that didnt work. Then I had a look at the Makefile and noticed this line JDK13DIR= ${LOCALBASE}/linux-blackdown-jdk${JDK_VERSION} so I installed linux-blackdown-jdk13 from ports and then tried to install jdk13, again it did not work. This time I had a better read of the makefile and decided to try changing MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \ to read the path of my linux jdk folder, it appears that without specifying otherwise, it looks in /usr/local/java which doesnt exist ( at least not on my system ) so I changed that line in the Makefile to read MAKE_ENV= ALT_BOOTDIR="/usr/local/linux-sun-jdk1.3.1" \ and finally, it compiled without any further errors. I then created a symlink to from the plugin to the mozilla directory and I now have java on mozilla. Thanks to all those that helped Hope this helps someone else Seeya David > >>Hi, > >> I to am using Mozilla 1.4 ( I beleive I failed to mention that in my > >> original post ) and I compiled it out of ports. I had heard that Java > >> 1.3.1 worked well with Mozilla, so I wne to try to install it. However > >> when I try I get the following. > >> > >>dl# cd /usr/ports/java/jdk13 > >>dl# ls > >>Makefile files pkg-message scripts > >>distinfo pkg-descr pkg-plist work > >>dl# make package > >>===> Building for jdk-1.3.1p8_2 > >># Start of jdk build > >>i386 Build started: 1.3.1-p8-n4458575-030909-18:44 > >>ERROR: Your BOOTDIR environment variable does not point > >> to a valid Java 2 SDK for bootstrapping this build. > >> A Java 2 SDK 1.3.1 build must be bootstrapped against any > >> 1.3 build. Please update your ALT_BOOTDIR setting, or > >> just unset it, and start your build again. > > > >You need some working linux-java (I think you can use blackdown > >and sun but I can't remember which version) to build the FreeBSD > >java-port . You could search your Makefile for this. > > > >Uli. > > I tried separately linux-sun-jdk13 and linux-blackdown-jdk13, neither > helped me to get past that danged ALT_BOOTDIR error message. Any way I > can set the ALT_BOOTDIR or find out how to remove it?! > > Funny thing is that I was able to install jdk13 natively with no > problems a month ago, then on another computer, this error keeps popping > up. Same hardwares, same configuration. I remember in the past few > years, sometimes it installed with no problems, sometimes the error > keeps popping up. I have no idea what I did or what changed. Grrrr! > > Jonas > > >>Exiting because of the above error(s). > >>gmake: *** [sanity] Error 1 > >>*** Error code 2 > >> > >>Stop in /usr/ports/java/jdk13. > >>dl# > >> > >>the make file in jdk13 has the following (I dont know if it of any > >> relevence) MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \ > >> > >>Did you have any of these issues when compiling jdk13? > >>If you did, can you please let me know how you got around it. > >> > >>Thanks > >> > >>David > >> > >>_______________________________________________ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > > > > +---------------------------+ > > > > | Peter Ulrich Kruppa | > > | > > | Wuppertal | > > | Germany | > > > > +---------------------------+ > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309102336.17901.dlodeiro>