Red Hat Bugzilla – Bug 147032
/usr/bin/java has multiple problems
Last modified: 2007-11-30 17:10:59 EST
Description of problem:
I assume the /usr/bin/java script comes from gcc (gij). If not, reassign.
The script has multiple problems:
~ a /tmp/javaXXXXXX file is left behind
~ the script assumes /tmp is executable (which it shouldn't be)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.have /tmp on a separate partition
2.mount with noexec
strange error message
I don't see any reason to use a file at all. This should take care of both
problems. Just construct one or more strings with all the parameters neded.
Created attachment 110629 [details]
patch which at least works with eclipse
This patch make eclipse start up without creating a temporary file. The
various sed commands added to enable the use of a separate command can go. I
might have screwed up some quoting but I wouldn't think so.
Patch applied to java-1.4.2-gcj4-compat-18.104.22.168-4jpp_2rh.