Slashdot Mirror


Building the JDK on Debian GNU/Linux

Ivan Tarasov writes "Ever wanted to hack the JDK sources to get rid of some nasty bug which bothered you for so long, but was embarrassed by the complexity of the JDK build process? Now you have a good tutorial on how to do it on Debian GNU/Linux: last night I posted a blog entry on how to build the JDK 6 (sources of which are available at the Peabody site). This entry describes in detail which packages you need installed, how do you tweak the sources to make them buildable and how to proceed with the build. The build process for other Linux distributions must be very similar, so don't turn away if you don't use Debian. There is also a nice blog entry by Cay Horstmann "Honey, I built the JDK! (on Ubuntu)"."

4 of 27 comments (clear)

  1. Honestly? by zBoD · · Score: 4, Funny

    > "Ever wanted to hack the JDK sources to get rid of some nasty bug which bothered you for so long, but was embarrassed by the complexity of the JDK build process?"

    => no.

    --
    BoD
  2. Re:That's all well and good, but ... by Doctor+Memory · · Score: 3, Funny

    Well, duh. You've got the source, debug it!

    Kids these days...

    --
    Just junk food for thought...
  3. Re:That's all well and good, but ... by ximenes · · Score: 3, Funny

    I just hold the hard drive up to my ear to figure out JDK problems.

  4. Re:Not the real problem by kwark · · Score: 2, Funny

    "I eventually solved this by using dpkg to build a one-on-one package from the JDK binary tree and told it to provide "java-virtual-machine, java2-runtime" and to make it conflict with: "kaffe, java1-runtime, java-compiler, fastjar, libjessie-java, java-common, gcj-4.0, ecj, ecj-bootstrap-gcj" after which I finally managed to get rid of the open source abominations once and for all."

    Why do it the easy way with make-jpkg and the alternatives system when you can do above :)