LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-17-2007, 06:32 PM   #1
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Slackware 13.1 + Ubuntu 9.04
Posts: 143

Rep: Reputation: 16
Open Office and Java problem


I am having a hard time getting Java to work in Mozilla. I download it, I install it, and create the symbolic link to the *.so file that i need to, and Mozilla still does not recognize Java.

I am also having a problem installing Open Office. Here is the error I get:

bt RPMS # rpm -Uvih *rpm
error: Failed dependencies:
/bin/basename is needed by jre-1.6.0-fcs
/bin/cat is needed by jre-1.6.0-fcs
/bin/cp is needed by jre-1.6.0-fcs
/bin/gawk is needed by jre-1.6.0-fcs
/bin/grep is needed by jre-1.6.0-fcs
/bin/ln is needed by jre-1.6.0-fcs
/bin/ls is needed by jre-1.6.0-fcs
/bin/mkdir is needed by jre-1.6.0-fcs
/bin/mv is needed by jre-1.6.0-fcs
/bin/pwd is needed by jre-1.6.0-fcs
/bin/rm is needed by jre-1.6.0-fcs
/bin/sed is needed by jre-1.6.0-fcs
/bin/sort is needed by jre-1.6.0-fcs
/bin/touch is needed by jre-1.6.0-fcs
/usr/bin/cut is needed by jre-1.6.0-fcs
/usr/bin/dirname is needed by jre-1.6.0-fcs
/usr/bin/expr is needed by jre-1.6.0-fcs
/usr/bin/find is needed by jre-1.6.0-fcs
/usr/bin/tail is needed by jre-1.6.0-fcs
/usr/bin/tr is needed by jre-1.6.0-fcs
/usr/bin/wc is needed by jre-1.6.0-fcs
/bin/sh is needed by jre-1.6.0-fcs
/bin/sh is needed by openoffice.org-core10-2.2.0-9134

What is the problem, and how can I fix it? Thanks in advance.

Unr3a1
 
Old 04-17-2007, 06:44 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
The -i and -U flags are not meant to be used together when installing rpms. Anyway, what distribution are you running because from your output, it does not seem to be an rpm based distro (distros can have the rpm command but not use rpms by default). As for the mozilla issue, its difficult to know where the problem is without details on how you went about installing java and creating the symlink.
 
Old 04-17-2007, 07:04 PM   #3
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
It seems to me that your PATH variable is NULL or empty. If you use su to be as root, try using "su -" instead.

You just need to do rpm -Uvh to install RPM files. Though using -U and -i together may not always work. The option -U will either install or upgrade, so it is useless to use -i anyways.
 
Old 04-17-2007, 07:16 PM   #4
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Slackware 13.1 + Ubuntu 9.04
Posts: 143

Original Poster
Rep: Reputation: 16
I am sorry that I did not post what distro I am using earlier. It is BackTrack 2, whish is a variation of Slackware. Only distro I could find that works with my wireless card by default. I took out the i, and I still had the same error. What do you suggest I do? I could not find a non-RPM based version of Open Office. If there is one, please link it. Thanks for the fast replies.


Unr3a1
 
Old 04-17-2007, 07:53 PM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You can get Slackware packages at linuxpackages.net.
 
Old 04-18-2007, 01:40 AM   #6
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Slackware 13.1 + Ubuntu 9.04
Posts: 143

Original Poster
Rep: Reputation: 16
Thanks. I got the Slackware package for Open Office. Now, what about my Java problem? Like I said, I do everything I am supposed to do, but Mozilla does not recognize that the plugin is there.
 
Old 04-18-2007, 04:09 AM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you want help with the mozilla and java stuff, give precise details about what you did (and the paths of your java and mozilla/firefox), so that someone can try and troubleshoot the problem for you.
 
Old 04-21-2007, 12:26 AM   #8
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Slackware 13.1 + Ubuntu 9.04
Posts: 143

Original Poster
Rep: Reputation: 16
I followed the instructions on the following website exactly:

http://java.sun.com/javase/6/webnote...all-linux.html

the paths for the programs are as follows:

/usr/lib/mozilla
/usr/local/java

What could be my issue?



Unr3a1
 
Old 04-21-2007, 11:08 AM   #9
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Can you post the output of doing the following
Code:
#find / -name libjavaplugin_oji.so
 
Old 04-22-2007, 04:26 PM   #10
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Slackware 13.1 + Ubuntu 9.04
Posts: 143

Original Poster
Rep: Reputation: 16
bt / # find / -name libjavaplugin_oji.so
find: Filesystem loop detected; `/mnt/hda4' has the same device number and inode as a directory which is 2 levels higher in the filesystem hierarchy.
/usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/java/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
/usr/java/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so
/usr/java/jre1.6.0_01/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/usr/local/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so
/usr/local/jre1.6.0_01/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/root/Desktop/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so
/root/Desktop/jre1.6.0_01/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
 
Old 04-23-2007, 09:52 AM   #11
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
The symlink should have been created by doing
Code:
#ln -s /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/.
If you did that, then I do not see why the plugin does not work.
 
Old 04-24-2007, 04:27 PM   #12
Unr3a164
Member
 
Registered: Apr 2007
Distribution: Slackware 13.1 + Ubuntu 9.04
Posts: 143

Original Poster
Rep: Reputation: 16
Well, it doesn't. Anything else it could be?
 
  


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
Open Office Problem Neko_D Linux - Software 5 10-09-2006 03:37 PM
Java JDK 1.5.0.01 and Open Office 1.1.4 hazelnusse Linux - Software 0 01-19-2005 04:26 AM
Installation of Java runtime 1.4.1_05 for Open Office 1.1 tungsten Linux - Software 5 10-05-2003 11:37 PM
java with mozilla and open office phatish Linux - Newbie 4 09-01-2003 06:56 AM
Installing Open Office and J2RE... where is Java? bxb32001 Linux - Software 6 07-03-2002 09:54 PM


All times are GMT -5. The time now is 01:18 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 Google+: linuxquestions
Open Source Consulting | Domain Registration