-
Notifications
You must be signed in to change notification settings - Fork 360
Linux build? (simple ZIP, not DEB or RPM package) #1
Comments
edit: github ate email quoting markup, editing to add context to replies Hi, [ on plans ] There are some ideas about the Linux builds, but no concrete plans yet. [ on main part ] IANAL but think there are no legal impediments here. The main "problem" here is that building vanilla OpenJDK on Linux is not For windows, builds are still not trivial (though much less brittle than
For such requirements it may be better unpack DEB/RPM packages you I haven't tried that myself, but for CentOS/Fedora it should be enough If you'll go that "unpacking" way - please let me know the results for [ on CI ] If we narrow the scope here only to stable jdk8 releases for x86_64 - [1] -Alex |
Added Linux ZIP bundle to downloads, see announce - https://groups.google.com/d/msg/ojdkbuild/CyhLLruQF0Y/NesYKYa7AAAJ Generally this bundle is not guaranteed to work outside of CentOS. In practice CentOS 6 should be an "old enough" platform to have it's binaries "relatively portable" on other distros. Depending on what part of JDK is used, some system libraries are required. Installation of a system JDK ( Closing the issue. |
@ojdkbuild cool! Tx. Sorry I had not replied earlier. |
@ojdkbuild Thank you very much for your work! Do you have any plans for Mac Os X? |
@vorburger no problem! @desertkun no, Mac Os X is not planned. It is quite straightforward to build, and can also be built in Hackintosh VM without Apple hardware. The problem with Mac is that after Oracle JDK8 public EOL happens, Linux and Windows versions of OpenJDK 8 most probably will continue to be maintained and updated with security fixes in upstream repository by non-Oracle contributors. So I will be able to publish Windows and Linux builds here. But Mac version most probably won't be supported upstream and likely to become broken soon after EOL. I don't want to maintain it myself - so I won't build it here. |
Awesome news! Thank you very much for this! On Fri, May 27, 2016 at 6:23 AM, ojdkbuild notifications@github.com wrote:
|
@ojdkbuild Can you please share instructions how to build for Mac Os X? |
@desertkun sure, My knowledge on it may be a bit dated, but I think it is highly unlikely that anything related to Mac build environment has been changed after the jdk8 release - build platforms are usually frozen on release. Official instruction is here: https://wiki.openjdk.java.net/display/MacOSXPort/Main The only tricky part may be to setup the OS. You generally need either Mac 10.7 or 10.8. And there are the limitations for the processor types support depending on version. If you are running Haswell CPU, probably only later versions of 10.8 will work. You'll need a latest point release. On 10.8 you also need to install XQuartz (and AFAIR - run it once to init). You also need Xcode + Xcode CLI tools with a GCC as a main compiler. This is important. According to this - http://mail.openjdk.java.net/pipermail/jdk8-dev/2013-September/003159.html - jdk8 should have been switched to clang, but AFAIK that switch hasn't happen. It is probably Xcode 4.5 or 4.4 that last time it was shipped with GCC. You'll need a latest one with GCC and a CLI tools corresponding to it. All versions of Xcode are available for download for free (with registration) from Apple. You may experiment with installing different versions of Xcode+CLI to find out one with GCC, but it is better to have an OS snapshot before this because uninstalling Xcode completely can be non-trivial. After GCC version of Xcode+CLI works - the build itself is just configure+make. Some details on optional build config are in README-builds in top-level repo. You can get a cacerts file for it here - https://github.com/ojdkbuild/lookaside_ca-certificates . I don't remember details about freetype - I think it is preinstalled on Mac. You may also check this project https://github.com/hgomez/obuildfactory , it looks Mac is not built there now, but it had Mac builds for a long time and may have more info on them. |
@ojdkbuild thank you |
@ojdkbuild any new update? Thanks |
Yes, it is coming, it was not yet available when windows builds were uploaded. |
Done, this concludes 8u141 updates. Please also note, that 8u144 update, that was released after that, probably won't be released separately (going to be included into the next release in October). |
Just for the record, setup for plain ZIP 8u Linux builds was added here. See discussion about it in a maillist. |
hello, are you planning to offer a ready made Linux build, simple ZIP, not DEB or RPM package?
I'm basically looking for the equivalent of something like Oracle's jdk-8u91-linux-x64.tar.gz they put up on http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html, but OpenJDK ..
http://download.java.net/openjdk/jdk8/ only has what appears to be a very old build. And http://openjdk.java.net/install/index.html only refers to packages, but has no ZIPs for download.
I'm obviously aware of the DEB or RPM packages that are available in distro repos. For run-time servers, Docker images and the like, I do understand the advantages of auto-updates of packages for security updates etc. But for local development personally I don't much like to use the DEB or RPM packages for system wide installation, because I want full control over what of my stuff uses which of my (typically different) Java installations, so I keep them all in my ~/bin. (Or is that dumb - would you just get a DEB or RPM package from somewhere (where?), and unzip it? Do you know if there is there a deb / rpm command to just unzip what's in a package into a "normal" ~/bin structure?)
Or are there some legal reasons or something I'm not aware of (enlighten me) that this should not be done? Is the only solution here really for everyone to rebuild such a ZIP yourself? I have actually done that in the past (using someone else's scripts; I would be too dumb myself), see http://blog2.vorburger.ch/2014/06/build-your-own-jdk-at-home.html, but it just seems a bit... strange that this doesn't exist as-is out there. So upon finding that this project repo already offers a OpenJDK binary built for Windows, I'm wondering if we could perhaps add Linux to it.
Maybe we could even set-up a real continuous integration for latest nightly OpenJDK buildt ZIPs?
The text was updated successfully, but these errors were encountered: