Problems with compiling java programs on FreeBSD from ports

Carlo Dapor catull at gmail.com
Tue Apr 3 05:19:04 UTC 2012


On 3 April 2012 02:20, Super Bisquit <superbisquit at gmail.com> 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.

Hello Super Bisquit

What you need is objconv, fetch it from http://www.agner.org/optimize,
midway on that page under "Object file converter".
Used it myself to build flatassembler for MacOS X 10.5 and 10.6, as
you only get an ELF object file.


Good luck,
--
Carlo


More information about the freebsd-java mailing list