Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Java on AMD64
Date: Thu, 20 Sep 2007 19:41:50
Message-Id: 5bdc1c8b0709201230ra82604fp47a295c9505e00c6@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Java on AMD64 by Dmitri Pogosyan
1 On 9/20/07, Dmitri Pogosyan <pogosyan@×××××××××××××.ca> wrote:
2 <SNIP>
3 > >
4 > > Basically, can any browser, preferably Firefox, be made functionally
5 > > equivalent in terms of all web-based multimedia (Java, Flash, playing
6 > > audio and video files, etc.) with the same browser running on Gentoo
7 > > 32-bit?
8 >
9 > Although I have 64-bit machine for years now, recently I completely switched to 32 bit
10 > firefox-bin, just found supporting both 64-bit and 32-bit firefoxes too much of a bother.
11 > 32-bit flash and java works OK for me. Flash under 64-bit is I guess possible through some
12 > wrappers, but is a pain.
13 >
14 > Dmitri
15 >
16
17 HI Dmitri,
18 That's essentially where I thought I was when I started this
19 thread. Mainly I use firefox-bin, currently version 2.0.0.6. Flash
20 seems to work fine. Yahoo Video as a test site, other places also.
21 Everything seems OK. good so far.
22
23 As per what I think I've pieced together from this thread and the
24 forum link Bjorn point me toward I've done the following:
25
26 1) Unmasked the nsplugin flag for sun-jdk.
27
28 lightning ~ # cat /etc/portage/profile/package.use.mask
29 dev-java/sun-jdk -nsplugin
30 lightning ~ #
31
32 2) Unmasked sun-jdk
33
34 lightning ~ # cat /etc/portage/package.keywords | grep sun
35 dev-java/sun-jdk ~amd64
36 lightning ~ #
37
38 3) Built sun-jdk with nsplugin support:
39
40 lightning ~ # emerge -pv sun-jdk
41
42 These are the packages that would be merged, in order:
43
44 Calculating dependencies... done!
45 [ebuild R ] dev-java/sun-jdk-1.6.0.02 USE="X alsa nsplugin -doc
46 -examples -jce" 0 kB
47
48 Total: 1 package (1 reinstall), Size of downloads: 0 kB
49 lightning ~ #
50
51 4) Set the java-vm both system wide and for my user account to be
52 sun-jdk-1.6.0.02:
53
54 lightning ~ # java-config -L
55 The following VMs are available for generation-2:
56 1) Sun 32bit JRE 1.6.0.02 [emul-linux-x86-java-1.6]
57 2) Sun JDK 1.5.0.12 [sun-jdk-1.5]
58 *) Sun JDK 1.6.0.02 [sun-jdk-1.6]
59 4) Sun JRE 1.6.0.02 [sun-jre-bin-1.6]
60 lightning ~ #
61
62 mark@lightning ~ $ java-config -L
63 The following VMs are available for generation-2:
64 1) Sun 32bit JRE 1.6.0.02 [emul-linux-x86-java-1.6]
65 2) Sun JDK 1.5.0.12 [sun-jdk-1.5]
66 *) Sun JDK 1.6.0.02 [sun-jdk-1.6]
67 4) Sun JRE 1.6.0.02 [sun-jre-bin-1.6]
68 mark@lightning ~ $
69
70 5) Attempted to choose the correct nsplugin but nothing is there for
71 either root or my account:
72
73 lightning ~ # eselect java-nsplugin list
74 Available 32-bit Java browser plugins
75 Available 64-bit Java browser plugins
76 lightning ~ #
77
78 mark@lightning ~ $ eselect java-nsplugin list
79 Available 32-bit Java browser plugins
80 Available 64-bit Java browser plugins
81 mark@lightning ~ $
82
83 It seems I'm sort of stuck at this last step.
84
85 Thanks,
86 Mark
87 --
88 gentoo-amd64@g.o mailing list

Replies

Subject Author
[SOLVED] [gentoo-amd64] Java on AMD64 Mark Knecht <markknecht@×××××.com>
Re: [gentoo-amd64] Java on AMD64 "Björn Bredohl" <bjoern@×××××××.de>