LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-30-2003, 08:04 AM   #1
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Rep: Reputation: 15
.bin files


I'm new to Linux, but I know how to install downloads in the RPM and the tar.gz format.

I recently found an application that I wanted to install, and the linux version gave me a .bin file when I downloaded it.

How do I install this thing?
 
Old 04-30-2003, 08:39 AM   #2
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
try the following:

>chmod +x whateverfile.bin
>./whateverfile.bin

And it should, I think, create a rpm or install the software directly.
 
Old 04-30-2003, 08:39 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hi, please refrain from double posting, I answered your question in the software section where I first saw it.
 
Old 04-30-2003, 03:03 PM   #4
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Original Poster
Rep: Reputation: 15
code:
-----
[simba@localhost simba]# chmod +x filename.bin
[simba@localhost simba]# ./filename.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Warning: -Xmx100331648 not understood. Ignoring.
Warning: -Xms16777216 not understood. Ignoring.
Exception in thread "main" java.lang.InternalError: Unexpected exception while defining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog
-----

Well, there are a few more errors, but they all have to deal with exceptions when defining java classes. Any clues?
 
Old 04-30-2003, 03:25 PM   #5
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Original Poster
Rep: Reputation: 15
Java Errors

I'm thinking that maybe I don't have something like a JDK installed, and so this program isn't running correctly?
 
Old 04-30-2003, 03:54 PM   #6
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Original Poster
Rep: Reputation: 15
Wasn't the Java thing...

I just downloaded and installed the Java2 Runtime Environment SE 1.4.1_02

And it still won't run this program.
*confused*
 
Old 04-30-2003, 08:22 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
What "program" is it that it won't run? And, are you sure you got it installed correctly?



Cool
 
Old 04-30-2003, 08:35 PM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You may have the JRE but it may need the JSDK, or you could have a version incompatability.
 
Old 04-30-2003, 09:15 PM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Or you may need to add java to your path.
 
Old 04-30-2003, 09:52 PM   #10
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Original Poster
Rep: Reputation: 15
ok... how do i "add java to my path"? I mean, what file do I edit, and what do I put in it?

*hates being a newbie*

The program I am attempting to install is LimeWire - the Gnutella client.
 
Old 04-30-2003, 09:55 PM   #11
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Yeah then you need to add java to your path before executing the installer. Export the path by doing:

export PATH=$PATH:/usr/java/j2re1.4.1_01/bin

You will probably have to change j2re1.4.1_01 to the version of java you are using.
 
Old 04-30-2003, 10:20 PM   #12
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Original Poster
Rep: Reputation: 15
PATH set, same errors...?

Ok, I set the path with the export command you suggested as follows:

code:
-----
[simba@localhost simba]# export PATH=$PATH:/usr/java/j2re1.4.1_02/bin
[simba@localhost simba]#
-----

There is no output of this command, correct? And I also verified that the directories exist, and are the correct version number.

So, then I go back and try to run the program. I'll give you the full dump here:

code:
-----
[root@localhost my-installs]# ./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Warning: -Xmx100331648 not understood. Ignoring.
Warning: -Xms16777216 not understood. Ignoring.
Exception in thread "main" java.lang.InternalError: Unexpected exception while d
efining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./li
bgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.
3)
at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError(java.lang.St
ring) (/usr/lib/./libgcj.so.3)
at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.String) (/usr/
lib/./libgcj.so.3)
at 0x4025ac2f: java.lang.ClassLoader.defineClass(java.lang.String, byte[], in
t, int, java.security.ProtectionDomain) (/usr/lib/./libgcj.so.3)
at 0x4025aa13: java.lang.ClassLoader.defineClass(java.lang.String, byte[], in
t, int) (/usr/lib/./libgcj.so.3)
at 0x402f1f2e: java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/
./libgcj.so.3)
at 0x40248197: gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/us
r/lib/./libgcj.so.3)
at 0x4025a904: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/u
sr/lib/./libgcj.so.3)
at 0x4024889c: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/
./libgcj.so.3)
at 0x40244cdd: java.lang.Class.forName(java.lang.String, boolean, java.lang.C
lassLoader) (/usr/lib/./libgcj.so.3)
at 0x4023b4cf: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/./libgc
j.so.3)
at 0x40231857: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/./libgcj.so.3)
at 0x40229ae4: _Jv_PrepareClass(java.lang.Class) (/usr/lib/./libgcj.so.3)
at 0x40248028: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/./
libgcj.so.3)
at 0x4025acb3: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib
/./libgcj.so.3)
at 0x4024646c: java.lang.Class.initializeClass() (/usr/lib/./libgcj.so.3)
at 0x40244d04: java.lang.Class.forName(java.lang.String, boolean, java.lang.C
lassLoader) (/usr/lib/./libgcj.so.3)
at 0x40244d9f: java.lang.Class.forName(java.lang.String) (/usr/lib/./libgcj.s
o.3)
at 0x402ad01d: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, bool
ean) (/usr/lib/./libgcj.so.3)
at 0x08048910: __gcj_personality_v0 (java.compiler=NONE)
at 0x420156a4: __libc_start_main (/lib/tls/libc.so.6)
at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE)
[simba@localhost my-installs]#
-----
 
Old 05-01-2003, 12:19 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by Crashed_Again
Yeah then you need to add java to your path before executing the installer. Export the path by doing:

export PATH=$PATH:/usr/java/j2re1.4.1_01/bin

You will probably have to change j2re1.4.1_01 to the version of java you are using.
This was just an example. You may have to adjust for the version you are installing, and for the directory location. If your java is that version at that location, then that export should work. To check it, simply type:
$PATH

In a terminal. It will echo out your PATH, and you can see if it has your java location in it. If not, you either are typing it incorrectly, or you need to set the variable elsewhere, maybe .bash_profile

To find out where java is, either poke around your system or try a whereis:
whereis java

OR locate java (which will pull alot up, but sometimes helps).

FYI, Limey sucks, get dcgui...

Cool
 
Old 05-01-2003, 12:59 AM   #14
KDE4me
Member
 
Registered: Apr 2003
Location: Australia
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90

Rep: Reputation: 15
I had the same problem a week ago. I think you'll find java in the /usr/local/j2sdkVERSION#/bin (if you installed as root - read your install.txt). Now after this all you'll have to do is get applets to work(if you want them to) in Mozilla and your file manager. That's a lot more fun

A question for everyone else:
After setting I set the path to my JSDK terminal I echo $PATH and get the correct path. I close all my terminals and then open a new terminal. When I
$ echo $PATH my usr/local/java.../bin
in this new terminal it is gone from the path. What's happened here? How do I fix it?
 
Old 05-01-2003, 03:17 AM   #15
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Original Poster
Rep: Reputation: 15
ok... I did modify the path string to be the one where I installed at....

to check it, i went through the dirs cause I wanted to be sure...

code:
-----
[root@cs6625135-156 /]# cd usr
[root@cs6625135-156 usr]# cd java
[root@cs6625135-156 java]# cd j2re1.4.1_02
[root@cs6625135-156 j2re1.4.1_02]# cd bin
[root@cs6625135-156 bin]# ls
ControlPanel java_vm kinit ktab policytool rmiregistry tnameserv
java keytool klist orbd rmid servertool
-----

Therefore, I just add it to the $PATH as such:

code:
-----
[root@cs6625135-156 my-installs]# export PATH=$PATH:/usr/java/j2re1.4.1_02/bin
-----

And then I echo the path back to me to see if it added correctly.

code:
-----
[root@cs6625135-156 my-installs]# $PATH
bash: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2re1.4.1_02/bin: No
such file or directory
-----

And it can't find it? Hmm...
Also...

code:
-----
[root@cs6625135-156 bin]# whereis java
java: /usr/bin/java /usr/include/java /usr/share/java
-----

Do I maybe need to use one of these dirs instead?
I also, on your advice, added it to the .bash_profile

And, maybe this editing the path in a terminal and it disappearing... could be the problem. I'm going to restart with it in my .bash_profile and find out if that helps.

And I know Limewire kinda sucks.. Used to use it as a windows user... But I didn't know what else to get... Didn't want to get into kazaa lite and wine... But oh well. I'd still at least like to get java installed correctly. Java still does not work in my browser, even with the browser plugin supposedly installed (it's not listed on my plugin's list inside the browser - but that's another nightmare)
 
  


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 .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
.sit files and .bin files in Linux pierre24 Linux - Newbie 2 02-02-2005 07:55 AM
How can I install Bin Files? or tg files? GeKsKe-XP Linux - Software 3 03-23-2004 03:54 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM
Help with .bin files voitel Linux - Software 6 03-20-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:28 AM.

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
Open Source Consulting | Domain Registration