Post details: OpenJDK ebuild

8 May , 2007

Permalink 21:46 UTC, by Petteri Räty Email , 75 words, 3147 views   English (US)
Categories: Gentoo, Java

OpenJDK ebuild

betelgeuse@pena ~ $ eselect java-vm list
Available Java Virtual Machines:
  [1]   blackdown-jdk-1.4.2
  [2]   ibm-jdk-bin-1.5
  [3]   kaffe
  [4]   openjdk-1.7  user-vm
  [5]   sun-jdk-1.4
  [6]   sun-jdk-1.5
  [7]   sun-jdk-1.6  system-vm
  [8]   sun-jdk-1.6.0.02
  [9]   sun-jdk-1.7

http://overlays.gentoo.org/proj/java/browser/java-experimental/dev-java/openjdk/openjdk-1.7.0.0_alpha12.ebuild

Takes me about 45 minutes to build on:

betelgeuse@pena ~ $ uname -p
Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz

Please note the word experimental in the url. Now I am off to bed for today. Have an exam in C programming coming up tomorrow.

Trackback address for this post:

http://planet.gentoo.org/developers/htsrv/trackback.php/1317

Comments, Trackbacks:

Comment from: Bo [Visitor]
Hi,

hope your exam went good.
I tried to use the ebuild (out of curiosity), but it failed.

It has a few times
> [exec] /bin/sh: /bin/ls: Argument list too long
and a
> [exec] javac: no source files

Where could I report this bug with the whole output? Bugzilla?
PermalinkPermalink 9 May , 2007 @ 18:07
Comment from: Petteri Räty [Member] Email · http://dev.gentoo.org/~betelgeuse/
Yeah another user stumbled onto this problem too. It's because amd64 has one more character than i486 so it just goes over the top. The solution is to make PORTAGE_TMPDIR shorter than the default /var/tmp/portage.
PermalinkPermalink 9 May , 2007 @ 18:24
Comment from: Bo [Visitor]
Thanks, works good up to now.
Compiling takes a lot longer on my old box :-)
PermalinkPermalink 9 May , 2007 @ 19:44
Comment from: Insanity5902 (Ryan) [Visitor] Email · http://forums.gentoo.org/viewtopic-p-4050880.html
I found a few problems, one was the arc var wasn't being set right, which now seems to be fixed,

another problem was libjli.so doesn't have the right permissions set on it, only root can read it.

I have been half-ass documenting my stuff at the thread listed as my URL. Check it out.

BTW , my T7600 cpu was able to compile it in under 30 minutes :)
PermalinkPermalink 11 May , 2007 @ 00:15
Comment from: Jeff [Visitor] Email
Has anyone succeeded in cross-compiling it for sparc? Sparc (Linux) has not had a version of Java since 1.3 or 1.4 I believe. I was getting ready to try cross compiling.
PermalinkPermalink 4 June, 2007 @ 15:45
Comment from: Petteri Räty [Member] Email · http://dev.gentoo.org/~betelgeuse/
Well it's not as simple as cross compiling I guess. Preferable the VM would work too. That means having a JIT in Hotspot for Sparc but there should be an interpreter too that the RedHat people at least are looking into.
PermalinkPermalink 4 June, 2007 @ 15:58

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Petteri Räty

May 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 48

powered by
b2evolution