You are not logged in.

#1 2008-12-12 07:53:09

The_ouroboros
Member
From: Pavia, Italy
Registered: 2007-05-28
Posts: 140

Java SE 6 update 12 - 64-bit plugin, anyone?

A couple of weeks back our teams started to work on another significant milestone of Java SE in the 6 family - 6u12. Even though it is "just" one of the updates, it is going to bring some of the new major functionality the Java users have been asking for, for a long time. The complete list of new features will be published upon the release, but to highlight some of the ones some of you might find interesting:


    * 64-bit plugin (4802695) - allows running applets and Java WebStart applications in a 64-bit VM in a 64-bit browser on the supported platforms

    * Lightweight/heavyweight component mixing (4811096) - enables easier embedding

    * Windows Server 2008 support

Now the best part - all of these features have already been integrated in the early access builds. You can check the latest (b02) one out on the http://jdk6.dev.java.net portal, or directly at the download page - http://download.java.net/jdk6/. The plan is to publish all builds until the GA (General Availability) release, so check back often for new builds.

Give it a try and let us if you encounter any issues. The best way is through this page.

From: http://blogs.sun.com/vita/entry/java_se_6_update_12


Gnu/Linux User on Arch(x86_64)

Offline

#2 2008-12-12 08:36:19

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

I was wrong.

Birger smile

Last edited by MindTooth (2008-12-12 08:37:27)

Offline

#3 2008-12-12 23:01:43

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Hey, it actually works! Have to chmod +x the files in jre/bin. Hope someone makes this a pkgbuild soon . . . no time to learn that right now :_) I tried the plugin in Firefox (3.04 x86_64) and tried it with a jar file I had. Awesome!!

Scott

Offline

#4 2008-12-12 23:35:01

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Same here firecat, I requested a build in the ABS request forums, had trouble getting mine to work, so I installed manually but it works and that's all I care about!


Somewhere, just out of sight, the Penguins are gathering!

Offline

#5 2008-12-13 03:38:53

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Well, I have a modified PKGBUILD created, it's only for the JRE and only for x86_64 but it works.


Somewhere, just out of sight, the Penguins are gathering!

Offline

#6 2008-12-14 17:39:00

The_ouroboros
Member
From: Pavia, Italy
Registered: 2007-05-28
Posts: 140

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

when this will be integrated in arch?


Gnu/Linux User on Arch(x86_64)

Offline

#7 2008-12-14 22:20:06

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Probably when it's out of beta.


Somewhere, just out of sight, the Penguins are gathering!

Offline

#8 2008-12-15 15:38:50

iruediger
Member
Registered: 2008-12-15
Posts: 5

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

firecat53 wrote:

Hey, it actually works! Have to chmod +x the files in jre/bin. Hope someone makes this a pkgbuild soon . . . no time to learn that right now :_) I tried the plugin in Firefox (3.04 x86_64) and tried it with a jar file I had. Awesome!!

Scott

I created a symlink of jre/lib/amd64/libnpjp2.so, but it didn't work (about:plugins doesn't show any java plugin). Copying the file into the plugins directory crashes firefox when any applet is loaded.

Which files you linked in /usr/lib/mozilla/plugins?

Offline

#9 2008-12-15 15:58:08

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Here's my link if that helps: lrwxrwxrwx 1 root root 35 2008-12-12 21:30 libnpjp2.so -> /opt/java/jre/lib/amd64/libnpjp2.so, I also have a script in /etc/profile.d/jre.sh.


Somewhere, just out of sight, the Penguins are gathering!

Offline

#10 2008-12-15 17:15:14

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

$ ll .mozilla/plugins/
total 80
lrwxrwxrwx 1 firecat53 users    35 2008-12-12 17:31 libnpjp2.so -> /opt/java/jre/lib/amd64/libnpjp2.so
-rwx------ 1 firecat53 users 74912 2008-12-07 14:15 npwrapper.npica.so

$ ll /usr/lib/mozilla/plugins/
total 11400
-rwxr-xr-x 1 root root 9525320 2008-11-18 16:14 libflashplayer.so
lrwxrwxrwx 1 root root      40 2008-12-10 09:59 libnpsoplugin.so -> /opt/openoffice/program/libnpsoplugin.so
-rwxr-xr-x 1 root root  323439 2008-06-29 14:25 mplayerplug-in-dvx.so
-rwxr-xr-x 1 root root    1067 2008-06-29 14:25 mplayerplug-in-dvx.xpt
-rwxr-xr-x 1 root root  323439 2008-06-29 14:25 mplayerplug-in-gmp.so
-rwxr-xr-x 1 root root    1067 2008-06-29 14:25 mplayerplug-in-gmp.xpt
-rwxr-xr-x 1 root root  323439 2008-06-29 14:25 mplayerplug-in-qt.so
-rwxr-xr-x 1 root root    1067 2008-06-29 14:25 mplayerplug-in-qt.xpt
-rwxr-xr-x 1 root root  323439 2008-06-29 14:25 mplayerplug-in-rm.so
-rwxr-xr-x 1 root root    1067 2008-06-29 14:25 mplayerplug-in-rm.xpt
-rwxr-xr-x 1 root root  323439 2008-06-29 14:25 mplayerplug-in-wmp.so
-rwxr-xr-x 1 root root    1067 2008-06-29 14:25 mplayerplug-in-wmp.xpt
-rwxr-xr-x 1 root root  324431 2008-06-29 14:25 mplayerplug-in.so
-rwxr-xr-x 1 root root    1067 2008-06-29 14:25 mplayerplug-in.xpt
-rwxr-xr-x 1 root root  127260 2008-11-05 12:13 nppdf.so


There's all my plugins. Hope that helps! Did you remeber to chmod +x the jre/bin directory?

Scott

Offline

#11 2008-12-15 20:11:21

iruediger
Member
Registered: 2008-12-15
Posts: 5

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

I created the symlink in ~/.mozilla/plugins instead of /usr/lib/mozilla/plugins and it worked.

Thanks for the replies.

Offline

#12 2008-12-15 23:22:21

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Glad you got it working.


Somewhere, just out of sight, the Penguins are gathering!

Offline

#13 2008-12-16 11:58:45

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Hmm anyone tested on Opera?

Offline

#14 2008-12-16 13:53:27

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Opera sees the plugin, but java applets do not work for me


Mortuus in anima, curam gero cutis

Offline

#15 2008-12-16 22:28:55

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 707

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Slammer64 wrote:

Probably when it's out of beta.

And when this major release will hit [Testing]?


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#16 2008-12-17 00:40:29

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

I have created packages for this: jre_beta (that one contains the plugin) and jdk_beta:
http://aur.archlinux.org/packages.php?ID=22264
http://aur.archlinux.org/packages.php?ID=22265
They are just modified official Arch packages. No guarantees etc. but so far it's working here. I mean the plugin smile

Offline

#17 2008-12-17 19:35:03

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Attempting to tryout jre Beta.  Using first listed pkgbuild, in x86-64 , I get an error.....scriplet jre.install does not exist.

What is the procedure to obtain that item?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#18 2008-12-17 19:42:03

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

You need to take the whole tarball from the aur url above and to untar it: it includes the PKGBUILD, jre.install and jre.profile. This is the way to use the AUR in general.


Mortuus in anima, curam gero cutis

Offline

#19 2008-12-17 22:35:02

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Indeed, you need this: http://aur.archlinux.org/packages/jre_b … eta.tar.gz
Or, even better, install yaourt: http://aur.archlinux.org/packages.php?ID=5863 (http://aur.archlinux.org/packages/yaourt/yaourt.tar.gz)
and you will be able to install jre_beta (and all other packages from AUR) simply by running: yaourt -S jre_beta

Btw, the jre package in [community] should be updated to this version of Java soon.

Last edited by tanis (2008-12-17 22:35:52)

Offline

#20 2008-12-18 03:54:01

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

tanis;

My oops! for skipping the tarball, and have extracted all three items.

Ran the pkgbuild and answered yes to the license.

Now where should jre/bin directory be found?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#21 2008-12-18 05:41:35

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Why woudl you need jre/bin?
You just install it and it should work. Including the plugin.
Just like the ordinary jre package.

Offline

#22 2008-12-18 09:09:30

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

I am confused as to the data given in this thread about symlinks required.

I have not used yaourt but downloaded the tarball and extracted the three files.  Ran makep[kg and answered yes to the license.

I find no reference to a plug-in anywhere in my system for java of any kind.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#23 2008-12-18 09:20:23

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

Ignore the symlinks. Everything before my first post was about manual installation.
Those packages are in AUR so you wouldn't have to do any manual setup.
So, all you need to do is:
- remove current jre: pacman -Rd jre
  (-d option is needed, otherwise if anything uses JRE it wouldn't be possible to remove - but you will install jre_beta which provides JRE and that should be fine)
- if you have jdk, remove it as well: pacman -Rd jdk
- download the tarball
- extract it
- run 'makepkg' inside
- answer 'yes' to the license, than twice 'enter' when it asks for confirmation
- now you should have jre_beta-6u12_b02-1-x86_64.pkg.tar.gz file
- run: pacman -U jre_beta-6u12_b02-1-x86_64.pkg.tar.gz - this will install your new JRE and setup any links needed.
- repeat above for jdk_beta (if you use it and you removed it with pacman -Rd jdk)

And, as a side note, you really should try yaourt - it makes life much easier smile

Last edited by tanis (2008-12-18 09:21:49)

Offline

#24 2008-12-18 16:26:53

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

tanis;
Does yaourt run in root?

Does jre run in root?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#25 2008-12-18 22:49:54

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: Java SE 6 update 12 - 64-bit plugin, anyone?

@lilsirecho: yaourt runs as whoever you run it as. It is recommended to run it as a user. And it uses sudo to perform some tasks that need root access.

Hmm... do you know what JRE is?

Offline

Board footer

Powered by FluxBB