Jump to content

Mozilla - annoying me


aze
 Share

Recommended Posts

  • Replies 46
  • Created
  • Last Reply

Top Posters In This Topic

look, i downloaded j2re-1_4_2_03-linux-i586-rpm.bin [13Mb]

and installed it.

 

then mozilla do no starts any more

 

$ /usr/local/mozilla/mozilla
INTERNAL ERROR on Browser End: No manager for initializing factory?

System error?:: Success

 

:evilmod::evilmod: **** javaVM

Edited by aze
Link to comment
Share on other sites

It's indeed very weird. If I were you, I will try to see if other Mozilla version (such as 1.5) or Firebird would have the same problem. But one thing, Java VM does NOT start with Mozilla, I think something could be screwed up in the plugins directory?? Anyway, I will get a new 1.6 download and re-install it, see if it helps...

Edited by zero0w
Link to comment
Share on other sites

I just switched from using Mozilla to using Firebird and Thunderbird instead. Both are working fine so far (knock on wood). I wanted to put 2 separate icons in my taskbar for mail and a browser, and also wanted to be able to reopen another browser window just by clicking on an icon in my taskbar... and without having to deal with that profile stuff. So, with one line of code added, I now don't have to worry about profiles. The below works for Firebird and Mozilla.

 

[rant]No wonder we get confused about mozilla, every mozilla offshoot uses the mozilla names. I just deleted all of my other mozilla files before installing. Also, note that Firebird stores the lock in directory called phoenix. Couldn't they have at least changed the name to firebird for consistency? [/rant]

 

I just added this line near the top of MozillaFirebird executable file.

 

rm -f /home/scott/.phoenix/default/*.slt/lock

 

so, my /usr/local/firebird/MozillaFirebird file looks like this...

 

#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL.  You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation.  Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation.  All Rights
# Reserved.
#

## $Id: mozilla.in,v 1.2 2003/07/26 07:51:05 bryner%brianryner.com Exp $
## 
## Usage:
##
## $ mozilla [args]
##
## This script is meant to run the MozillaFirebird-bin binary from either 
## mozilla/xpfe/bootstrap or mozilla/dist/bin.
##
## The script will setup all the environment voodoo needed to make
## the MozillaFirebird-bin binary to work.
##

#uncomment for debugging
#set -x

rm -f /home/scott/.phoenix/default/*.slt/lock 

moz_libdir=/usr/local/lib/mozilla-1.5
MRE_HOME=/usr/local/lib/mre/mre-1.5

# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
found=0
progname=$0
curdir=`dirname "$progname"`
run_moz="$curdir/run-mozilla.sh"
if test -x "$run_moz"; then
 dist_bin=$curdir
 found=1
else
 here=`/bin/pwd`
 while [ -h "$progname" ]; do
   bn=`basename "$progname"`
   cd `dirname "$progname"`
   progname=`/bin/ls -l "$bn" |sed -e 's/^.* -> //' `
   if [ ! -x "$progname" ]; then
     break
   fi
   curdir=`dirname "$progname"`
   run_moz="$curdir/run-mozilla.sh"
   if [ -x "$run_moz" ]; then
     cd "$curdir"
     dist_bin=`pwd`
     found=1
     break
   fi
 done
 cd "$here"
fi
if [ $found = 0 ]; then
 # Check default compile-time libdir
 if [ -x "$moz_libdir/run-mozilla.sh" ]; then
   dist_bin=$moz_libdir
 else 
   echo "Cannot find mozilla runtime directory. Exiting."
   exit 1
 fi
fi

script_args=""
moreargs=""
debugging=0
MOZILLA_BIN="MozillaFirebird-bin"

if [ "$OSTYPE" = "beos" ]; then
 mimeset -F $MOZILLA_BIN
fi

while [ $# -gt 0 ]
do
 case "$1" in
   -p | -pure)
     MOZILLA_BIN="MozillaFirebird-bin.pure"
     shift
   ;;
   -g | --debug)
     script_args="$script_args -g"
     debugging=1
     shift
   ;;
   -d | --debugger)
     script_args="$script_args -d $2"
     shift 2
   ;;
   *)
     moreargs="$moreargs \"$1\""
     shift 1
   ;;
 esac
done

export MRE_HOME
eval "set -- $moreargs"
if [ $debugging = 1 ]
then
 echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
fi
exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@"

 

and the same thing to my thunderbird executable located at /usr/local/thunderbird/thunderbird

on my machine

 

#!/bin/sh
#


rm -f /home/scott/.thunderbird/default/*.slt/lock;



# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL.  You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation.  Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation.  All Rights
# Reserved.
#

## $Id: mozilla.in,v 1.1 2003/04/05 20:52:38 mscott%netscape.com Exp $
##
## Usage:
##
## $ mozilla [args]
##
## This script is meant to run the thunderbird-bin binary from either
## mozilla/xpfe/bootstrap or mozilla/dist/bin.
##
## The script will setup all the environment voodoo needed to make
## the thunderbird-bin binary to work.
##

#uncomment for debugging
#set -x


moz_libdir=/usr/local/lib/mozilla-1.6b
MRE_HOME=/usr/local/lib/mre/mre-1.6b

# honor MOZILLA_FIVE_HOME if it's there
if [ -n "$MOZILLA_FIVE_HOME" ]; then
 dist_bin="$MOZILLA_FIVE_HOME"
else
 # Use run-mozilla.sh in the current dir if it exists
 # If not, then start resolving symlinks until we find run-mozilla.sh
 found=0
 progname=$0
 curdir=`dirname "$progname"`
 run_moz="$curdir/run-mozilla.sh"
 if test -x "$run_moz"; then
   dist_bin=$curdir
   found=1
 else
   here=`/bin/pwd`
   while [ -h "$progname" ]; do
     bn=`basename "$progname"`
     cd `dirname "$progname"`
     progname=`/bin/ls -l "$bn" |sed -e 's/^.* -> //' `
     if [ ! -x "$progname" ]; then
       break
     fi
     curdir=`dirname "$progname"`
     run_moz="$curdir/run-mozilla.sh"
     if [ -x "$run_moz" ]; then
       cd "$curdir"
       dist_bin=`pwd`
       found=1
       break
     fi
   done
   cd "$here"
 fi
 if [ $found = 0 ]; then
   # Check default compile-time libdir
   if [ -x "$moz_libdir/run-mozilla.sh" ]; then
     dist_bin=$moz_libdir
   else
     echo "Cannot find mozilla runtime directory. Exiting."
     exit 1
   fi
 fi
fi

script_args=""
moreargs=""
debugging=0
MOZILLA_BIN="thunderbird-bin"

if [ "$OSTYPE" = "beos" ]; then
 mimeset -F $MOZILLA_BIN
fi

while [ $# -gt 0 ]
do
 case "$1" in
   -p | -pure)
     MOZILLA_BIN="thunderbird-bin.pure"
     shift
   ;;
   -g | --debug)
     script_args="$script_args -g"
     debugging=1
     shift
   ;;
   -d | --debugger)
     script_args="$script_args -d $2"
     shift 2
   ;;
   *)
     moreargs="$moreargs \"$1\""
     shift 1
   ;;
 esac
done


export MRE_HOME
eval "set -- $moreargs"
if [ $debugging = 1 ]
then
 echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
fi


exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@"

 

 

Only 1 thing left that I don't like about Mozilla or Firebird and that I don't know how to fix. I want to be able to clear the URL bar with a delete dropdown just Firebird and IE work in WinXP, and not have to Select All first. I tried a plugin for this that adds a Clear, but its still not exactly what I want.

 

I really like Konqueror, but am afraid that support for Konqueror, and especially plugin support would not be as good as it is with Mozilla or Firebird, so I just use Konqueror locally for now. I also read that Konqueror wasn't as good at displaying pages as Mozilla. I haven't come across that yet, though.

Edited by bigscott
Link to comment
Share on other sites

:screwy::juggle::cheeky:

 

i know plugins can be a hassle in Mozilla, Java being probably the worst, but i don't understand why so many people let it give them fits. zero0ow explained the proper method to symlink the Java plugin to Moz. i think what might be happening, is there are conflicting instructions out there as to how to properly symlink the Java. if you do a search on that subject, you'll see what i mean. also, as has been stated, you must use the proper version of Java & gcc32 with the latest builds of Moz. if you are running MDK9.1 & have kept up to date with MDK updates, you have the correct gcc32 libs. if you are running MDK9.2, you're good to go right out of the box. i just installed Moz1.6 yesterday. i had Java (& all other plugins) working perfectly in no time. why Moz can't make an installer that includes some plugins (or, at least) a preinstalled Java package, i dunno. (the Mozilla Windows installer comes with Java!??) anywho, for anybody needing to get Java working in Mozilla1.4 & higher, here is what you need to do & you shouldn't have nary a Java headache.........

 

1. get the proper version of Java for your Mozilla build. personally, i prefer the Sun Java, but any of these will work for Mozilla1.4 & higher.... Sun JRE1.4.2_X , IBM JRE1.4.X , or Blackdown JRE1.4.X

 

2.IMPORTANT: CLOSE ANY INSTANCES OF MOZILLA!

 

3. install the Java per the installation instuctions of the version you are using.

 

4. make note of where the Java is installed. the default location should be /usr/java or /usr/lib/java

 

5. in a terminal, as ROOT, change to your Mozilla/plugins directory. if you use the default installation path for Mozilla, that should be /usr/lib/mozilla/plugins. so, as ROOT type this....

 cd /usr/lib/mozilla/plugins

 

hit enter

 

if you installed Mozilla to a different directory, then adjust that command as necessary to reflect your /mozilla/plugins path.

 

6. now, for the fun part! type the following.......

 ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

type it exactly i posted above, again, making the path reflect your /java directory.

 

hit enter

 

7. now, to assure yourself the symlink worked, while still in the /mozilla/plugins directory type

 ls

 

hit enter

 

if you were successful & did the symlink correctly, you should should see the file libjavaplugin_oji.so listed.

 

8. fire up Mozilla. to amuse & assure yourself even more, click "help" -> "about plugins". it should list your new Java plugin.

 

9. now, the acid test. go to several Java enabled websites to test your newly installed Java plugin. (several sites, 'cause Java code can vary from site to site, depending on how good or poorly the Java code was written.

 

10. enjoy your Java, drink a beer, smoke if you're so inclined, donate some money to your favourite charity, & keep these instructions in a safe place for the next time you decide to upgrade Mozilla.

 

and, here's a great tutorials for all Mozilla plugins , Java included. read it, follow the instructions therein, & you'll be good to go with Mozilla & all it's plugins.

 

:lol2:

 

Chris

Edited by chris z
Link to comment
Share on other sites

I'm running Opera 7.50 Preview 1. They changed the add to be much less anoying. I loved it! You have to struggle to find any bugs even if it's a beta! And the M2 mail client is great to.

 

You can download it here: http://snapshot.opera.com/unix/7.50-Previe...intel-linux/en/

 

Printscreen of my Opera here: http://home.broadpark.no/~gholmin/temp/opera.png

Link to comment
Share on other sites

So, if you using mozilla firebird what email client do you use?

(afaik firebird comes with no mail client)

I use Thunderbird for my email client. It's the email client that is made to work with Firebird.

 

Thanks for that opera info. It looks good, and I've heard great things about opera.

Link to comment
Share on other sites

-rwxr-xr-x    1 root  root          856 Jan 27 21:03 flashplayer.xpt*

-rwxr-xr-x    1 root  root      1470464 Jan 27 21:03 libflashplayer.so*

lrwxrwxrwx    1 root  root        61 Jan 27 22:10 libjavaplugin_oji.so -> /usr/java/j2re1.4.2_03/plugin/i586/ns610/libjavaplugin_oji.so

-rwxrwxr-x    1 8482  501      21056 Oct  7 21:00 libnullplugin.so*

 

This is what happened to me. I realized I have typed the wrong i586.

How can I fix this?

Should I do the install again? or can I just symlink again with the right path name?

Link to comment
Share on other sites

My suggestion is to do the symlink with the right path.

Better yet, I did this:

su

cd /usr/local/MozillaFirebird/plugins

ls

..........>all plugins listed here<...........

 

Then typed this:

rm -i nameofthejavafile

 

 

and removed the file I created before which is libjavaplugin_oji.so@

 

as I have given it the wrong path.

 

Then I did this:

ln -s /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

 

voila, worked like a charm.

 

Now I am able to see java, hehehe.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...