Help: Install JDK 1.5 on FreeBSD 5.4 AMD64

Tanya N kessler audiocollage at sbcglobal.net
Tue Oct 25 05:59:41 PDT 2005


I've tried just about everything.  The linux-sun-jdk14 works.  I can javac -version.  Linprocfs mounts.  I have all the right options in the kernel.  I added WITH_LIB32=YES to make.conf.  What I'm wondering is, do I have to have current ports (bleeding edge) or is stable ports o.k.?  For those who got native jdk15 to work on amd64, are you using stable or current ports?  I just saw a post about disabling security in the rc.conf file.  I'm going to look into that also...  If someone has time maybe could they create a quick and dirty how to on installing native jdk15 on a fresh install of freebsd 5.4 for amd64.  I know if ever get this working I'm definitely going to host a how to on this.

Huang wen hui <hwh at gddsn.org.cn> wrote: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.
>
> --hwh

forgot this: you need to replace /usr/lib32/libpthread by 
/usr/lib32/libc_r.

_______________________________________________
freebsd-java at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"



More information about the freebsd-java mailing list