error building java/jdk15

Greg Lewis glewis at eyesbeyond.com
Tue May 6 03:47:03 UTC 2008


On Mon, May 05, 2008 at 12:40:57PM -0600, Chad Leigh -- Shire.Net LLC wrote:
> I am having a similar problem
> 
> /usr/local/linux-sun-jdk1.4.2/bin/javac -d /usr/ports/java/jdk15/work/ 
> control/build/bsd-i586/lib -target 1.5 ../../tools/sharing/AddJsum.java
> javac: invalid target release: 1.5

That looks like a legitimate error.  Possibly more recent updates of 1.5.0
are no unbuildable with 1.4 as the bootstrap?  I expect this will work if
you force bootstrapping with 1.5 or better.

> So I installed the 1.5 diablo stuff but I am not sure how to make the  
> 1.5 jdk build use that instead of the listed linux sun 1.4.2 version  
> (and why it would use the sun linux 1.4.2 instead of the fbsd 1.4.2.  
> already installed as well; not that that would fix the problem)
> 
> What do I need to do to make my 1.5jdk build use the diablo one?

Unless you have WITH_LINUX_BOOTSTRAP defined it should use Diablo
automatically.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list