Installing IBM java - command not found

Archived topics about LMDE 1 and LMDE 2
Locked
adamf

Installing IBM java - command not found

Post by adamf »

Hello, I have just installed LMDE and upgraded to version 7. I want to install IBM java JRE/SDK. I downloaded the .bin files from IBM and from what I understand if I do chmod -x file.bin then ./file.bin this should work but I am getting "command not found"

I'm very new to linux - am I missing something basic? How can I tell what command is not found as ./ibm-java-jre-7.1-0.0-x86_64-archive.bin clearly is found as it says "permission denied". With sudo I get "command not found".

If it makes a difference I don't currently have any Java as I uninstalled OpenJDK and installed and then uninstalled Oracle version.

adam@lmde ~/Downloads $ ls
eclipse-standard-kepler-SR1-linux-gtk-x86_64.tar.gz
ibm-java-jre-7.1-0.0-x86_64-archive.bin
ibm-java-sdk-7.1-0.0-x86_64-archive.bin
adam@lmde ~/Downloads $ sudo chmod -x ./ibm-java-jre-7.1-0.0-x86_64-archive.bin
adam@lmde ~/Downloads $ ./ibm-java-jre-7.1-0.0-x86_64-archive.bin
bash: ./ibm-java-jre-7.1-0.0-x86_64-archive.bin: Permission denied
adam@lmde ~/Downloads $ sudo ./ibm-java-jre-7.1-0.0-x86_64-archive.bin
sudo: ./ibm-java-jre-7.1-0.0-x86_64-archive.bin: command not found


EDIT: By trial and error I found this worked - it seems quotes are required. Is this correct?

'/home/adam/Downloads/ibm-java-jre-7.1-0.0-x86_64-archive.bin'
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Installing IBM java - command not found

Post by Monsta »

adamf wrote:chmod -x file.bin
chmod +x file.bin
Locked

Return to “LMDE Archive”