LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-29-2005, 03:18 PM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Rep: Reputation: 46
Opening the binary file


Hello
I downloaded the following file. It is supposed to open by double clicking. It didn't work in
that way.
Could you please tell me the command to open the file to install it?

jre-1_5_0_0_01-Linux-amd-64.bin
 
Old 11-29-2005, 03:34 PM   #2
suicidebiker
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Try opening up a terminal, navigating to the folder, then issuing "sh jre-1_5_0_0_01-Linux-amd-64.bin" or "./jre-1_5_0_0_01-Linux-amd-64.bin" without the quotes. I don't remember when I installed java if I was root or not, but if that doesn't work try "sudo sh jre-1_5_0_0_01-Linux-amd-64.bin" or "sudo ./jre-1_5_0_0_01-Linux-amd-64.bin".

If nothing else perhaps it will tell you why it's not working rather then simply dying.

Good Luck!
 
Old 11-29-2005, 04:22 PM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
Thank suicidebiker, it worked fine.

The following command worked.

sh "jre-1_5_0_01-linux-amd64.bin"

It created a lot of folders. The following are some of them.
-----------------------------------------------------------------------------------------
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
creating: jre1.5.0_01/
creating: jre1.5.0_01/bin/
inflating: jre1.5.0_01/bin/java
inflating: jre1.5.0_01/bin/ktab
inflating: jre1.5.0_01/bin/orbd
inflating: jre1.5.0_01/bin/rmid
inflating: jre1.5.0_01/bin/keytool
inflating: jre1.5.0_01/bin/kinit
inflating: jre1.5.0_01/bin/klist
inflating: jre1.5.0_01/bin/unpack200
inflating: jre1.5.0_01/bin/tnameserv
inflating: jre1.5.0_01/bin/servertool
inflating: jre1.5.0_01/bin/pack200
inflating: jre1.5.0_01/bin/rmiregistry
inflating: jre1.5.0_01/bin/policytool


inflating: jre1.5.0_01/man/ja_JP.eucJP/man1/orbd.1
inflating: jre1.5.0_01/man/ja_JP.eucJP/man1/rmid.1
inflating: jre1.5.0_01/man/ja_JP.eucJP/man1/servertool.1
inflating: jre1.5.0_01/man/ja_JP.eucJP/man1/pack200.1
inflating: jre1.5.0_01/man/ja_JP.eucJP/man1/unpack200.1
inflating: jre1.5.0_01/Welcome.html
inflating: jre1.5.0_01/LICENSE
inflating: jre1.5.0_01/README
inflating: jre1.5.0_01/THIRDPARTYLICENSEREADME.txt
inflating: jre1.5.0_01/CHANGES
inflating: jre1.5.0_01/COPYRIGHT
Creating jre1.5.0_01/lib/rt.jar
Creating jre1.5.0_01/lib/jsse.jar
Creating jre1.5.0_01/lib/charsets.jar
Creating jre1.5.0_01/lib/ext/localedata.jar

Done.



-----------------------------------------------------------

[root@c83-250-89-216 Desktop]# cd jre1.5.0_01
[root@c83-250-89-216 jre1.5.0_01]# ls
bin/ CHANGES COPYRIGHT lib/ LICENSE man/ README THIRDPARTYLICENSEREADME.txt Welcome.html
[root@c83-250-89-216 jre1.5.0_01]#

As you see it has some files and folders. How do I install the program? I read the README fie. It has no mention about the installation.

How do I install the program?

Last edited by Gins; 11-29-2005 at 04:24 PM.
 
Old 11-29-2005, 05:32 PM   #4
suicidebiker
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
ah, ok. I looked at the instructions here: http://java.com/en/download/help/500...selfextracting and it appears that if you just move all that stuff into /usr/java or something similar. In all honesty I would just download the rpm from http://jdl.sun.com/webapps/download/...BundleId=10271 and install that (rpm -ivh packagename ). Last time I ran Mandrake it had rpm support. You can do it manually (instructions are at the java.com link above) but it looks like more trouble than it's worth.

Have Fun!
 
Old 11-30-2005, 03:56 AM   #5
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
Thanks suicidebiker for taking time to help me.

it worked. I am posting some of the output here.

--------------------------------------------------------------

[root@c83-250-89-216 java]# chmod a+x jre-1_5_0_05-linux-amd64-rpm.bin
[root@c83-250-89-216 java]# ls -l
total 15400
-rwxr-xr-x 1 root root 15746429 Nov 30 10:32 jre-1_5_0_05-linux-amd64-rpm.bin*
[root@c83-250-89-216 java]# ./jre-1_5_0_05-linux-amd64-rpm.bin
Sun Microsystems, Inc. Binary Code License Agreement

for the JAVA 2 PLATFORM STANDARD EDITION RUNTIME ENVIRONMENT 5.0

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE SOFTWARE
IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT
ALL OF THE TERMS CONTAINED IN THIS BINARY CODE LICENSE AGREEMENT AND
SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT"). PLEASE READ THE
AGREEMENT CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY SELECTING THE
"ACCEPT" BUTTON AT THE BOTTOM OF THE AGREEMENT. IF YOU ARE NOT WILLING
TO BE BOUND BY ALL THE TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM
OF THE AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT CONTINUE.





For inquiries please contact: Sun Microsystems, Inc., 4150 Network
Circle, Santa Clara, California 95054, U.S.A. (LFI#141623/Form
ID#011801)

Do you agree to the above license terms? [yes or no]
y
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-1_5_0_05-linux-amd64.rpm
Preparing... ########################################### [100%]
1:jre ########################################### [100%]

Done.
[root@c83-250-89-216 java]# ls
jre1.5.0_05/ jre-1_5_0_05-linux-am
d64.rpm jre-1_5_0_05-linux-amd64-rpm.bin*
[root@c83-250-89-216 java]# ls

I hope everything went smoothly. Please tell me if something is wrong.
 
Old 11-30-2005, 04:33 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Keep reading the instructions on configuring, that installs java, in order to use it in your browser for example you must symlink it to your plugins in your browser directory
 
Old 11-30-2005, 04:37 AM   #7
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
Thanks ethics for taking time to reply me.
I am still struggling with it.
I will come back to you all if I fail to do the rest.
 
Old 11-30-2005, 04:32 PM   #8
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
I am still struggling to put the plugins to the browser. It gives me problems. I have been trying for several hours.
 
Old 11-30-2005, 05:02 PM   #9
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Well it helps to mention which browser
 
Old 11-30-2005, 05:18 PM   #10
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
Mozilla Firefox version 1.0.6

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.10) Gecko / 20050921 Firefox/1.0.7 Mandriva/1.0.6-15mdk
 
Old 11-30-2005, 05:21 PM   #11
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
The file you need to be symlinking to JRE is /usr/lib/firefox-1-0-6/plugins/libjavaplugin_oji.so i believe
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What 's the different between text file and binary file? taureanyang General 3 07-25-2005 08:37 AM
Compressing file using a binary file bernie82 Programming 3 06-01-2005 02:11 AM
Automatically tell text file from binary file? Hosiah Linux - Software 3 05-31-2005 05:22 AM
convert text file to binary excel file ust Linux - General 2 11-23-2004 02:33 AM
mounting a binary file thats not on any file system!?!!? aXoneX Linux - General 7 10-26-2004 02:21 AM


All times are GMT -5. The time now is 07:45 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration