Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java 64-bit plugin from sun in 6u12 [closed]
View unanswered posts
View posts from last 24 hours

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


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Fri Dec 12, 2008 12:25 pm    Post subject: Java 64-bit plugin from sun in 6u12 [closed] Reply with quote

FINAL EDIT:
As the ebuild has hit the official portage tree, I consider this thread outdated.



Below the original message(s):
-----------------------------------------------------------------------
Hi. Sun just provided an early access binary for java 6u12 which includes a 64bit plugin for web browsers. Anyone tried that? I'm curious and can't try myself at the moment (still at work) if it really works...
http://download.java.net/jdk6/

EDIT:
Abstract for those who don't want to read the whole thread:
- JDK and JRE packages are available from the link above
- The plugin (for amd64) is called libnpjp2.so not libjavaplugin_oji.so
- Symlink libnpjp2.so to use the plugin in firefox, read https://jdk6.dev.java.net/plugin2/#INSTALLATION
- Ebuild: https://overlays.gentoo.org/proj/java/export/7270/java-experimental/dev-java/sun-jdk/sun-jdk-1.6.0.12_beta2.ebuild by geki

EDIT 2:
Beta 3 is available from sun, for changes see: http://download.java.net/jdk6/6u12/promoted/b03/changes/jdk6uN-b03.html
To emerge beta 3, rename the ebuild for beta2 and change DATE inside the ebuild to "22_dec_2008".

EDIT 3:
6u12 left the beta state yesterday (https://jdk6.dev.java.net/), hopefully it will hit the official portage tree soon...


Last edited by hoacker on Thu Feb 05, 2009 10:44 pm; edited 12 times in total
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Fri Dec 12, 2008 2:32 pm    Post subject: Reply with quote

wow. interesting news.
not built on the local machine, but at least 64bit.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Fri Dec 12, 2008 3:21 pm    Post subject: Reply with quote

why dont use icedtea?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Fri Dec 12, 2008 3:25 pm    Post subject: Reply with quote

DaggyStyle wrote:
why dont use icedtea?

I use icedtea but still some applets dont work...
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Fri Dec 12, 2008 3:39 pm    Post subject: Reply with quote

hoacker wrote:
DaggyStyle wrote:
why dont use icedtea?

I use icedtea but still some applets dont work...

what version is that?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Fri Dec 12, 2008 3:57 pm    Post subject: Reply with quote

what is the current status of icedtea in gentoo?
how much plumping is needed to get it running?
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Fri Dec 12, 2008 4:18 pm    Post subject: Reply with quote

DaggyStyle wrote:
what version is that?

icedtea6-1.3.1-r1 from java-overlay
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Fri Dec 12, 2008 4:20 pm    Post subject: Reply with quote

hoacker wrote:
DaggyStyle wrote:
what version is that?

icedtea6-1.3.1-r1 from java-overlay


you can find versions 1.7 and 1.8 in the experimental branch, maybe they support these applets
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
aplesch
n00b
n00b


Joined: 26 Feb 2004
Posts: 70

PostPosted: Fri Dec 12, 2008 5:18 pm    Post subject: where would it be ? Reply with quote

I have trouble finding a 64bit browser plugin in this latest snapshot.

I got both the jdk and the jre, eg. jdk-6u12-ea-bin-b02-linux-amd64-08_dec_2008.bin and jre-6u12-ea-bin-b02-linux-amd64-08_dec_2008.jar and unpacked them:

Code:
$ sh jdk-6u12-ea-bin-b02-linux-amd64-08_dec_2008.bin

unpacks locally after agreeing the EULA
Code:
$ unzip jre-6u12-ea-bin-b02-linux-amd64-08_dec_2008.jar
$ java -jar jre-6u12-ea-bin-b02-linux-amd64-08_dec_2008.jar

asks graphically for install dir and unpacks there.

I suppose in both cases the plugin should be in the jre*/plugin directory ?

It is not there, so where would it be ?

Andreas
_________________
Andreas
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Fri Dec 12, 2008 6:22 pm    Post subject: Re: where would it be ? Reply with quote

aplesch wrote:
I suppose in both cases the plugin should be in the jre*/plugin directory ?
It is not there, so where would it be ?


Seems the plugin is NOT included in the amd64 package while it IS included in the 32bit package.
Oh Sun, oh sun! I can't believe it!
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Fri Dec 12, 2008 7:41 pm    Post subject: Reply with quote

alex.blackbit wrote:
what is the current status of icedtea in gentoo?
how much plumping is needed to get it running?

For me icedtea did emerge without a problem. It's in the java-overlay which can be managed with layman.
1) emerge layman (if not already merged)
2) add java-overlay
3) emerge icedtea6
4) eselect icedtea as java-nsplugin
5) works (hopefully), if not have a look at the icedtea-thread in the forum


DaggyStyle wrote:
you can find versions 1.7 and 1.8 in the experimental branch, maybe they support these applets

Are there ebuilds for these versions? If yes, where can I find them? In a portage overlay?
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Fri Dec 12, 2008 9:09 pm    Post subject: Reply with quote

I think you need to unmask gcc 4.2.3 atleast

http://overlays.gentoo.org/svn/proj/java/java-experimental/dev-java/icedtea/
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Fri Dec 12, 2008 9:25 pm    Post subject: Reply with quote

DaggyStyle wrote:
I think you need to unmask gcc 4.2.3 atleast

No problem, I use 4.3.2 already.

DaggyStyle wrote:
http://overlays.gentoo.org/svn/proj/java/java-experimental/dev-java/icedtea/

Thanks, merging 1.8 right now...
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Fri Dec 12, 2008 9:44 pm    Post subject: Reply with quote

hoacker wrote:
DaggyStyle wrote:
I think you need to unmask gcc 4.2.3 atleast

No problem, I use 4.3.2 already.

DaggyStyle wrote:
http://overlays.gentoo.org/svn/proj/java/java-experimental/dev-java/icedtea/

Thanks, merging 1.8 right now...


do return and tell about your experience with that version
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Fri Dec 12, 2008 11:23 pm    Post subject: Reply with quote

I have been using openjdk-bin and have gotten rid of sun-jdk and emul-java for good. Works fine here, both the plugin and java itself.

See: https://forums.gentoo.org/viewtopic-t-717543.html
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Sat Dec 13, 2008 1:07 pm    Post subject: Reply with quote

DaggyStyle wrote:
hoacker wrote:
DaggyStyle wrote:
http://overlays.gentoo.org/svn/proj/java/java-experimental/dev-java/icedtea/

Thanks, merging 1.8 right now...

do return and tell about your experience with that version

The applet still does not work with 1.8...

devsk wrote:
I have been using openjdk-bin and have gotten rid of sun-jdk and emul-java for good. Works fine here, both the plugin and java itself.

How is OpenJDK different from IcedTea? I thought IcedTea is packaging OpenJDK but has to use a different name due to trademark reasons.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Sat Dec 13, 2008 1:17 pm    Post subject: Reply with quote

what applet it is?

I think that icedtea to openJDK is like jre to jdk
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Sat Dec 13, 2008 8:06 pm    Post subject: Reply with quote

DaggyStyle wrote:
I think that icedtea to openJDK is like jre to jdk
That's right.
Quote:
How is OpenJDK different from IcedTea?
I did not say it was different. I said I am using that and its working fine. I pointed it out because it is better to install that and get rid of sun-jdk and emul-java for good. Now, I have only one JDK in the system for java needs and firefox plugin needs. If you want to know how, just follow the link I gave.
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Mon Dec 15, 2008 5:44 pm    Post subject: Re: where would it be ? Reply with quote

aplesch wrote:
I suppose in both cases the plugin should be in the jre*/plugin directory ?


The plugin in question is jre/lib/amd64/libnpjp2.so. Symlink this to /usr/lib64/nsbrowser/plugins/javaplugin.so and the plugin works!
see https://jdk6.dev.java.net/plugin2/#INSTALLATION
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Mon Dec 15, 2008 6:16 pm    Post subject: Reply with quote

that is a jre, I'll wait for the jdk and then test it.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Mon Dec 15, 2008 6:20 pm    Post subject: Reply with quote

the guys here were talking about a 64bit browser plugin, not a jdk.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Mon Dec 15, 2008 7:56 pm    Post subject: Reply with quote

alex.blackbit wrote:
the guys here were talking about a 64bit browser plugin, not a jdk.

I know, I'll test it the minute it will be a part of jdk
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
hoacker
Guru
Guru


Joined: 04 Aug 2007
Posts: 505
Location: Bürstadt, Germany

PostPosted: Mon Dec 15, 2008 8:04 pm    Post subject: Reply with quote

DaggyStyle wrote:
alex.blackbit wrote:
the guys here were talking about a 64bit browser plugin, not a jdk.

I know, I'll test it the minute it will be a part of jdk

A jdk package is available for 6u12 which does include the plugin: http://www.java.net/download/jdk6/6u12/promoted/b02/binaries/jdk-6u12-ea-bin-b02-linux-amd64-08_dec_2008.bin. (Or am I confusing something?)
Back to top
View user's profile Send private message
Steffen
Apprentice
Apprentice


Joined: 14 Jul 2002
Posts: 159

PostPosted: Mon Dec 15, 2008 9:28 pm    Post subject: Reply with quote

Furthermore, this package contains a working javaws executable. Until now I always got the error message "javaws is not available for sun-jdk-1.6 on x86_64", but this version works fine. :)
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


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

PostPosted: Mon Dec 15, 2008 11:06 pm    Post subject: Reply with quote

hoacker wrote:
DaggyStyle wrote:
alex.blackbit wrote:
the guys here were talking about a 64bit browser plugin, not a jdk.

I know, I'll test it the minute it will be a part of jdk

A jdk package is available for 6u12 which does include the plugin: http://www.java.net/download/jdk6/6u12/promoted/b02/binaries/jdk-6u12-ea-bin-b02-linux-amd64-08_dec_2008.bin. (Or am I confusing something?)

I cannot seem to find it in there...

The i586 package has
Code:
jdk1.6.0_12/jre/plugin/i386/ns7/libjavaplugin_oji.so
jdk1.6.0_12/jre/lib/i386/libjavaplugin_jni.so

The amd64 one hast the latter one too, but that's _not_ the browser plugin..

EDIT: Wahoo I spoke too soon, there is a plugin2 in there.. jre/lib/amd64/libnpjp2.so \o/

Here goes some modified ebuild: http://gimpel.ath.cx/svn/gimpel/dev-java/sun-jdk/ - it's not even in package.use.mask for >= .12_beta2 already.
Code:
# eselect java-nsplugin list
Available 32-bit Java browser plugins
Available 64-bit Java browser plugins
  [1]   icedtea6
  [2]   sun-jdk-1.6-plugin2  current


Let's see if it's better than IcedTeaPlugin.. :)

EDIT2: Hell, it works perfect. I tested the interactive map on map24.com (doesn't work with icedtea), and that wicked http://www.musicexplorer.org thingy (no chance with icedtea either)
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay


Last edited by gimpel on Mon Dec 15, 2008 11:31 pm; edited 2 times in total
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 1, 2, 3, 4  Next
Page 1 of 4

 
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