You are not logged in.

#1 2008-04-10 03:36:55

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

64 bit Java plug-in is working with AUR packages!

I installed icedtea6 from AUR today (http://aur.archlinux.org/packages.php?ID=16290) and the web plug-in is working! Finally! A Java 6 implementation that works!The few sites I've tested so far are working great, and the plug-in is far faster than anything I ever saw Sun produce. Thanks a bunch to both mightyjaym and kite (who is doing the OpenJDK 7 version also in AUR).

Offline

#2 2008-04-10 12:20:54

gothmog.todi
Member
From: Austria
Registered: 2007-07-18
Posts: 120

Re: 64 bit Java plug-in is working with AUR packages!

wow, neat! Too bad I won't get a chance to test it 'till weekend. Any chance that somebody puts up a package for it? From past tries of openjdk/icedtea i know that it is a rather heavy build...

Last edited by gothmog.todi (2008-04-10 12:21:37)

Offline

#3 2008-04-10 12:34:32

vuboy
Member
From: Canada
Registered: 2008-03-04
Posts: 78

Re: 64 bit Java plug-in is working with AUR packages!

Installing from AUR now.
So far so good, getting dependicies in order.
Lets hope it's worth it;-)

Thanks for posting
VB

After spending some time on this the pkg fails creating a symlink to a non-existant /opt/mozilla/includes
Aparently these are in the mozilla devel pkg but I can't find it. I'm overlooking something for sure.

This is the line in the pkgbuild that cause the problem for me:

ln -sf xulrunner /opt/mozilla/include/mozilla_headers_18

I don't have that file or the includes directory on my system, how do I get them?

Thanks for any insight

VB

Last edited by vuboy (2008-04-10 15:07:53)

Offline

#4 2008-04-10 16:52:14

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

Re: 64 bit Java plug-in is working with AUR packages!

All of the Mozilla dev files are part of the package xulrunner. You may need to log out and back in again for the PATH to update after installing it.

Last edited by skottish (2008-04-10 17:00:41)

Offline

#5 2008-04-10 17:25:15

vuboy
Member
From: Canada
Registered: 2008-03-04
Posts: 78

Re: 64 bit Java plug-in is working with AUR packages!

Well, xulrunner is installed and have been for a while.
Yet I receive this error due to missing files.

ln: creating symbolic link `/opt/mozilla/include/mozilla_headers_18': No such file or directory

Many thanks
VB

Offline

#6 2008-04-10 17:40:40

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

Re: 64 bit Java plug-in is working with AUR packages!

You may want to check to see if xulrunner is your PATH. Unfortunately I'm not at a Linux box right now so I can't see what the setup is like for me.

Offline

#7 2008-04-10 18:25:22

mini
Member
Registered: 2006-12-18
Posts: 132

Re: 64 bit Java plug-in is working with AUR packages!

I had to create first 2 symbolic links

ln -s /opt/java/bin/javac /opt/java/jre/bin/javac
and
ln -s /opt/java/bin/jar /opt/java/jre/bin/jar

but again got en error

/tmp/yaourt-tmp-root/aur-icedtea6/icedtea6/src/icedtea6-1.1/bootstrap/jdk1.6.0/bin/idlj: No such file or directory
make[5]: *** [/tmp/yaourt-tmp-root/aur-icedtea6/icedtea6/src/openjdk/control/build/linux-amd64/corba/gensrc/org/omg/PortableServer/AdapterActivator.java] Error 127
make[5]: Leaving directory `/tmp/yaourt-tmp-root/aur-icedtea6/icedtea6/src/openjdk/corba/make/org/omg/sources'
make[4]: *** [build] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-root/aur-icedtea6/icedtea6/src/openjdk/corba/make/org/omg'
make[3]: *** [build] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-icedtea6/icedtea6/src/openjdk/corba/make/org'
make[2]: *** [build] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-icedtea6/icedtea6/src/openjdk/corba/make'
make[1]: *** [corba-build] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-icedtea6/icedtea6/src/openjdk/control/make'
make: *** [icedtea] Error 2
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build icedtea6 package.

Offline

#8 2008-04-10 19:40:24

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

Re: 64 bit Java plug-in is working with AUR packages!

mini, I had both jdk and jre installed to build. I first only installed jre to see if that would be enough of a build environment, and it failed. I installed the jdk next.  If you have both installed you won't need to symlink. This may be your problem.

Offline

#9 2008-04-10 22:07:46

vuboy
Member
From: Canada
Registered: 2008-03-04
Posts: 78

Re: 64 bit Java plug-in is working with AUR packages!

I can't see PATH being an issue. Xulrunner's config script is located in usr/bin which is in the PATH statement.
I'm stumped, not sure why this pkg is looking for the MOZILLA DEVEL files. Unfortunately I know to little about linux to comment further.

VB

Last edited by vuboy (2008-04-10 22:08:03)

Offline

#10 2008-04-11 00:33:25

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

Re: 64 bit Java plug-in is working with AUR packages!

vuboy wrote:

I can't see PATH being an issue. Xulrunner's config script is located in usr/bin which is in the PATH statement.
I'm stumped, not sure why this pkg is looking for the MOZILLA DEVEL files. Unfortunately I know to little about linux to comment further.

VB

I don't understand bash scripting with any real depth and I don't know what's happening at that point in the PKGBUILD. You may want to post on the AUR page with this problem if no one jumps in to help.

Offline

#11 2008-04-13 14:56:25

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

Re: 64 bit Java plug-in is working with AUR packages!

Bump...

I feel that this package should be in community. There needs to be a lot more votes on the AUR page. If you have this running and you see the benefit, please vote.

Offline

#12 2008-04-13 15:14:14

vuboy
Member
From: Canada
Registered: 2008-03-04
Posts: 78

Re: 64 bit Java plug-in is working with AUR packages!

The only way for me to get this installed was to use the binary from here:

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64

Could not get a makepkg to build.
Also it does not work in Opera.

VB

Offline

#13 2008-04-13 15:50:26

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

Re: 64 bit Java plug-in is working with AUR packages!

vuboy wrote:

The only way for me to get this installed was to use the binary from here:

[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64

Could not get a makepkg to build.
Also it does not work in Opera.

VB

Building it has been problematic for some people. That's why I believe that it should be in community.

As a side note, does any multimedia plug-in work for Opera on 64 bit for anyone?

Offline

#14 2008-04-13 16:50:21

vuboy
Member
From: Canada
Registered: 2008-03-04
Posts: 78

Re: 64 bit Java plug-in is working with AUR packages!

I see your point and agree.
But shouldn't failure to build raise a red flag so to speak?
No doubt building depends on many factors, but If I feel if I can satisfy the build parameters and still fail to build then that concerns me.

As for Opera, I'm not sure what to think of it on the Linux platform.

VB

Offline

#15 2008-04-13 16:57:29

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

Re: 64 bit Java plug-in is working with AUR packages!

vuboy wrote:

But shouldn't failure to build raise a red flag so to speak?

The build itself is fine. The problem that most are having is they're not running makepkg as root (which is rightfully frowned upon) with all of the necessary dependencies installed. The biggest hooks with this package is that it needs Java to build itself, and the symlinks it's creating aren't within the scope of Arch's build tools. Not everyone is using Sun's JDK and JRE, so it complicates the process.

Offline

#16 2008-04-15 16:28:00

zouzou85
Member
From: hopefully some where peaceful
Registered: 2007-12-25
Posts: 29

Re: 64 bit Java plug-in is working with AUR packages!

I have the same issue.
icedtea6 isn't building on my system. and i will try the french repo.
However, having a Gentoo background, it sure does concern me that I can't build the package on my system.
On gentoo i needed Gcc 4.2.3 built with gcj (java compiler) support, and both of those are available on my Archlinux box.

For a side note: I am not that familiar with the pkgbuild system, although it has similarities to gentoo's ebuild system.

Last edited by zouzou85 (2008-04-15 16:28:34)


It's nice to be in a peaceful place like this. smile

Offline

#17 2008-04-19 13:41:02

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: 64 bit Java plug-in is working with AUR packages!

woo i just installed it from the repo, and it's just what I needed!

Offline

#18 2008-04-19 23:31:14

smartcat99s
Member
Registered: 2006-03-17
Posts: 44

Re: 64 bit Java plug-in is working with AUR packages!

I had to change JAVA_HOME from /opt/java/jre to /opt/java in /etc/profile.d/jre.sh
I think the jdk profile was being sourced and then the JRE profile overwrote the jdk settings.

It was built, although it spewed a lot of fakeroot preload errors (ignored/harmless to my knowledge)


Running Folding@Home for Team 11108 - My Stats

Offline

#19 2008-04-24 15:13:24

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: 64 bit Java plug-in is working with AUR packages!

awesome. just tried to build it from aur, but failed. it bails out without giving any kind of error! weird. installed it from archlinuxfr repo and it just works. totally awesome. now I can work properly (need java applets at work)

ah the beauty of opensource (see the sun bug for the x86 pulgin request!). the best part of it is that now the jre is made to work on many arches like arm and so on. that's what the java motto 'write once run anywhere' should have been in the first place...

Last edited by lloeki (2008-04-24 15:14:51)


To know recursion, you must first know recursion.

Offline

#20 2008-04-25 07:49:14

mivo
Member
From: Germany
Registered: 2007-11-13
Posts: 34

Re: 64 bit Java plug-in is working with AUR packages!

skottish wrote:

The few sites I've tested so far are working great, and the plug-in is far faster than anything I ever saw Sun produce.

The last time I tried IcedTea in Ubuntu, Java applets with audio would not work. Did they make progress? Could you do me a favour and go to chessproblems.com and see if the problems work? That's one site that never used to work for me with anything but the original Sun browser plugin (likewise the lessons at audiogolessons.com - there are free lectures, if you want to try that for me also wink). The Java plugin is the real and only issue I have with 64-bit Linux. I use Arch on my P4 box, but currently have Ubuntu on my dual core "main" machine. I'm not overly happy with having to reinstall every six months, so I'd really love to switch this box to Arch as well, but I dread having to get the 32-bit Java stuff to work again (I also need Java webstart, which isn't available as a 64-bit version). I did that last year and it ate up time. Eventually switched the box over to Ubuntu because I couldn't get some 32-bit games to work in 64-bit Arch. But, yeah, still missing it.

Offline

#21 2008-04-25 09:18:50

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: 64 bit Java plug-in is working with AUR packages!

Java applets with audio would not work

see this FAQ


To know recursion, you must first know recursion.

Offline

#22 2008-04-29 11:28:56

mivo
Member
From: Germany
Registered: 2007-11-13
Posts: 34

Re: 64 bit Java plug-in is working with AUR packages!

Thanks for the link. So for the time being, this is no workable alternative for me, especially since I need javaws (Java WebStart) anyway, and there's no 64-bit version for it. I think my best bet is the chroot approach. It's a little out of my league, but I think I'll manage with the instructions, and it looks like the cleanest and most transparent way of running 32-bit apps on Arch64.

Thing is, in the next few days I will have to decide whether I upgrade my main workstation from Ubuntu 7.10 to 8.04 or to Arch (then both of my computers would run Arch). It'll be a fresh install in either event, since Ubuntu's distro upgrade never works flawlessly, and seeing how I much prefer the rolling release system, this might be a good opportunity to switch the box to Arch. I just need a good solution for my Java needs.

Offline

#23 2008-04-29 12:42:24

suolx
Member
From: Finland, Oulu
Registered: 2007-08-06
Posts: 29

Re: 64 bit Java plug-in is working with AUR packages!

icedtea ftw! Only problems is that dependencies usually point to basic JDK and...default should be icedtea6 imho wink

Offline

#24 2008-05-03 03:54:56

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: 64 bit Java plug-in is working with AUR packages!

I just created a dir /opt/java and symlinked it to the jdk dir in /opt and it worked !!

Offline

#25 2008-05-03 04:22:34

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

Re: 64 bit Java plug-in is working with AUR packages!

mivo wrote:

Thanks for the link. So for the time being, this is no workable alternative for me, especially since I need javaws (Java WebStart) ...

Did you try OpenJDK from AUR? I pointed people to Iced Tea for the simple reason that most 64 bit users just want applets to work in their browsers or typical Java apps to "just run". Iced Tea is more or less Java 6 although there are things missing. The development branch of Java is going to change dramatically at times, so the average user (like me right now) doesn't need it.

Last edited by skottish (2008-05-03 04:24:41)

Offline

Board footer

Powered by FluxBB