LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-13-2004, 06:07 PM   #1
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Rep: Reputation: 30
Java problems


I've been having some problems with getting java to work on mozilla-firebird.
I followed this tutorial http://jetblackz.freesite.org/InstallingJava.html but got no results.
I was just wondering if there was some nifty apt package I could download to solve this problem?
I did search for everything containing java using synaptic and installed what I thought could possibly help me without any luck.
Thanks.
 
Old 02-13-2004, 08:40 PM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
instead of this command:
Code:
ln -sf /usr/local/j2re1.4.2_03/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins/libjavaplugin_oji.so
try this:

Code:
ln -sf /path/to/j2re1.4.2_03/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /path/to/MozillaFirebird/plugins/libjavaplugin_oji.so
view these as well:
http://www.linuxquestions.org/questi...=java+firebird
 
Old 02-13-2004, 10:48 PM   #3
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
Thanks. But unfortunately I don't even a have a /path/ directory o_O.

Here's the part I'm not too sure of in the tutorial I used if someone could help me with that. Btw, I installed firebird using apt-get if that's relevant.
Quote:
1. Find the path to Mozilla executable:

which mozilla

/usr/bin/mozilla

2. Find the real path to the executable:

ls -l /usr/bin/mozilla

lrwxrwxrwx 1 root root 26 May 27 16:55 /usr/bin/mozilla ->
/usr/local/mozilla/mozilla

3. In my case, it is /usr/local/mozilla/mozilla. If yours is different, replace the following path to mozilla with the right one. Link the plug-in to mozilla's while keeping the ln in one line with a space between both plug-in's:

ln -sf
/usr/local/j2re1.4.2_03
/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
/usr/local/mozilla/plugins/libjavaplugin_oji.so
exit
Here's my output:
Code:
atheisticfaith:~# which mozilla-firebird
/usr/bin/mozilla-firebird
atheisticfaith:~# ls -l /usr/bin/mozilla-
mozilla-firebird     mozilla-thunderbird  
atheisticfaith:~# ls -l /usr/bin/mozilla-firebird 
lrwxrwxrwx    1 root     root           15 Feb 15 01:35 /usr/bin/mozilla-firebird -> MozillaFirebird
Doesn't this mean I should create a plugins directory in /usr/bin and create a symbolic link there to the libjavaplugin_oji.os in /usr/local/j2r... by the name of libjavaplugin_oji.so?
 
Old 02-13-2004, 11:03 PM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Inside the directory that holds the MozillaFirebird files, there is a directory called plugins. The java file will get linked into that directory. I don't know were that is on your system.

If you type find / | grep Firebird | grep plugins as root, that should help you find the plugins directory to firebird. (that may take a couple minutes)
 
  


Reply



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
problems with java jtravnick Linux - Software 28 08-04-2005 07:15 AM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 06:30 AM
Java problems vbguru12000 Debian 3 01-28-2005 10:12 PM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 04:12 PM
Problems with java Inexactitude Linux - Software 2 05-25-2004 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:34 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
Open Source Consulting | Domain Registration