LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems installing Java (https://www.linuxquestions.org/questions/linux-newbie-8/problems-installing-java-356159/)

ursinus 08-23-2005 10:22 AM

Rpm
 
Hi,

could someone please tell me what is RPM? I'm about to download Java plugin.

ursinus

trickykid 08-23-2005 10:26 AM

RPM = Redhat Package Manager

It's a type of package to install already precompiled binaries. Go to http://www.rpm.org/ to learn more.

ursinus 08-23-2005 10:51 AM

install error: "cannot execute binary file"
 
I have a problem of installing the java plugin. it gives an error:

cannot execute binary file

what have I done wrong, or how come this error...

thanks,
ursinus

saman007uk 08-23-2005 10:54 AM

Honestly! Did you even look at the link trickykid gave you? RTFM.

You can't execute RPMs directly. You have to install like:
Code:

rpm -i java-plugin.rpm
And this only work on Red Hat based systems. On many systems, you can't use RPMs natively.

ursinus 08-23-2005 10:59 AM

Honestly, I did... But then I decided not to download rpm-file... Ok, I'll try that one.

Sorry, and thank you,
ursinus

ursinus 08-23-2005 11:11 AM

Sorry to disturb with my stupidity - but hey, this is a newbie forum - but also with a rpm it gives the error: cannot execute binary file. So the problem is before the step of executing rpm itself. Or am I compeletely lost?

So the error comes while extracting... and yes, I do have RedHat

PsypherPunk 08-23-2005 11:20 AM

Where is the error you're receiving appearing? What have you typed to get this error?

ursinus 08-23-2005 11:23 AM

./jre-1_5*****

Before extracting the file appears a binary license agreement, as it should but then while extracting... error

reddazz 08-23-2005 11:33 AM

Quote:

Originally posted by trickykid
RPM = Redhat Package Manager

RPM = RPM Package Manager. ;) The name was changed sometime ago.

PsypherPunk 08-23-2005 01:03 PM

Quote:

Originally posted by ursinus
./jre-1_5*****

Before extracting the file appears a binary license agreement, as it should but then while extracting... error

If you've downloaded the RPM (the file that ends in '.rpm') then you're typing the wrong command.

You should type:

Code:

rpm -i jre1_5*.rpm
...as was mentioned earlier. If you've downloaded a file that doesn't end in '.rpm' then type the exact filename and the exact error.

ursinus 08-24-2005 07:38 AM

Hi again,

I'll continue with my problem which was left unsolved yesterday...

The problem, or the error, comes while working with binary (.bin) file, not with the rpm file.
To repeat shortly my problemino:
I'm trying to install java plugin but cannot unpack/extract bin file.

Command and the error:

[root@localhost plugins]# ./jre-1_5_0_04-linux-amd64-rpm.bin
.
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
./jre-1_5_0_04-linux-amd64-rpm.bin: line 263: ./install.sfx.2792: cannot execute binary file

Done.
[root@localhost plugins]#

Where might be the problem? Please do help me!

ursinus 08-25-2005 07:45 AM

Ok, here is some info of my Cpu:

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2700+
stepping : 1
cpu MHz : 2158.562
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 4276.22

Which plugin should I download? I'm starting to get desperate. The options are:

Linux Platform - J2SE(TM) Runtime Environment 5.0 Update 4
Linux AMD64 Platform - J2SE(TM) Runtime Environment 5.0 Update 4

And how to uninstall an existing plugin which doesn't seem to work.

Nylex 08-25-2005 08:43 AM

Your CPU isn't 64 bit, so download the JRE for the Linux platform.

ursinus 08-25-2005 08:48 AM

To avoid stupid questions, I would like to know from where do you see it exactly?

I'm really a beginner, have to say!

Nylex 08-25-2005 08:51 AM

What?

ursinus 08-25-2005 08:53 AM

...that my Cpu ain't 64 bit.

Nylex 08-25-2005 08:56 AM

Quote:

Originally posted by ursinus
model name : AMD Athlon(tm) XP 2700+
Right there. That's definitely a 32-bit CPU, as I have the same one.

ursinus 08-25-2005 09:48 AM

So, based on the info that I've given, what should be the correct version for my system.

I tried with jre-1_5_0_04-linux-i586-rpm.bin but after installed, Mozilla itself doesn't work.

Nylex 08-25-2005 09:55 AM

That version should be ok. Did you follow the instructions to install the plugin for Mozilla?

ursinus 08-25-2005 10:07 AM

Quote:

Originally posted by Nylex
That version should be ok. Did you follow the instructions to install the plugin for Mozilla?
I did and I also made the link (ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/lib/mozilla-1.7.6/plugins) and the update (updatedb). Perhaps here is the trick, or how? I read form anothet thread that these measures should be taken. Right? Or not?

Nylex 08-25-2005 10:13 AM

Was your version of Mozilla compiled with GCC 2.9? If not, remove the link and make a new one with "ns7" instead of "ns7-gcc29". You can also check if the plugin has been registered by entering "about:plugins" in the address bar.

ursinus 08-25-2005 10:21 AM

Right on! It's installed! After two days of fighting I do have a java plugin, cannot still believe it.

I cannot thank you enough, and special thanks go to your patiency with a newbie like me. I've to say that during this process I did learn a lot. Thanks also to other little and bigger helpers.

Until a next problem... No, just kidding - after finding this site so usefull, I'll be here to study - and perhaps one - to help.

With Best Regards,
ursinus


All times are GMT -5. The time now is 04:42 AM.