LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2005, 01:11 PM   #1
anc6802
LQ Newbie
 
Registered: Mar 2005
Location: Schenectady, NY
Distribution: Ubuntu 15.04, 15.04 server, 12.04 server,
Posts: 11

Rep: Reputation: 0
Angry Having trouble installing java2 runtime


I have SUSE 9.2 professional and i'm logged in as root and i went to sun's website and i d/l the runtime enviornment program and i followed there instructions to make the auto extracting .bin file executable. When i create the directory and i type it in to run the program it says "command not found"?? I'm running Konsole for a terminal program. I triple checked to make shure i'm typing the correct name, but still nothing works. I'm new to Linux, i've played with it before but i really want to know how to use it. I'm also new here obviously and i just want to say thanks for any help. I hope this question isn't to basic.

The file name is :jre-1_5_0_02-linux-i586.bin

I also tried the self extracting .rpm file (jre-1_5_0_02-linux-i586-rpm.bin) but i got the same result.
 
Old 03-10-2005, 01:35 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
You need to make binary files executable because they don't (usually) get them by default when you download them.

Type (you might need to be root, but try without first - you'll need to be root to install for all users anyway):
Code:
chmod +x filename.bin
obviously replacing filename.bin with the file you want to run. Then run it with:
Code:
./filename.bin
The ./ is important because by default the path doesn't check the current directory for security reasons.

Also, not sure if you know, but rather than type out the long filenames linux programs often have, you need only start typing and then press [TAB]. Pressing once will finish the filename if it's the only possible solution, pressing twice will suggest all possible endings if there are several files that start with the same letters.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing JAva runtime environment jcai Linux - General 3 09-28-2004 04:48 PM
installing java runtime davidlewis123 Linux - Software 4 04-15-2004 12:15 AM
Java Runtime Environment installation trouble Mechanic Linux - Software 2 06-25-2003 11:33 PM
installing java runtime environment Jack Ditchburn Linux - Software 4 04-13-2003 02:10 PM
Installing Java2 RE from .bin GT I.N.C Linux - Newbie 51 12-24-2002 12:16 AM


All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration