Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2003 21:51:36 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Marc Huffnagle <enigma971@comcast.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Java VM problems
Message-ID:  <20031207035136.GC67086@dan.emsphone.com>
In-Reply-To: <1070753598.9608.11.camel@localhost>
References:  <1070751480.9608.1.camel@localhost> <86brqlh79j.fsf@borg.borderworlds.dk> <1070753598.9608.11.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 06), Marc Huffnagle said:
> That solved it, thanks.  I'll pass this along to the people at
> freebsd-java, it seems like something that they should have in their
> FAQ.

You should have gotten this message when you installed the port:

$ cat /usr/ports/java/linux-sun-jdk14/pkg-message
======================================================================
Warning: This JDK is currently unstable.  You are advised to use
either the FreeBSD jdk14 port or one of the jdk13 ports instead.

This Java VM will attempt to obtain some system information by
accessing files in linux's procfs.  You must install the Linux
emulation procfs filesystem for this to work correctly.  The JVM
will exhibit various problems otherwise.  This can be accomplished
by adding the following line to your /etc/fstab file:

 linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then, as root, executing the commands:

kldload linprocfs
mount /compat/linux/proc

======================================================================


-- 
	Dan Nelson
	dnelson@allantgroup.com



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