Date: Mon, 16 Jun 2008 11:08:39 -0700 (PDT) From: triggerme2ice <tomas.dej@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Help Installing Sun JDK on FreeBSD Message-ID: <17870203.post@talk.nabble.com> In-Reply-To: <4846562D.1030801@unsane.co.uk> References: <17628876.post@talk.nabble.com> <4846562D.1030801@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok so it seems i still have some other issues... :( I have previously successfully installed the diablo JDK on the official compatible versions (FreeBSD 5.5 and 6.1) But I need to have JDK installed in numerous versions of FreeBSD. In this case i need it on 5.0 version The problem I have now is getting it installed in my FreeBSD 5.0 system So i tried to pkg_add the diablo-jdk-freebsd5.i386.1.5.0.07.01.tbz from this http://www.freebsdfoundation.org/downloads/java.shtml website (the package is meant for FreeBSD5.5, but its the closest thing available for the 5.0) Like in all the other times I've installed it (on the compatible versions)... it asked for the XORG libraries and the javavmwrapper-2.0_6. I managed to install the XORG Libraries manually and it works... so the only thing i am not able to install is the javavmwrapper which i need I've tried numerous methods: Method 1: cd /usr/ports/java/javavmwrapper make install clean The result.... "make: fatal errors encountered -- cannot continue" And yes my ports tree is updated Method 2: pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages/Latest/javavmwrapper.tbz In this method not only does it display the "...is in the future" messages, but at the end it says "pkg_add: write_plist: unknown command type -1 (kaffe-1.*)" Can anyone please let me know how i can get javavmwrapper installed so i can install the JDK on FreeBSD5.0??? Vince Hoffman wrote: > > triggerme2ice wrote: >> Hi all, >> >> I was wondering if anyone would know of a brute force way of installing >> the >> (newest possible) sun JDK on FreeBSD 5.0 (or any other versions for >> further >> info) >> >> Help a freeBSD user in need :teeth: > > The latest version in ports is 1.6.0.3p4 if you need more receent than > that then no idea. If thats ok then > cd /usr/port/java/jdk16 > make > Follow the instructions > > Also see http://www.freebsd.org/java/ > 5.x has just been announce as no longer supported by ports though, > although support wont be removed, just not updated and checked as > changes are made. > > You will need a current jdk to compile it though and need to get the > source files manually. To get a jdk to compile it I'd recommend > installing the package from > http://www.freebsdfoundation.org/downloads/java.shtml > Although you could install one of the linux-sun-jdk* ports if you > prefer. you can pkg_delete the old jdk once you have the new one > installed. > > > Vince > _______________________________________________ > 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" > > -- View this message in context: http://www.nabble.com/Help-Installing-Sun-JDK-on-FreeBSD-tp17628876p17870203.html Sent from the freebsd-questions mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17870203.post>