Re: problems installing java

2003-12-07 Thread Kristian Niemi
I still don't have java working; Firebird just crashes, so I'm probably 
/not/ the best one to give any suggestions here -- *but* my first 
question to you would be, do you *have* those directories dpkg mentions, 
particularly the latter one? ;)

h: Krisse

tripolar wrote:
well back in town and trying to install java on mothers pc so she can
goto websites with java.
I first upgraded her system to sid ( because that is what mine is)
then added a site from apt-get.org for j2re1.4
did apt-get install j2re1.4
then this-
Setting up j2re1.4 (1.4.0.99beta-1) ...
update-alternatives: unable to make
/usr/lib/mozilla-cvs/plugins/javaplugin_oji.so.dpkg-tmp a symlink to
/etc/alternatives/javaplugin_oji-mozilla-cvs.so: No such
file or directory
dpkg: error processing j2re1.4 (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 j2re1.4
E: Sub-process /usr/bin/dpkg returned an error code (1)
any ideas?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-07 Thread Kristian Niemi
Heh heh ... Now I actually got it to work. The problem was the java, 
after all ...

So I uninstalled the java I had installed from sun's website, added the 
following to my sources.list

deb http://jopa.studentenweb.org/debian ./

Then apt-got j2re1.4; j2se as well as java-common got installed as well.

Then, I went to FB's plugin-folder, /usr/lib/mozilla-firebird/plugin/, 
and did `ln -s 
usr/lib/j2se/1.4/jre/plugin/i386/mozilla/javaplugin_oji.so', restarted 
FB, and lo and behold --- it worked like a charm.

h: Krisse

tripolar wrote:
having problems installing java
first using apt-get or aptitude what should I install?
2) any tricks to have konqueror, mozilla, netscape find java?
3. Any links I should set up and how?
I have main non-free  contrib in my sources.list
unstable
thanks



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-07 Thread Wayne Topa
tripolar([EMAIL PROTECTED]) is reported to have said:
 well back in town and trying to install java on mothers pc so she can
 goto websites with java.
 I first upgraded her system to sid ( because that is what mine is)
 then added a site from apt-get.org for j2re1.4
 did apt-get install j2re1.4
 then this-
 Setting up j2re1.4 (1.4.0.99beta-1) ...
 update-alternatives: unable to make
 /usr/lib/mozilla-cvs/plugins/javaplugin_oji.so.dpkg-tmp a symlink to
 /etc/alternatives/javaplugin_oji-mozilla-cvs.so: No such
 file or directory
 dpkg: error processing j2re1.4 (--configure):
  subprocess post-installation script returned error exit status 2
 Errors were encountered while processing:
  j2re1.4
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 any ideas?

I don't have /usr/lib/mozilla-cvs/plugins/ either but...

As I am running Openoffice, I wanted to install Java but the debian
version, 1.4.0.99beta-1, didn't work.  I downloaded
j2re-1_4_2-linux-i586.bin from the sun site and -it- did work in
Openoffice.  When I told Firebird where javaplugin_oji.so was, it also
worked.

:-) HTH, YMMV, HAND :-)

Wayne
-- 
No matter how much data you add to your laptop, it will not get
heavier.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-06 Thread tripolar
well back in town and trying to install java on mothers pc so she can
goto websites with java.
I first upgraded her system to sid ( because that is what mine is)
then added a site from apt-get.org for j2re1.4
did apt-get install j2re1.4
then this-
Setting up j2re1.4 (1.4.0.99beta-1) ...
update-alternatives: unable to make
/usr/lib/mozilla-cvs/plugins/javaplugin_oji.so.dpkg-tmp a symlink to
/etc/alternatives/javaplugin_oji-mozilla-cvs.so: No such
file or directory
dpkg: error processing j2re1.4 (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 j2re1.4
E: Sub-process /usr/bin/dpkg returned an error code (1)

any ideas?

On Sun, 2003-11-30 at 17:56, Greg Folkert wrote:
 On Sun, 2003-11-30 at 15:03, tripolar wrote:
  it didnt work. mom just tried to access her pogo games ,  yeah she is 
  addicted ;-)
  and got java not working error. I was trying to get it worked out for 
  her before I went out of state :-( no such luck.
  will have to try again when I get back
  thanks
 
 To /etc/apt/sources.list:
 
 deb http://jopa.studentenweb.org/debian ./
 
 Then: apt-get install j2re1.4
 
 It'll do it's magic.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-02 Thread Patrick Beard

Kristian Niemi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Thanks for the tip, but unfortunately that didn't help.

What do you get back from 'type java' (remove quotes) at the command line?




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-02 Thread Kristian Niemi
I get 'java is /usr/bin/java'.
Which I assume is as it's supposed to be.
I believe it's a case of bug #225423,
http://bugzilla.mozilla.org/show_bug.cgi?id=225423
Which has been taken care of. It's just not implemented in the current 
debian build.

Still, if you've got further suggestions, I'm all ears.

h: Krisse



Patrick Beard wrote:
Kristian Niemi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
What do you get back from 'type java' (remove quotes) at the command line?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-02 Thread Patrick Beard

Kristian Niemi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I get 'java is /usr/bin/java'.
 Which I assume is as it's supposed to be.

 I believe it's a case of bug #225423,
 http://bugzilla.mozilla.org/show_bug.cgi?id=225423
 Which has been taken care of. It's just not implemented in the current
 debian build.

Sorry for the direct reply. Hit reply instead of reply to group.

Yep that's what you should be getting.
Well that's me stumped. What I find strange is I'm using the Firebird in
sarge without any problems.

Sorry I can't help further.

--
Patrick




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-02 Thread Kristian Niemi
Might it be that sarge uses another version than sid?
(Correct me if I'm wrong, but sarge is 'testing', and sid is 'unstable', 
right?) I'm using unstable, and thus we might be using different 
versions of FB, and maybe this particular bug emerged in a *later* one. 
--A version I may happen to be using, but you have the luck not to be. ;)

This is my guess ...
Thanks for the effort though.
h: Krisse

Patrick Beard wrote:
Yep that's what you should be getting.
Well that's me stumped. What I find strange is I'm using the Firebird in
sarge without any problems.
Sorry I can't help further.

--
Patrick


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-01 Thread Patrick Beard
  Strange that it works, actually, because it *is* a bug. Firebird
  simply crashes; others have had the same problem. I believe they've
  worked out a fix for it, but ...
 
  So, wonder how come it works for you?
  ... or why it doesn't work for me...

Firebird needs jre1.4.2 or later.

Create a folder in /usr/local then download into it the latest self
extracting jre form Sun.
http://java.sun.com/j2se/1.4.2/download.html

Run the self extracting archive you just downloaded. (root required)

Create a sym link for the plugin;
ln -s
/usr/local/yourfolder/j2re1.4.2_xx/plugin/i386/ns610-gcc32/libjavaplugin_oji
.so /path to firebird plugin folder/libjavaplugin_oji.so
(Note: Its the ns610-gcc32 plugin)

If you leave it like this firebird will crash. You need to run the
following;

update-alternatives --install /usr/bin/java Java
/usr/local/yourfolder/jdk1.X/bin/java 120

Firebird should now play ball with Java

--
Patrick




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-01 Thread H. S.
Greg Folkert wrote:
On Sun, 2003-11-30 at 15:03, tripolar wrote:

it didnt work. mom just tried to access her pogo games ,  yeah she is 
addicted ;-)
and got java not working error. I was trying to get it worked out for 
her before I went out of state :-( no such luck.
will have to try again when I get back
thanks


To /etc/apt/sources.list:

deb http://jopa.studentenweb.org/debian ./

Then: apt-get install j2re1.4

It'll do it's magic.


Are Blackdown and Sun versions of Java different? I have always used Sun 
   Java (when I was using Redhat) and notice that only Blackdown has 
deb packages of a more recent version.

-HS



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-12-01 Thread Kristian Niemi
Thanks for the tip, but unfortunately that didn't help.
Firebird still crashed. I hope that it was just me being stupid, after I 
read your mail, but it still seems to be the case that it's a bug at 
work. They *have* identified some kind of bug that could have something 
to do with this, and fixed it, as far as I understood. But I don't know 
if the fix has been in a build already --- at least it's certain that 
Debian, in its present condition, doesn't have it.

Still, if you have got any more ideas -- bring 'em on! ;)

h: Krisse



Patrick Beard wrote:

Firebird needs jre1.4.2 or later.

Create a folder in /usr/local then download into it the latest self
extracting jre form Sun.
http://java.sun.com/j2se/1.4.2/download.html
Run the self extracting archive you just downloaded. (root required)

Create a sym link for the plugin;
ln -s
/usr/local/yourfolder/j2re1.4.2_xx/plugin/i386/ns610-gcc32/libjavaplugin_oji
.so /path to firebird plugin folder/libjavaplugin_oji.so
(Note: Its the ns610-gcc32 plugin)
If you leave it like this firebird will crash. You need to run the
following;
update-alternatives --install /usr/bin/java Java
/usr/local/yourfolder/jdk1.X/bin/java 120
Firebird should now play ball with Java

--
Patrick





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread Sven Hoexter
On Sun, Nov 30, 2003 at 02:56:16AM -0600, tripolar wrote:
 having problems installing java
 first using apt-get or aptitude what should I install?
 2) any tricks to have konqueror, mozilla, netscape find java?
I did the following do get the java plugin working on my
testing/unstable box:

Download:
ftp://ftp.gwdg.de/pub/languages/java/linux/JDK-1.4.1/i386/01/j2sdk-1.4.1-01-linux-i586-gcc3.2.bin

Unpack it with bash j2sdk-1.4.1-01-linux-i586-gcc3.2.bin
Move the newly created dir to /usr/local/
Include the path to the bin dir in your PATH
link the plugin into the mozilla plugin dir.

Restart mozilla and you're done.

Sven

-- 
It really sucks to give your heart to a girl
You want to know her like she knows the whole world
But 10 seconds in, it's obvious, your going nowhere...
[Bowling for Soup - Drunk Enough To Dance - I Don't Wanna Rock]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread Kristian Niemi
Well ... I don't know if there's a `debian-way' that could be used, but 
I installed it by downloading it from the web ...

From the following address, I believe: 
http://java.sun.com/j2se/1.4.2/download.html

I use Mozilla Firebird, and there I had to put a symbolic link from a 
file `from java' to Mozilla Fb's plugin-folder. I think the file was 
'/usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32'. Found out about it 
from a Mozilla.org page. I.e., for me it was done by ln -s 
/usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32 /usr/lib/mozilla-firebird/

I'd imagine Mozilla and Netscape would require a similar action; 
probably exactly the same. I haven't got a clue about konqueror though. ;)

Oh, and this shouldn't be a problem for you, since you don't use 
Firebird, but this particular build of FB that debian `has' right now 
(unstable), has a bug that doesn't allow it to show java pages. So all 
of this didn't do me any good, I'll have to wait until debian starts 
updating their 'unstable' packages again. Heh. I'd imagine Mozilla 
doesn't have a bug like this.

Krisse

tripolar wrote:
having problems installing java
first using apt-get or aptitude what should I install?
2) any tricks to have konqueror, mozilla, netscape find java?
3. Any links I should set up and how?
I have main non-free  contrib in my sources.list
unstable
thanks



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread Jiele
tripolar wrote:
having problems installing java
first using apt-get or aptitude what should I install?
2) any tricks to have konqueror, mozilla, netscape find java?
3. Any links I should set up and how?
I have main non-free  contrib in my sources.list
unstable
thanks

This is what I did.

There are some java mirror below:
http://www.blackdown.org/java-linux/mirrors.html
Add some to your source list, and you can apt-get java stuff.

There is a debian java howto somewhere, but I can't remember where it is 
now.

--
Yours sincerely,\|||/
(o o)
+---ooO--(_)--Ooo+
|  ZHANG Jiele   |
|  [EMAIL PROTECTED].oooO|
|  http://www.jiele.net (   )   Oooo.|
+\ ((   )+
  \_)) /
--  (_/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread Ismael Valladolid Torres
El domingo, 30 de noviembre de 2003, a las 02:56, tripolar escribió:
 having problems installing java

I assume you mean installing the java plug-in for your browser.

 first using apt-get or aptitude what should I install?

If you were using woody, things would be easy, just make your
sources.list point to one of www.blackdown.org mirrors, and apt-get
install j2re1.3.

As you are using sid, things get trickier. Packaged browsers are
compiled using current sid gcc version which is 3.2, where packaged
Blackdown j2re packages are still compiled using gcc 2.95, and they
simply won't work together. In this case you can download, also from
one of their mirrors, the latest tarball, this compiled using the same
gcc version sid features, but check out, you will have to RTFM in
order to install the plug-in manually.

ftp://ftp.tux.org/packages/java/JDK-1.4.1/i386/01/j2re-1.4.1-01-linux-i586-gcc3.2.bin

Remember to ldd the plug-in to check if your system lacks needed
libraries!

Lastly, if you are not running on Intel, forget about this, for the
moment. :)

Regards, Ismael
-- 
`Tout fourmille de commentaries; d'autheurs il en est grande cherté.'


signature.asc
Description: Digital signature


Re: problems installing java

2003-11-30 Thread jqdkf
On Sun, Nov 30, 2003 at 11:34:15AM +0200, Kristian Niemi wrote:
 Well ... I don't know if there's a `debian-way' that could be used, but 
 I installed it by downloading it from the web ...
 
 From the following address, I believe: 
 http://java.sun.com/j2se/1.4.2/download.html
 
 I use Mozilla Firebird, and there I had to put a symbolic link from a 
 file `from java' to Mozilla Fb's plugin-folder. I think the file was 
 '/usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32'. Found out about it 
 from a Mozilla.org page. I.e., for me it was done by ln -s 
 /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32 /usr/lib/mozilla-firebird/
 
 I'd imagine Mozilla and Netscape would require a similar action; 
 probably exactly the same. I haven't got a clue about konqueror though. ;)
 
 Oh, and this shouldn't be a problem for you, since you don't use 
 Firebird, but this particular build of FB that debian `has' right now 
 (unstable), has a bug that doesn't allow it to show java pages. So all 
 of this didn't do me any good, I'll have to wait until debian starts 
 updating their 'unstable' packages again. Heh. I'd imagine Mozilla 
 doesn't have a bug like this.
 

I use the same version as you and java works fine. Maybe you should link
libjavaplugin_oji.so to /usr/lib/mozilla-firebird/plugins/ instead of 
mozilla-firebird.

Cheers,
-- 
Zeng Nan

Simple is Beautiful.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread tripolar
Thanks to all who have helped. I downloaded java to mom's pc, unpacked 
it, moved it and created links to mozilla  netscape
Now I will wait for my mom to get up and try netscape and mozilla to see 
if it works :-)

Kristian Niemi wrote:

Well ... I don't know if there's a `debian-way' that could be used, 
but I installed it by downloading it from the web ...

From the following address, I believe: 
http://java.sun.com/j2se/1.4.2/download.html

I use Mozilla Firebird, and there I had to put a symbolic link from a 
file `from java' to Mozilla Fb's plugin-folder. I think the file was 
'/usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32'. Found out about it 
from a Mozilla.org page. I.e., for me it was done by ln -s 
/usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32 
/usr/lib/mozilla-firebird/

I'd imagine Mozilla and Netscape would require a similar action; 
probably exactly the same. I haven't got a clue about konqueror 
though. ;)

Oh, and this shouldn't be a problem for you, since you don't use 
Firebird, but this particular build of FB that debian `has' right now 
(unstable), has a bug that doesn't allow it to show java pages. So all 
of this didn't do me any good, I'll have to wait until debian starts 
updating their 'unstable' packages again. Heh. I'd imagine Mozilla 
doesn't have a bug like this.

Krisse

tripolar wrote:

having problems installing java
first using apt-get or aptitude what should I install?
2) any tricks to have konqueror, mozilla, netscape find java?
3. Any links I should set up and how?
I have main non-free  contrib in my sources.list
unstable
thanks





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread Kristian Niemi
Hmm ... Strange.

I do have it linked to .../plugins. As it should be.
Forgot to write /plugin; good that you noticed. ;)
Strange that it works, actually, because it *is* a bug. Firebird simply 
crashes; others have had the same problem. I believe they've worked out 
a fix for it, but ...

So, wonder how come it works for you?
... or why it doesn't work for me...
h: Krisse

[EMAIL PROTECTED] wrote:

I use the same version as you and java works fine. Maybe you should link
libjavaplugin_oji.so to /usr/lib/mozilla-firebird/plugins/ instead of 
mozilla-firebird.

Cheers,


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread tripolar
it didnt work. mom just tried to access her pogo games ,  yeah she is 
addicted ;-)
and got java not working error. I was trying to get it worked out for 
her before I went out of state :-( no such luck.
will have to try again when I get back
thanks

Kristian Niemi wrote:

Hmm ... Strange.

I do have it linked to .../plugins. As it should be.
Forgot to write /plugin; good that you noticed. ;)
Strange that it works, actually, because it *is* a bug. Firebird 
simply crashes; others have had the same problem. I believe they've 
worked out a fix for it, but ...

So, wonder how come it works for you?
... or why it doesn't work for me...
h: Krisse

[EMAIL PROTECTED] wrote:

I use the same version as you and java works fine. Maybe you should link
libjavaplugin_oji.so to /usr/lib/mozilla-firebird/plugins/ instead of 
mozilla-firebird.

Cheers,





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread John L. Fjellstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 30 November 2003 10:47, Sven Hoexter wrote:

 I did the following do get the java plugin working on my
 testing/unstable box:

 Download:
 ftp://ftp.gwdg.de/pub/languages/java/linux/JDK-1.4.1/i386/01/j2sdk-1.4.1-01
-linux-i586-gcc3.2.bin

Wouldn't it be safer to pick the java package up directly from sun or 
blackdown?

- -- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iEYEARECAAYFAj/J+DcACgkQkz0vhQtHHRg9JQCeIQP/5z3pE6twyLko7HIJID9b
weAAoMVIXsQlEVTdpq054YemXxOXOuFf
=AXOc
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problems installing java

2003-11-30 Thread Greg Folkert
On Sun, 2003-11-30 at 15:03, tripolar wrote:
 it didnt work. mom just tried to access her pogo games ,  yeah she is 
 addicted ;-)
 and got java not working error. I was trying to get it worked out for 
 her before I went out of state :-( no such luck.
 will have to try again when I get back
 thanks

To /etc/apt/sources.list:

deb http://jopa.studentenweb.org/debian ./

Then: apt-get install j2re1.4

It'll do it's magic.
-- 
greg, [EMAIL PROTECTED]
REMEMBER ED CURRY! http://www.iwethey.org/ed_curry


signature.asc
Description: This is a digitally signed message part