ports/java/jdk15

Jona Joachim jaj13 at web.de
Thu Sep 7 09:25:51 PDT 2006


B. Cook wrote:
> Hello All,
> 
> Trying to build java 1.5.0 and it looks like it's needs linux java
> 1.4.2? is this right?
> 
> ===>  linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK
> self-extracting file for the Linux platform
> (j2sdk-1_4_2_12-linux-i586.bin) from
> http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_12-oth-JPR&SiteId=JSC&TransactionId=noreg,
> place it in /usr/ports/distfiles and then run make again.
> *** Error code 1
> 
> Stop in /usr/ports/java/linux-sun-jdk14.
> *** Error code 1
> 
> Stop in /usr/ports/java/jdk15.

Yes, that's right. jdk14 is needed to compile jdk15, welcome to the
world of Java ;)
Because of license issues you have to fetch the linux jdk14 binary as
well as some distfiles required by jdk15 manually as indicated above.

However you don't have to build jdk15 as there is an official FreeBSD
binary available!
See: http://docs.freebsd.org/cgi/mid.cgi?44343C8E.2050707

Just install java/diablo-jdk15 and it will install the binary

--jona


More information about the freebsd-questions mailing list