Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

/usr/bin/java Permission denied after installing JDK on linux

807600Jun 10 2007 — edited Jun 10 2007
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2007
Added on Jun 10 2007
2 comments
2,641 views