You are not logged in.

#1 2008-06-05 19:33:42

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

java firefox plugin[SOLVED]

I followed these instructions http://wiki.archlinux.org/index.php/Fla … der_plugin and I get this.
an I get this. Using 64 bit.

[root@duncan-arch Desktop]# pacman -S j2re

Warning: jre provides j2re
warning: jre-6u5-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets: jre-6u5-1  

Total Download Size:    0.00 MB
Total Installed Size:   80.63 MB

Proceed with installation? [Y/n] 
checking package integrity...
(1/1) checking for file conflicts                   [######################################################################] 100%
(1/1) upgrading jre                                 [######################################################################] 100%
The jre package is licensed software.
You MUST read and agree to the license stored in
/opt/java/jre/LICENSE before using it.
[root@duncan-arch Desktop]# ln -s /opt/java/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /opt/mozilla/lib/firefox/plugins/
ln: target `/opt/mozilla/lib/firefox/plugins/' is not a directory: No such file or directory
[root@duncan-arch Desktop]#

Last edited by Raccoon1400 (2008-06-06 01:53:58)


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#2 2008-06-05 20:23:18

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: java firefox plugin[SOLVED]

There is no official 64 bit Java plug-in for Java 6. You have to either use IcedTea or OpenJDK in AUR (also in the Arch-French repos), or set up a chroot environment. IcedTea is working great for me. There's some info in this thread:

http://bbs.archlinux.org/viewtopic.php?id=46878

Offline

#3 2008-06-05 20:58:56

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: java firefox plugin[SOLVED]

http://java.com/en/download/linux_manua … t=java.com

What about these? I installed one, but I think it needs to be linked to firefox


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#4 2008-06-05 21:20:35

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: java firefox plugin[SOLVED]

Java 7 will be the first official 64 bit Java to have the browser plug-in. You'll have to use a different solution for now.

Offline

#5 2008-06-05 21:28:30

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: java firefox plugin[SOLVED]

When's java 7 coming out?


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#6 2008-06-05 21:34:48

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: java firefox plugin[SOLVED]

It's going to be a while. At least a year. Probably more.

IcedTea is Sun's Java 6 code with GNU Classpath's web plug-in. It's being continually worked on. It works very well for me.

OpenJDK is the official development branch for Java 7. It's in heavy development and may not be stable at times.

Offline

#7 2008-06-05 22:30:59

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: java firefox plugin[SOLVED]

To install iced tea, I needed giflib from AUR. I ran makepkg -i while pacman was running, so if it failed. Now, when I try to install it, I get this.
[root@duncan-arch gif]# pacman -U ./giflib-4.1.6-3-x86_64.pkg.tar.gz

loading package data...
checking dependencies...
(1/1) checking for file conflicts                   [#####################] 100%
error: failed to prepare transaction (conflicting files)
giflib: /usr/bin/gif2epsn exists in filesystem
giflib: /usr/bin/gif2ps exists in filesystem
giflib: /usr/bin/gif2rgb exists in filesystem
giflib: /usr/bin/gif2x11 exists in filesystem
giflib: /usr/bin/gifasm exists in filesystem
giflib: /usr/bin/gifbg exists in filesystem
giflib: /usr/bin/gifburst exists in filesystem
giflib: /usr/bin/gifclip exists in filesystem
giflib: /usr/bin/gifclrmp exists in filesystem
giflib: /usr/bin/gifcolor exists in filesystem
giflib: /usr/bin/gifcomb exists in filesystem
giflib: /usr/bin/gifcompose exists in filesystem
giflib: /usr/bin/giffiltr exists in filesystem
giflib: /usr/bin/giffix exists in filesystem
giflib: /usr/bin/gifflip exists in filesystem
giflib: /usr/bin/gifhisto exists in filesystem
giflib: /usr/bin/gifinfo exists in filesystem
giflib: /usr/bin/gifinter exists in filesystem
giflib: /usr/bin/gifinto exists in filesystem
giflib: /usr/bin/gifovly exists in filesystem
giflib: /usr/bin/gifpos exists in filesystem
giflib: /usr/bin/gifrotat exists in filesystem
giflib: /usr/bin/gifrsize exists in filesystem
giflib: /usr/bin/gifspnge exists in filesystem
giflib: /usr/bin/giftext exists in filesystem
giflib: /usr/bin/gifwedge exists in filesystem
giflib: /usr/bin/icon2gif exists in filesystem
giflib: /usr/bin/raw2gif exists in filesystem
giflib: /usr/bin/rgb2gif exists in filesystem
giflib: /usr/bin/text2gif exists in filesystem
giflib: /usr/include/gif_lib.h exists in filesystem
giflib: /usr/lib/libungif.so.4 exists in filesystem

errors occurred, no packages were upgraded.
[root@duncan-arch gif]#

Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#8 2008-06-05 23:09:17

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: java firefox plugin[SOLVED]

You may have libungif installed, or a bad install of giflib. Try to uninstall both using the -Rd switch, then reinstalling giflib.

Offline

#9 2008-06-05 23:34:59

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: java firefox plugin[SOLVED]

Now I get this when I compile iced tea.

patching file openjdk/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp
patching file openjdk/hotspot/build/linux/makefiles/sparc.make
patching file openjdk/hotspot/build/linux/makefiles/gcc.make
patching file openjdk/hotspot/build/linux/makefiles/defs.make
Checking patches/icedtea-override-redirect-metacity.patch
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
Applying patches/icedtea-override-redirect-metacity.patch
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
patching file openjdk/jdk/src/solaris/classes/sun/awt/X11/XWindowPeer.java
Checking patches/icedtea-gcc-4.3.patch
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
Applying patches/icedtea-gcc-4.3.patch
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
patching file openjdk/hotspot/src/share/vm/adlc/adlc.hpp
patching file openjdk/hotspot/src/share/vm/adlc/filebuff.cpp
patching file openjdk/hotspot/src/share/vm/adlc/filebuff.hpp
patching file openjdk/hotspot/build/linux/makefiles/gcc.make
Hunk #1 succeeded at 96 (offset 2 lines).
patching file openjdk/hotspot/build/solaris/makefiles/gcc.make
patching file openjdk/jdk/make/common/Defs-linux.gmk
Hunk #1 succeeded at 140 (offset 1 line).
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
cp -r overlays/openjdk/* openjdk/ && touch stamps/overlay.stamp
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
cp: cannot create regular file `openjdk/jdk/src/share/lib/cmm/lcms/GRAY.pf': Permission denied
make: *** [stamps/overlay.stamp] Error 1
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
cp -r overlays/openjdk/* openjdk/ && touch stamps/overlay.stamp
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
cp: cannot create regular file `openjdk/jdk/src/share/lib/cmm/lcms/GRAY.pf': Permission denied
make: *** [stamps/overlay.stamp] Error 1
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
==> ERROR: Build Failed.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
    Aborting...
[duncan@duncan-arch java]$

Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#10 2008-06-05 23:42:30

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: java firefox plugin[SOLVED]

Are you building as your regular user? If so, IcedTea needs to be built as root. The symlinks it needs to create are beyond the scope of makepkg. If you don't feel like going this route, you can get a fully working binary from the French Arch Linux repos:

http://repo.archlinux.fr/x86_64/icedtea … pkg.tar.gz

Offline

#11 2008-06-06 01:32:49

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: java firefox plugin[SOLVED]

if I run
makepkg --asroot -i
then

            -bootclasspath '' @hotspot-tools-source-files.txt ; \
    else \
      /home/duncan/Desktop/java/src/icedtea6-1.2/bootstrap/jdk1.6.0/bin/javac -J-Xmx512m -g -d lib/hotspot-tools \
        -source 1.5 \
        -sourcepath rt:hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated \
        -bootclasspath '' @hotspot-tools-source-files.txt ; \
    fi
/bin/sh: line 7: /home/duncan/Desktop/java/src/icedtea6-1.2/bootstrap/jdk1.6.0/bin/javac: No such file or directory
make: *** [stamps/hotspot-tools-class-files.stamp] Error 127
if ! test -d /home/duncan/Desktop/java/src/icedtea6-1.2/bootstrap/jdk1.6.0 ; \
    then \
      /opt/java/jre/bin/javac -J-Xmx512m -g -d lib/hotspot-tools \
            -source 1.5 \
            -sourcepath rt:hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated \
            -bootclasspath '' @hotspot-tools-source-files.txt ; \
    else \
      /home/duncan/Desktop/java/src/icedtea6-1.2/bootstrap/jdk1.6.0/bin/javac -J-Xmx512m -g -d lib/hotspot-tools \
        -source 1.5 \
        -sourcepath rt:hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated \
        -bootclasspath '' @hotspot-tools-source-files.txt ; \
    fi
/bin/sh: line 7: /home/duncan/Desktop/java/src/icedtea6-1.2/bootstrap/jdk1.6.0/bin/javac: No such file or directory
make: *** [stamps/hotspot-tools-class-files.stamp] Error 127
==> ERROR: Build Failed.
    Aborting...

Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#12 2008-06-06 01:47:20

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: java firefox plugin[SOLVED]

You're getting closer... I think. Do you currently have Sun's Java stuff installed? If not, you'll need to. IcedTea needs Java to build itself. Happily the newer version will build against itself, but one thing at a time.

--EDIT--

Crap! JDK is in the make depends like of the PKGBUILD. I did have both JDK and JRE installed to build this.

Last edited by skottish (2008-06-06 01:50:52)

Offline

#13 2008-06-06 01:53:41

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: java firefox plugin[SOLVED]

I installed the prebuild one. Now java works in firefox.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#14 2009-06-02 08:57:24

eidam
Member
Registered: 2009-05-23
Posts: 3

Re: java firefox plugin[SOLVED]

hello,

sorry to bring old stuff up, but how do you actually accept the license of jdk? smile

thanks for answer

Offline

#15 2009-06-02 16:18:25

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: java firefox plugin[SOLVED]

You read it in the file they say, and nod your head and mm-hmm to their draconian policies. Or you shake your head in disgust and install OpenJDK/IcedTea. tongue

Last edited by Ranguvar (2009-06-02 16:18:45)

Offline

#16 2009-06-02 16:59:27

eidam
Member
Registered: 2009-05-23
Posts: 3

Re: java firefox plugin[SOLVED]

hah lol big_smile

ok, i'm satisfied then, i was scared of some heavy linux machinery behind this wink

Offline

Board footer

Powered by FluxBB