After upgrading from 6.0 to 6.1 and try to run a java program I get the error: /usr/local/Lucent/PMVision# pmvision Cannot open /proc/05507 for GCCould not create Java VM pmvision: jre -cp /usr/local/Lucent/PMVision/pmvision.jar \ -cp /usr/local/Lucent/PMVision/pmvhelp.jar \ -cp /usr/local/Lucent/PMVision/helpsys.jar \ -cp /usr/local/Lucent/PMVision/oromatcher.jar \ PMVision $* When I upgraded to 6.0 I had to switch to using native threads does this have something to do with it? Here is my environment: 1 ~# env USERNAME=root ENV=/root/.bashrc HISTSIZE=1000 HOSTNAME=thag.co.weber.ut.us LOGNAME=root HISTFILESIZE=1000 MAIL=/var/spool/mail/root THREADS_FLAG=native TERM=xterm HOSTTYPE=i386 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/jdk117_v1a/bin:/root/bin:. KDEDIR=/usr HOME=/root INPUTRC=/etc/inputrc SHELL=/bin/bash PS1=\# \w\$ USER=root OSTYPE=Linux SHLVL=1 _=/usr/bin/env
I have tried upgrading to jdk1.7v3 with out any change. Once again the output is: # ./pmvision Cannot open /proc/08420 for GCCould not create Java VM I am really in a bind any help in resolving this issue is welcome.
Hmm... looks like the JDK is relying on a bug/misfeature in the older kernel, in that you could read /proc/23 as /proc/00023. This was fixed in the 2.2.13 (and 2.2.12+fixes that ships in 6.1). What JDK are you using? (IBM/Blackdown/etc.)
I am using blackdown jdk1.1.7v3 and had used v1a
You might try using the IBM jdk; it's a jdk bug that it's trying to access the directory like this.
I switched to ibm-jdk-l118-linux-x86 and it worked. The thing that I don't understand is that it only broke when I upgraded to RH6.1. Previous to that the Blackdown jdk worked fine for me. This looks like it is still a RH problem and would appreciate more info.
The kernel changed; it doesn't allow addressing /proc directories like that any more.