Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 16:48:43 -0500
From:      Mike Meyer <mwm-dated-1050616123.376c8b@mired.org>
To:        Joachim Dagerot <freebsd@dagerot.nu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Getting any jdk to work with latest freeBSD isimpossible?
Message-ID:  <16024.35259.37722.12125@guru.mired.org>
In-Reply-To: <200304122106.h3CL6jk07166@thunder.trej.net>
References:  <200304122106.h3CL6jk07166@thunder.trej.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In <200304122106.h3CL6jk07166@thunder.trej.net>, Joachim Dagerot <freebsd@dagerot.nu> typed:
> I'm very new to freeBSD (installed it this week). I do have some
> experience with linux and I'm comfortable with java.
> I don't know anything about patches, kernals etc.
> I have tried to install jdk14 and jdk13.
> All to be found in my /usr/ports/java/.
> I have followed all instructions on screen about downloading from sun
> and getting a patch from eyesbeyond (or whatever it was called).
> 
> On jdk14 I get this errormessage:
> LIBC_R TEST FAILED: libc_r update required
> *** Error code 1

jdk14 is flagged as very unstable, and they recommend you use jdk13 instead.

> on jdk13 I get another:
> Linux mode is not enabled. Loading Linux kernel module...
> linux: not found
> The Linux kernel module could not be loaded. Please manually load
> the module and retry. See "man linux" for details.
> *** Error code 1
> 
> Stop in /usr/ports/java/linux-sun-jdk13.
> *** Error code 1

Sounds like the linux-sun-jdk13 port is assuming you /usr/sbin in your
path, and you haven't got that set up. You can solve this by adding
/usr/sbin to your path, or manually running "/usr/sbin/linux" before
you try the build.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16024.35259.37722.12125>