Help: Install JDK 1.5 on FreeBSD 5.4 AMD64
Tanya N kessler
audiocollage at sbcglobal.net
Sun Oct 23 17:27:18 PDT 2005
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...
--- Victor Vacaretu <freebsd at vimore.com> wrote:
> Umm, I've set it up OK on my server.
>
> did you try to execute the javac binary ?
> is it wide executable ?
> does the VM loads ok from the linprocfs ?
>
> Victor Vacaretu
>
>
> Hello Tanya,
>
> Friday, October 21, 2005, 4:56:13 PM, you wrote:
>
> > I tried to install linux-sun-jdk14, it said it's
> already
> > installed. I go to make jdk15 and I get the error
> seen below.
>
> > Victor Vacaretu <freebsd at vimore.com> wrote:
>
> > This has been already discussed in the list.
>
> > Install first the linux-sun-jdk1.4.2 as this will
> be the bootstrapper
> > jdk1.5 will be compiled with.
>
> > Victor Vacaretu
>
> > Hello Tanya,
>
> > Friday, October 21, 2005, 3:19:53 PM, you wrote:
>
> >> Hello,
>
> >> I've been all over the web trying to find help on
> installing
> >> JDK15 on a FreeBSD 5.4 AMD64 machine. This is my
> last stop before I
> >> give up.
>
> >> Fresh install of FreeBSD w/ports updated.
> >> LINUX_COMPAT enabled in kernel with linprocfs set
> in fstab.
> >> Dowloaded all source, binary, and patches into
> /usr/ports/distfiles
>
> >> I need to know the exact steps to take. When I go
> >> /usr/ports/java/jdk15 and type "make" this is
> what I get:
>
>
>
> >> fi
> >> execv(): Bad address
> >> Error trying to exec
> /usr/local/linux-sun-jdk1.4.2/bin/javac.
> >> Check if file exists and permissions are set
> correctly.
> >> gmake[3]: *** [.compile.classlist] Error 1
> >> gmake[3]: Leaving directory
> >> `/usr/ports/java/jdk15/work/j2se/make/java/java'
> >> gmake[2]: *** [all] Error 1
> >> gmake[2]: Leaving directory
> >> `/usr/ports/java/jdk15/work/j2se/make/java'
> >> gmake[1]: *** [all] Error 1
> >> gmake[1]: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make'
> >> gmake: *** [j2se-build] Error 2
> >> *** Error code 2
>
>
>
> >> I was told by someone that I need to install
> linux-sun-jdk14, so
> >> I went to do that. It said it was already
> installed. I've been
> >> searching on the web and everyone says this error
> is cause csh can
> >> not support such a long javac command. Someone
> told me that I need
> >> the linux-java-bootstrap, but I don't know what
> that is. I also
> >> tried to build JDK14 and got the same error
> above. Can someone
> >> please tell me the exact steps to take when
> installing Native JDK15
> >> on a fresh install of FreeBSD 5.4 AMD64.
>
>
>
> >> Please help a fellow BSD'er in distress,
>
>
>
> >> Tom
> >> _______________________________________________
> >> 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"
>
>
>
>
>
>
> --
> Best regards,
> Victor
> mailto:freebsd at vimore.com
>
>
More information about the freebsd-java
mailing list