Reputation: 16080
I want to build my own JVM and can't find any instructions for doing it on an operating system that is still supported... like one that still receives security updates. I've found [1] very helpful, but it advises building on Fedora 11 or other operating systems from the 2009 era. What platforms are other JVM hackers using today, and are there any instructions/blogs/best practices out there somewhere for building on newer operating systems?
[1] - http://hg.openjdk.java.net/jdk7u/jdk7u4/raw-file/tip/README-builds.html
Upvotes: 0
Views: 89
Reputation: 11433
You could look at the package definitions of OpenJDK packages in any of the distributions, they all contain the necessary steps to compile it.
For example, to look at the Ubuntu package, go to the site of the source package, download the files at the bottom, extract them, apply the patch and look at the files in the debian
subdirectory (especially in debian/rules
).
For the Gentoo package, I guess the relevant ebuild is this one.
Upvotes: 1