Subject: Re: Need to run a .jar file
To: None <netbsd-users@NetBSD.org>
From: Laine Stump <lainestump@speakeasy.net>
List: netbsd-users
Date: 07/27/2004 18:14:41
Thanks to everyone, my java application is now running on NetBSD! I 
appreciate everyone's comments/assistance.

>Steven M. Bellovin wrote:
>>>'ulimit -d 262144' will get rid of the "Could not reserve enough space" 
>>>problem.  The message about the thread stack is a warning; I don't know 
>>>how to make it go away, but it doesn't seem to hurt, at least in the few 
>>>cases I've tried lately.

Mounting proc /emul/linux/proc as suggested by Mr. sigsegv made that disappear!

At 01:54 AM 7/28/2004, sigsegv@rambler.ru wrote:

>This is what I have in my fstab:
>
>procfs /emul/linux/proc procfs rw,linux
>
>where /emul/linux is a symlink to /usr/pkg/emul/linux
>
>And this is my ~/.profile:
>
>ulimit -d 262144
>export JAVA_HOME=/usr/pkg/java/sun-1.4
>PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin
>PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:$JAVA_HOME/bin
>
>Also I had to install the following packages to get java working:
>
>suse_base-7.3nb5    Linux compatibility package
>suse_compat-7.3     Linux compatibility package with old shared libraries
>suse_x11-7.3nb2     Linux compatibility package for X11 binaries
>sun-jre14-2.5       Sun's Java(tm) 2 Runtime Environment 1.4.2
>sun-jdk14-2.5       Sun's Java(tm) 2 SDK, Standard Edition 1.4.2

I believe installing lang/sun-jdk14 forces the others to install.