[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: JDK says can't open /proc/xxxxx



On Thu, Jan 13, 2000 at 02:02:36PM -0800, aphro wrote:
> sounds like the JDK bug with newer kernels, see the linux-kernel mailing
> list or the archives of this list, the solution is usually downgrade the
> kernel or upgrade your JDK.
> 
> this bug only affects older JDK with newer kernels, JDK tries to call an
> undocumented /proc file and pukes when it can't find it.  linux-kernel
> developers said it was a bad bug, and no program should rely on /proc for
> anything as it is not a "finished" file system things are still changing
> in it often and programs can break if they do rely on /proc

Thanks Nate, but I found the problem.  Well, it may not be the actual problem
but it lets java work for me.  It just figures that I'd figure this out
within 10 minutes of sending my post.  Turns out that the environment
variable FLAGS_CLASS=-green was being ignored.  I modified
/usr/lib/jdk1.1/bin/.java_wrapper (that being the script that the java
commands all call) to force green threads.  Means I can't do native
threads until I figure this all out, but at least I can do the "regular"
stuff.  And that should be most of the semester.

By the time we're ready to do multi-threaded stuff in class I should
have all this figured out.  When I get the chance I'll see about getting
the newest package from blackdown and see if that helps.
-- 
Mike Werner  KA8YSD           |  "Where do you want to go today?"
ICQ# 12934898                 |  "As far from Redmond as possible!"
'91 GS500E                    |
Morgantown WV                 |  Only dead fish go with the flow.


Reply to: