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-
  [9]   sun-jdk-1.7

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.

7 thoughts on “OpenJDK ebuild”

  1. 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?

  2. 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.

  3. Thanks, works good up to now.
    Compiling takes a lot longer on my old box 🙂

  4. I found a few problems, one was the arc var wasn’t being set right, which now seems to be fixed,

    another problem was 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 🙂

  5. 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.

  6. 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.

Comments are closed.