Problems with compiling java programs on FreeBSD from ports

Greg Lewis glewis at eyesbeyond.com
Tue Apr 3 06:11:18 UTC 2012


On Mon, Apr 02, 2012 at 08:20:05PM -0400, Super Bisquit wrote:
> Here is where the problem becomes apparent.
> 
> file /usr/local/java/jre/bin/java
>  /usr/local/java/jre/bin/java: Mach-o executable ppc
> brandelf -t FreeBSD /usr/local/java/jre/bin/java
> brandelf: file '/usr/local/java/jre/bin/java' is not ELF format
> 
> Mr. Lewis, do you know who created the package? I'd like to be able o work
> with him/her to make a native FreeBSD one.

I said up front this was a MacOS X/ppc package that I was providing as an
example that Zero worked on PowerPC (with a code base that supported
FreeBSD).

I'll repeat this once more.  The code base is likely very close to
supporting FreeBSD/ppc using the Zero VM.  The hard part is going to
be doing the bootstraping for the initial build.  Here is a link to a
post that goes into some of the details on how you can accomplish this.
It's what I did when I did a FreeBSD/sparc64 port using Zero.

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=89377+0+archive/2008/freebsd-java/20080203.freebsd-java

-- 
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-ppc mailing list