Installing IBM java - command not found

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Installing IBM java - command not found

Postby adamf on Wed Dec 25, 2013 10:08 am

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'
adamf
Level 1
Level 1
 
Posts: 6
Joined: Tue Jun 25, 2013 3:11 am

Linux Mint is funded by ads and donations.
 

Re: Installing IBM java - command not found

Postby Monsta on Thu Dec 26, 2013 2:15 am

adamf wrote:chmod -x file.bin

chmod +x file.bin
Monsta
Level 8
Level 8
 
Posts: 2017
Joined: Fri Aug 19, 2011 3:46 am


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 5 guests