Help: Install JDK 1.5 on FreeBSD 5.4 AMD64

Yuri Khotyaintsev yuri at irfu.se
Mon Oct 24 01:51:14 PDT 2005


On Monday 24 October 2005 02.41, Huang wen hui wrote:
> Tanya N kessler wrote:
> >O.K., I did a totally fresh install of FreeBSD 5.4 on
> >AMD64.  Updated CVS with the stable verison 5.x.  Did
> >a portupgrade of all src and port.  Built and
> >installed a kernel w/COMPAT_LINUX32 support.  Added
> >linprocfs to my fstab.  Built and installed
> >linux-sun-jdk14.  Then I go to build native jdk15 and
> >I still get the same error.  javac is executable by
> >user, group, and others.  I'm not sure how to tell if
> >the VM loads O.K. from linprocfs.  All I know is that
> >I just switched to FreeBSD.  I like a lot, but I can't
> >seem to get native java work.  Will someone please
> >tell me what I am doing wrong...
>
> try to use native jdk1.4.2 as bootstrapper. Of cause you need
> COMPAT_IA32 and lib32 options. I succeeded to install jdk1.5.0-p1 on 5.4R.

As far as I remember, jdk14/i386 will not work on amd64. One should use linux 
jdk.

Is linprocfs mounted?

[root at hq][/home/yuri]# mount|grep linux
linprocfs on /usr/compat/linux/proc (linprocfs, local)

Can you run /usr/local/linux-sun-jdk1.4.2/bin/java -version ?

-- 
Yuri Khotyaintsev
Institutet för rymdfysik (IRF), Uppsala


More information about the freebsd-java mailing list