Building the JDK on Debian GNU/Linux 27
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)"."
That's all well and good, but ... (Score:1)
Re:That's all well and good, but ... (Score:4, Funny)
Kids these days...
Re:That's all well and good, but ... (Score:4, Funny)
Re: (Score:2)
Re: (Score:2)
Honestly? (Score:4, Funny)
=> no.
GCJ (Score:3, Interesting)
Re: (Score:1)
Because the classes are generated at runtime, GCJ forces you to run these at interpreted speed and can't compare with the current hotspot VM's
Any big webapplication would be doomed unless you precompile the whole thing into a
The biggest advantage of using GCJ would probably be in the fact that you don't need to lug a whole JVM (which is around 10 Mb) for a simple application.
Re: (Score:2, Informative)
-the ahead of time compiling requires ALL sources to be compiled even though they are not needed at runtime. eg commons-cli.jar depends on commons-lang.jar in gcj as opposed to use in the Sun JVM.
-it is very slow in some areas (about 3 times slower during disk IO and md5 checksumming)
-I couldn't get it to create static binaries (dev. on Debian/unstable to run on Debian/stable), but this
License? (Score:2)
Re: (Score:3, Informative)
Amusing troll (Score:1)
"Does java still take an hour and a half to compile 'hello troll!' on my 486?
Posted by trolly troller on August 26, 2006 at 05:12 PM PDT "
Re: (Score:2)
Hopefully, Sun will choose an open source license which resolves most of these uncertainties.
Re: (Score:2)
Re: (Score:2)
Ah, ok. Can I distribute patches?
Yes, that's exactly how you get the patchsets that enable JDK builds on FreeBSD and NetBSD.
Re: (Score:2, Funny)
Why do it the easy way with make-jpkg and the alternatives system when you can do above
Re: (Score:1)
But to be honest: I don't use any java packages in any distro. Since client projects tend to be a mix and match of different versions of applications and JVMs I just install them all by hand in
Re:Not the real problem (Score:4, Informative)
e.g. Simple, no?
Sorry, it would look nicer if slashdot accepted preformatted text
Re: (Score:2)
Re: (Score:1)
Re: (Score:1)
Amen. MS = bad for having java with extensions.
GNU = good for having java with extensions.
If it's good for the goose, it's good for the gander.