/usr/bin/java Permission denied after installing JDK on linux
807600Jun 10 2007 — edited Jun 10 2007Hi Guys,
I installed jdk-6u1-linux-i586-rpm.bin and I am getting strange errors like this:
1 When I simply run "java" in shell I get this:
/usr/bin/java: line 67: /tmp/javaf10273: Permission denied
/usr/bin/java: line 67: /tmp/javaf10273: Success
2. When I try to run an sh file I get this:
Warning: -ms128m not understood. Ignoring.
Warning: -mx128m not understood. Ignoring.
/usr/bin/java: line 67: /tmp/javae10796: Permission denied
/usr/bin/java: line 67: /tmp/javae10796: Success
I searched around and as I understand the linux package may have contained some older java version, and the comp is still trying to use that.
But these notes did not say how to uninstall that older version, orr what to do.
Can you please maybe point me somewhere?
Thanks,
Gyuri