Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 21:18:17 +0300
From:      Esa Karkkainen <ekarkkai@pp.htv.fi>
To:        freebsd-questions@FreeBSD.org
Subject:   IMHO odd behaviour with jdk-1.3.1p7 and galeon-1.2.6
Message-ID:  <20020923181817.GA20710@pp.htv.fi>

next in thread | raw e-mail | index | archive | help
Hi all

	I finally managed to compile jdk-1.3.1p7 and decided to use it
with Galeon. I checked java checkbox in Galeon's "Settings" menu,
quit Galeon and started Galeon from command line. Galeon died with
following messages:

% galeon

** CRITICAL **: file mozilla.cpp: line 134 (gboolean
mozilla_preference_set(const char *, const char *)): assertion
`new_value != NULL' failed.
INTERNAL ERROR on Browser End: Expected a version > 5! Version = 0

System error?:: No such file or directory
%

	I managed to "fix", ie Galeon starts ok and I can browse
non Java websites, the problem I had rather crudely:

# cd /usr/local/jdk1.3.1/jre/plugin/i386/ns600
# ls -l
total 2656
-rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15 libjavaplugin_oji.so*
-rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17 libjavaplugin_oji_g.so*
# mv libjavaplugin_oji.so libjavaplugin_oji.so.5
# ls -l
total 2656
-rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15 libjavaplugin_oji.so.5*
-rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17 libjavaplugin_oji_g.so*
# ln -s libjavaplugin_oji.so.5 libjavaplugin_oji.so
# ls -l 
total 2656
lrwxr-xr-x  1 root  wheel       22 Sep 23 20:32 libjavaplugin_oji.so@ -> libjavaplugin_oji.so.5
-rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15 libjavaplugin_oji.so.5*
-rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17 libjavaplugin_oji_g.so*
#

	So then I tried running some of the demos included with JDK.
None of the demos work, all they do is open a window stating:

"This page contains information of a type (application/x-java-vm) that
 can be only viewed with the approppriate Plug-in."

	And "about:plugins" shows only Default Plugin (ie
libnullplugin.so).

-- 
"In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move."
        -- Douglas Adams 1952 - 2001

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020923181817.GA20710>