public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-amd64] Java on AMD64
@ 2007-09-20 19:07 Dmitri Pogosyan
  2007-09-20 19:24 ` Björn Bredohl
  2007-09-20 19:30 ` Mark Knecht
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitri Pogosyan @ 2007-09-20 19:07 UTC (permalink / raw
  To: gentoo-amd64

> On 9/20/07, Sebastian Redl <sebastian.redl@getdesigned.at> wrote:
> > Mark Knecht wrote:
> > > [ebuild  NS   ] dev-java/sun-jdk-1.6.0.02  USE="X alsa -doc -examples
> > > -jce (-nsplugin)" 0 kB
> > >
> > The flag is masked. You have to first unmask the flag if you want to
> > enable it. You should be able to do that in
> > /etc/portage/package.use.unmask if I understood the thread correctly.
> >
> > Also, for a 32-bit plugin, you need the emul-x86-java package.
> >
> > Sebastian Redl
> 
> Thanks Sebastian. I'll try it.
> 
> Really I need to go look for a Wiki page for doing this on 64-bit
> Gentoo . This machine has been running 64-bit for at least 2 years and
> this hasn't been important up until now so I'm in need of a solution
> that is really equivalent to what my wife and son have on their 32-bit
> Gentoo machines.
> 
> For a 32-bit plugin must I run a 32-bit version of Firefox? (I.e. - I
> guess firefox-bin, correct?)
> 
> If the answer is yes then, if you know, what is the process of getting
> Flash running in the same browser? Any problems? There used to be
> IIRC.
> 
> Basically, can any browser, preferably Firefox, be made functionally
> equivalent in terms of all web-based multimedia (Java, Flash, playing
> audio and video files, etc.) with the same browser running on Gentoo
> 32-bit?

Although I have 64-bit machine for years now, recently I completely switched to 32 bit 
firefox-bin, just found supporting both 64-bit and 32-bit firefoxes too much of a bother.
32-bit flash and java works OK for me.  Flash under 64-bit is I guess possible through some 
wrappers, but is a pain.

Dmitri

> 
> Thanks!
> 
> - Mark
> -- 
> gentoo-amd64@gentoo.org mailing list





-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-amd64] Java on AMD64
  2007-09-20 19:07 [gentoo-amd64] Java on AMD64 Dmitri Pogosyan
@ 2007-09-20 19:24 ` Björn Bredohl
  2007-09-20 19:30 ` Mark Knecht
  1 sibling, 0 replies; 5+ messages in thread
From: Björn Bredohl @ 2007-09-20 19:24 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

Dmitri Pogosyan schrieb:
> 
> Although I have 64-bit machine for years now, recently I completely switched to 32 bit 
> firefox-bin, just found supporting both 64-bit and 32-bit firefoxes too much of a bother.
> 32-bit flash and java works OK for me.  Flash under 64-bit is I guess possible through some 
> wrappers, but is a pain.
> 

Only java is not supported for firefox 64bit. Most other plugins are
possible with nspluginwrapper.

http://gentoo-wiki.com/HOWTO_AMD64

-Björn


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-amd64] Java on AMD64
  2007-09-20 19:07 [gentoo-amd64] Java on AMD64 Dmitri Pogosyan
  2007-09-20 19:24 ` Björn Bredohl
@ 2007-09-20 19:30 ` Mark Knecht
  2007-09-20 19:54   ` [SOLVED] " Mark Knecht
  2007-09-20 19:55   ` Björn Bredohl
  1 sibling, 2 replies; 5+ messages in thread
From: Mark Knecht @ 2007-09-20 19:30 UTC (permalink / raw
  To: gentoo-amd64

On 9/20/07, Dmitri Pogosyan <pogosyan@phys.ualberta.ca> wrote:
<SNIP>
> >
> > Basically, can any browser, preferably Firefox, be made functionally
> > equivalent in terms of all web-based multimedia (Java, Flash, playing
> > audio and video files, etc.) with the same browser running on Gentoo
> > 32-bit?
>
> Although I have 64-bit machine for years now, recently I completely switched to 32 bit
> firefox-bin, just found supporting both 64-bit and 32-bit firefoxes too much of a bother.
> 32-bit flash and java works OK for me.  Flash under 64-bit is I guess possible through some
> wrappers, but is a pain.
>
> Dmitri
>

HI Dmitri,
   That's essentially where I thought I was when I started this
thread. Mainly I use firefox-bin, currently version 2.0.0.6. Flash
seems to work fine. Yahoo Video as a test site, other places also.
Everything seems OK. good so far.

   As per what I think I've pieced together from this thread and the
forum link Bjorn point me toward I've done the following:

1) Unmasked the nsplugin flag for sun-jdk.

lightning ~ # cat /etc/portage/profile/package.use.mask
dev-java/sun-jdk -nsplugin
lightning ~ #

2) Unmasked sun-jdk

lightning ~ # cat /etc/portage/package.keywords | grep sun
dev-java/sun-jdk ~amd64
lightning ~ #

3) Built sun-jdk with nsplugin support:

lightning ~ # emerge -pv sun-jdk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-java/sun-jdk-1.6.0.02  USE="X alsa nsplugin -doc
-examples -jce" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
lightning ~ #

4) Set the java-vm both system wide and for my user account to be
sun-jdk-1.6.0.02:

lightning ~ # java-config -L
The following VMs are available for generation-2:
1)      Sun 32bit JRE 1.6.0.02 [emul-linux-x86-java-1.6]
2)      Sun JDK 1.5.0.12 [sun-jdk-1.5]
*)      Sun JDK 1.6.0.02 [sun-jdk-1.6]
4)      Sun JRE 1.6.0.02 [sun-jre-bin-1.6]
lightning ~ #

mark@lightning ~ $ java-config -L
The following VMs are available for generation-2:
1)      Sun 32bit JRE 1.6.0.02 [emul-linux-x86-java-1.6]
2)      Sun JDK 1.5.0.12 [sun-jdk-1.5]
*)      Sun JDK 1.6.0.02 [sun-jdk-1.6]
4)      Sun JRE 1.6.0.02 [sun-jre-bin-1.6]
mark@lightning ~ $

5) Attempted to choose the correct nsplugin but nothing is there for
either root or my account:

lightning ~ # eselect java-nsplugin list
Available 32-bit Java browser plugins
Available 64-bit Java browser plugins
lightning ~ #

mark@lightning ~ $ eselect java-nsplugin list
Available 32-bit Java browser plugins
Available 64-bit Java browser plugins
mark@lightning ~ $

   It seems I'm sort of stuck at this last step.

Thanks,
Mark
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SOLVED] [gentoo-amd64] Java on AMD64
  2007-09-20 19:30 ` Mark Knecht
@ 2007-09-20 19:54   ` Mark Knecht
  2007-09-20 19:55   ` Björn Bredohl
  1 sibling, 0 replies; 5+ messages in thread
From: Mark Knecht @ 2007-09-20 19:54 UTC (permalink / raw
  To: gentoo-amd64

On 9/20/07, Mark Knecht <markknecht@gmail.com> wrote:
<SNIP>
>
> 5) Attempted to choose the correct nsplugin but nothing is there for
> either root or my account:
>
> lightning ~ # eselect java-nsplugin list
> Available 32-bit Java browser plugins
> Available 64-bit Java browser plugins
> lightning ~ #
>
> mark@lightning ~ $ eselect java-nsplugin list
> Available 32-bit Java browser plugins
> Available 64-bit Java browser plugins
> mark@lightning ~ $
>
>    It seems I'm sort of stuck at this last step.

Found the Gentoo Wiki on doing Java. I did not have the
emul--linux-x86-java package installed with the nsplugin flag.
Reinstalled and now Java is working in firefox-bin.

Thanks to everyone who responded. You all are great.

Cheers,
Mark
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-amd64] Java on AMD64
  2007-09-20 19:30 ` Mark Knecht
  2007-09-20 19:54   ` [SOLVED] " Mark Knecht
@ 2007-09-20 19:55   ` Björn Bredohl
  1 sibling, 0 replies; 5+ messages in thread
From: Björn Bredohl @ 2007-09-20 19:55 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

Mark Knecht schrieb:
> 5) Attempted to choose the correct nsplugin but nothing is there for
> either root or my account:
> 
> lightning ~ # eselect java-nsplugin list
> Available 32-bit Java browser plugins
> Available 64-bit Java browser plugins
> lightning ~ #
> 
> mark@lightning ~ $ eselect java-nsplugin list
> Available 32-bit Java browser plugins
> Available 64-bit Java browser plugins
> mark@lightning ~ $
> 
>    It seems I'm sort of stuck at this last step.
> 

have you make this?

# echo "app-emulation/emul-linux-x86-java nsplugin" >>
/etc/portage/package.use
# emerge emul-linux-x86-java



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-20 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 19:07 [gentoo-amd64] Java on AMD64 Dmitri Pogosyan
2007-09-20 19:24 ` Björn Bredohl
2007-09-20 19:30 ` Mark Knecht
2007-09-20 19:54   ` [SOLVED] " Mark Knecht
2007-09-20 19:55   ` Björn Bredohl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox