Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto: IcedTea 64bit java plugin (the ugly way)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
robnotts
Guru
Guru


Joined: 15 Mar 2004
Posts: 405
Location: Nottingham, UK

PostPosted: Wed Nov 05, 2008 8:53 pm    Post subject: Reply with quote

The important bit that I missed was installing dev-java/ant-core-1.7.0* from the java-overlay. Once I'd done that I have had no problems installing icedtea6, and even openoffice. Now no longer have sun-jdk installed!
_________________
---

Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop)
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Wed Nov 05, 2008 9:16 pm    Post subject: Reply with quote

gimpel wrote:
upengan78 wrote:
Can someone please write the steps to get java/jre plugin to work with firefox in amd64

I think from the very first post in this thread a lot of things have changed and procedure *now* must be simple than mentioned in first post.

Thanks in advance..

This is the old thread about using a binary RPM from some other distro (Fedora).

So you can
a) use j79zlr's updated openjdk-bin package
or b) use geki's icedtea6 snapshots from https://forums.gentoo.org/viewtopic-t-379693.html
or c) do the PITA method and use the version in java-overlay, which pulls in at least 3 JDKs to build 1.

I prefer and use b), but a) is the fastest regarding compile time etc. c) is for guys who use their pc as a heater. :)

@ j79zlr: are you sure pkg_postinst message is still valid? I think fedora uses gcc-4.3 too meanwhile.



not that I am not thankful but looks like there is no single simple method to do this.. :)
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Wed Nov 05, 2008 9:21 pm    Post subject: Reply with quote

upengan78 wrote:
not that I am not thankful but looks like there is no single simple method to do this.. :)

Well, any of these needs you to add an overlay or copy an ebuild into your own, before typing emerge.
But that's all you need to do. The difference is how long you'll have to wait for that emerge to finish.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Thu Nov 06, 2008 10:27 pm    Post subject: Reply with quote

gimpel wrote:
upengan78 wrote:
Can someone please write the steps to get java/jre plugin to work with firefox in amd64

I think from the very first post in this thread a lot of things have changed and procedure *now* must be simple than mentioned in first post.

Thanks in advance..

This is the old thread about using a binary RPM from some other distro (Fedora).

So you can
a) use j79zlr's updated openjdk-bin package
or b) use geki's icedtea6 snapshots from https://forums.gentoo.org/viewtopic-t-379693.html
or c) do the PITA method and use the version in java-overlay, which pulls in at least 3 JDKs to build 1.

I prefer and use b), but a) is the fastest regarding compile time etc. c) is for guys who use their pc as a heater. :)

@ j79zlr: are you sure pkg_postinst message is still valid? I think fedora uses gcc-4.3 too meanwhile.


No actually I am not sure, I am using GCC 4.3 on my box and it works, if someone has either GCC 4.2 or even 4.1 to test it would be appreciated and I could adjust the ebuild as required. I just modified an old icedtea-bin ebuild to suit the new package name. I have a full howto on my site if needed: http://www.j79zlr.com/howto.php?id=63
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Fri Nov 07, 2008 3:36 pm    Post subject: Reply with quote

j79zlr wrote:
gimpel wrote:
upengan78 wrote:
Can someone please write the steps to get java/jre plugin to work with firefox in amd64

I think from the very first post in this thread a lot of things have changed and procedure *now* must be simple than mentioned in first post.

Thanks in advance..

This is the old thread about using a binary RPM from some other distro (Fedora).

So you can
a) use j79zlr's updated openjdk-bin package
or b) use geki's icedtea6 snapshots from https://forums.gentoo.org/viewtopic-t-379693.html
or c) do the PITA method and use the version in java-overlay, which pulls in at least 3 JDKs to build 1.

I prefer and use b), but a) is the fastest regarding compile time etc. c) is for guys who use their pc as a heater. :)

@ j79zlr: are you sure pkg_postinst message is still valid? I think fedora uses gcc-4.3 too meanwhile.


No actually I am not sure, I am using GCC 4.3 on my box and it works, if someone has either GCC 4.2 or even 4.1 to test it would be appreciated and I could adjust the ebuild as required. I just modified an old icedtea-bin ebuild to suit the new package name. I have a full howto on my site if needed: http://www.j79zlr.com/howto.php?id=63



hi I am trying to svn co http://j79zlr.com/portage/dev-java/openjdk-bin/ but get error
Code:
svn: Repository moved permanently to 'http://j79zlr.com/portage/dev-java/'; please relocate


this could be some simple issue, but can you help me with it ?

Thanks
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Fri Nov 07, 2008 3:42 pm    Post subject: Reply with quote

upengan78 wrote:
hi I am trying to svn co http://j79zlr.com/portage/dev-java/openjdk-bin/ but get error
Code:
svn: Repository moved permanently to 'http://j79zlr.com/portage/dev-java/'; please relocate


this could be some simple issue, but can you help me with it ?

Thanks


Doesn't really look like a Subversion DAV repository. It's plain mod_autoindex HTTP :)
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Fri Nov 07, 2008 3:48 pm    Post subject: Reply with quote

gimpel wrote:
upengan78 wrote:
hi I am trying to svn co http://j79zlr.com/portage/dev-java/openjdk-bin/ but get error
Code:
svn: Repository moved permanently to 'http://j79zlr.com/portage/dev-java/'; please relocate


this could be some simple issue, but can you help me with it ?

Thanks


Doesn't really look like a Subversion DAV repository. It's plain mod_autoindex HTTP :)


I am just following this, http://www.j79zlr.com/howto.php?id=63

what should I do now to replace svn co?
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Fri Nov 07, 2008 4:08 pm    Post subject: Reply with quote

upengan78 wrote:
I am just following this, http://www.j79zlr.com/howto.php?id=63

what should I do now to replace svn co?

Until j79zlr gets his server sorted out:
Code:
wget -r -np -nH --cut-dirs=1 -R *.html www.j79zlr.com/portage/dev-java/

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Fri Nov 07, 2008 4:16 pm    Post subject: Reply with quote

gimpel wrote:
upengan78 wrote:
I am just following this, http://www.j79zlr.com/howto.php?id=63

what should I do now to replace svn co?

Until j79zlr gets his server sorted out:
Code:
wget -r -np -nH --cut-dirs=1 -R *.html www.j79zlr.com/portage/dev-java/



thought so, thanks much !gimpel
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Sat Nov 08, 2008 2:16 am    Post subject: Reply with quote

oops, yea it is just a plain html directory, howto updated
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Sat Nov 08, 2008 6:30 pm    Post subject: Reply with quote

j79zlr wrote:
oops, yea it is just a plain html directory, howto updated



Hi

Thanks

I am following the procedure on this page.

http://www.j79zlr.com/howto.php?id=63

Are those the only steps or I need to do anything to get jre working in firefox on amd64?

I am curious because when I emerge the openjdk-bin, following lines are in the message.

Code:
-- replaced dir /usr/lib64
--- replaced sym /usr/lib/jvm/openjdk-bin-1.6
--- replaced dir /usr/lib/jvm
--- replaced dir /usr/lib
--- replaced dir /usr
 * Updating desktop mime database ...
>>> Original instance of package unmerged safely.
 * openjdk-bin-1.6.0 is a binary package, and needs gcc-4.2 to be installed and
 * set as currently active compiler whenever you want to use it!
 * This includes the browser plugin!
>>> dev-java/openjdk-bin-1.6.0 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Messages for package dev-java/openjdk-bin-1.6.0:

 * We install a Fedora binary distribution. Nothing to compile.
 * Disabling generation-1 compatibility...
 * openjdk-bin-1.6.0 is a binary package, and needs gcc-4.2 to be installed and
 * set as currently active compiler whenever you want to use it!
 * This includes the browser plugin!
 * GNU info directory index is up-to-date.


for my system :
Quote:

gcc-config -l
[1] x86_64-pc-linux-gnu-3.4.6
[2] x86_64-pc-linux-gnu-3.4.6-hardened
[3] x86_64-pc-linux-gnu-3.4.6-hardenednopie
[4] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp
[5] x86_64-pc-linux-gnu-3.4.6-hardenednossp
[6] x86_64-pc-linux-gnu-4.1.2 *
[7] x86_64-pc-linux-gnu-4.3.1


Please let me know
\Thanks
Back to top
View user's profile Send private message
bernd_b
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 148

PostPosted: Sat Nov 08, 2008 7:15 pm    Post subject: Reply with quote

I succeeded with these instructions. The only thing I added was the following line to my /etc/portage/package.use settings:

Code:
dev-java/openjdk-bin nsplugin


I use gcc 4.3:

Code:
gcc-config -l
 [1] x86_64-pc-linux-gnu-3.3.6
 [2] x86_64-pc-linux-gnu-4.3.2 *


In my next live, I reconsider using 32bit-Linux ..... :?
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Sat Nov 08, 2008 7:19 pm    Post subject: Reply with quote

upengan78 wrote:
j79zlr wrote:
oops, yea it is just a plain html directory, howto updated



Hi

Thanks

I am following the procedure on this page.

http://www.j79zlr.com/howto.php?id=63

Are those the only steps or I need to do anything to get jre working in firefox on amd64?

I am curious because when I emerge the openjdk-bin, following lines are in the message.

Code:
-- replaced dir /usr/lib64
--- replaced sym /usr/lib/jvm/openjdk-bin-1.6
--- replaced dir /usr/lib/jvm
--- replaced dir /usr/lib
--- replaced dir /usr
 * Updating desktop mime database ...
>>> Original instance of package unmerged safely.
 * openjdk-bin-1.6.0 is a binary package, and needs gcc-4.2 to be installed and
 * set as currently active compiler whenever you want to use it!
 * This includes the browser plugin!
>>> dev-java/openjdk-bin-1.6.0 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Messages for package dev-java/openjdk-bin-1.6.0:

 * We install a Fedora binary distribution. Nothing to compile.
 * Disabling generation-1 compatibility...
 * openjdk-bin-1.6.0 is a binary package, and needs gcc-4.2 to be installed and
 * set as currently active compiler whenever you want to use it!
 * This includes the browser plugin!
 * GNU info directory index is up-to-date.


for my system :
Quote:

gcc-config -l
[1] x86_64-pc-linux-gnu-3.4.6
[2] x86_64-pc-linux-gnu-3.4.6-hardened
[3] x86_64-pc-linux-gnu-3.4.6-hardenednopie
[4] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp
[5] x86_64-pc-linux-gnu-3.4.6-hardenednossp
[6] x86_64-pc-linux-gnu-4.1.2 *
[7] x86_64-pc-linux-gnu-4.3.1


Please let me know
\Thanks


That is the thing, I am not sure if it works with GCC 4.1 or 4.2. It looks like you have 4.1 as the default compiler. When you test java does it work?
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Sat Nov 08, 2008 10:13 pm    Post subject: Reply with quote

[quote="j79zlr"]
upengan78 wrote:
j79zlr wrote:
oops, yea it is just a plain html directory, howto updated



Hi

Thanks

I am following the procedure on this page.

http://www.j79zlr.com/howto.php?id=63

Are those the only steps or I need to do anything to get jre working in firefox on amd64?

That is the thing, I am not sure if it works with GCC 4.1 or 4.2. It looks like you have 4.1 as the default compiler. When you test java does it work?



I just see a white box when I test, I know it should not be look like that but show my java version in that box.

I wonder what can I do to get this(jre) working.
Back to top
View user's profile Send private message
Pyrates
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 97

PostPosted: Sun Nov 23, 2008 2:08 pm    Post subject: Reply with quote

Ok, I did this, small info for whoever-is-interested: gcc-4.3.2 works as well. Mostly.

I have trouble with map24.com. If I search for e.g. Muenster, there's a map of Europe shown with the possible locations, but after some seconds it's just white and says "Wait for applet to be loaded", which stays. Here's the output from the command line of firefox:

Code:
NOT IMPLEMENTED: virtual nsresult IcedTeaPluginInstance::Stop()
NOT IMPLEMENTED: virtual nsresult IcedTeaPluginInstance::Start()
Jar string: map24portal_2006_NT_EUROPE_3.5_en-DE.zip
jars length: 1
JNLPRuntime already initialized
IcedTeaPlugin.cc:4214: Error: ToString
NOT IMPLEMENTED: virtual nsresult IcedTeaPluginInstance::Start()
Jar string: map24portal_2006_NT_EUROPE_3.5_en-DE.zip
jars length: 1
JNLPRuntime already initialized


Can anybody tell me what's wrong?

Also, http://www.java.com/en/download/help/testvm.xml confirms java is working (with an ugly font, btw ^^), but says it's outdated. They have download links for 64-Bit version, should one try to make use of that?

Anyways, thanks for java on firefox on 64 bit :)

(e) Also, another question: This is quite some hazzle, I do have a bunch of masked packages on my system now, which isn't really what I'd usually do. Isn't there an easier way to get java working in firefox 3? I probably wouldn't mind using a 32-bit wrapped version. There's lots of info out there, but it's hard to judge what's outdated and what's the way to go.
_________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Thu Nov 27, 2008 2:34 pm    Post subject: Reply with quote

The interactive map on map24.com doesn't seem to work with IcedTeaPlugin (yet), so just click "Map: static" next to the logo on the top of the page.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Fri Nov 28, 2008 1:17 am    Post subject: Reply with quote

Yea, its definitely not perfect but it seems to work about 50% of the time. I had no better success with the icedtea plugin.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum