Code Monkey home page Code Monkey logo

ojdkbuild's Introduction

Project is discontinued, see official OpenJDK organization on GitHub here: https://github.com/openjdk

Build Status

Downloads for Windows x86_64

Note: obsolete downloads are available at the bottom of this page

Other downloads

Windows x86 (issue)

Linux x86_64 (details)

Linux ARM32

About

Note: official OpenJDK organization on GitHub is here: https://github.com/openjdk

This project provides binaries built using source code of LTS versions of OpenJDK (and its dependencies) from CentOS project.

Windows binaries are built with an attempt to keep them as close as possible in behaviour to java-x-openjdk CentOS packages.

Info links:

FAQ

Question 1:

  • Q: Will Red Hat, Inc. provide any technical support for the binaries distributed through this project?
  • A: No.

Question 2:

  • Q: Is this project endorsed by upstream OpenJDK project?
  • A: No.

Question 3:

  • Q: Will any questions about the TCK be answered (regarding this project)?
  • A: No.

Update schedule

Builds are going to be updated once in three months after each corresponding Vulnerability Update release for upstream OpenJDK.

How to build

See HowToBuild wiki page.

Mailing list

To see the collection of prior postings to the list, visit the ojdkbuild Archives.

To subscribe to the list, send email to: [email protected]

To post a message to all the list members, send email to: [email protected]

License

OpenJDK binaries are released under the GNU GPL v. 2 with classpath exception.

Project icon is taken from Nuvola icon set, it is released under the GNU LGPL v. 2.1.

Build scripts are released under the Apache License 2.0.

Other sources and binaries in this project (cygwin, freetype etc.) are released under their corresponding licenses.

Changelog

2022-05-04

  • 1.8.0.332-1 build
  • 11.0.15.9-1 build
  • 17.0.3.0.6-1 build

2022-01-29

  • 1.8.0.322-1 build
  • 11.0.14.9-1 build
  • 17.0.2.0.8-1 build

2021-11-08

  • 1.8.0.312-1 build
  • 11.0.13.8-1 build
  • 17.0.1.0.12-1 build

2021-08-02

  • 1.8.0.302-1 build
  • 11.0.12.7-1 build

2021-05-10

  • 1.8.0.292-1 build
  • 11.0.11.9-1 build

2021-01-25

  • 1.8.0.282-1 build
  • 11.0.10.9-1 build

2020-10-15

  • 1.8.0.275-1 build
  • 11.0.9.11-2 (11.0.9.1+1) build

2020-08-31

  • 1.8.0.265-1 build
  • 11.0.8-1 build
  • 13.0.4-1 build
  • 14.0.2-1 build

2020-04-23

  • 1.8.0.252-2 build
  • 11.0.7-1 build
  • 13.0.3-1 build
  • 14.0.1-1 build

2020-01-18

  • 1.8.0.242-1 build
  • 11.0.6-1 build
  • 13.0.2-1 build

2019-12-10

  • 1.8.0.232-2 build
  • 11.0.5-2 build
  • 13.0.1-2 build

2019-08-05

  • 1.8.0.222-2 build

2019-07-22

  • 1.8.0.222-1 build
  • 11.0.4-1 build
  • 12.0.2-1 build

2019-04-24

  • 1.8.0.212-1 build
  • 11.0.3-1 build
  • 12.0.1-1 build

2019-01-25

  • 1.8.0.201-1 build
  • 11.0.2-1 build

2018-10-26

  • 11.0.1-1 build

2018-10-21

  • 1.8.0.191-1 build

2018-07-28

  • 1.8.0.181-1 build
  • 10.0.2-1 build

2018-04-24

  • 1.8.0.171-1 build
  • 10.0.1-1 build

2018-01-28

  • 9.0.4-1 build

2018-01-24

  • 1.8.0_161-1 build

2017-11-01

  • 1.8.0_151-1 build
  • 9.0.1-1 build

2017-07-21

  • 1.8.0_141-1 build

2017-06-23

  • OpenJFX experimental binaries

2017-04-23

  • 1.8.0_131-1 build

2017-03-30

  • 1.8.0_121-2 build

2017-03-02

  • 9-ea-b154-1 build

2017-02-28

  • 32-bit build

2017-01-30

  • 1.8.0_121-1 build

2016-12-18

  • 1.8.0_111-3 build

2016-10-20

  • 1.8.0_111-1 build

2016-09-17

  • 1.8.0_102-2 build

2016-08-12

  • 1.8.0_102-1 build

2016-07-22

  • 1.8.0_101-1 build

2016-05-27

  • 1.8.0_91 Linux bundle added

2016-05-17

  • 1.8.0_91-3 build
  • MSI installer

2016-04-26

  • 1.8.0_91-2 build

Obsolete downloads for Windows x86_64

Other obsolete downloads

Windows x86 (issue)

Linux x86_64 (issue)

Linux ARM32

ojdkbuild's People

Contributors

acornett avatar akashche avatar daudo avatar ojdkbuild avatar stooke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ojdkbuild's Issues

Unable to install *.msi on Windows

Msiexec version: V 4.5.6001
Windows version: 5.1.2600 (XP)

Error message: This installer packet is not supported on this Platform. Please contact [...]

Persistent Path to java.exe / javaws.exe

While installing Oracles JRE a few new folder will be created, one of them is C:\Program Files\Common Files\Oracle\Java\javapath
javapath itself seems to be junction to C:\Program Files\Common Files\Oracle\Java\javapath_target_ where you can find a copy of java.exe, javaw.exe and javaws.exe.
To make is easier for people I often create shortcuts (e.g. via GPO) on the public-desktop like ":\Program Files\Common Files\Oracle\Java\javapath\javaws.exe http://example.com/example.jnlp"
This worked great so far.

While installing the ojdkbuild there is no similar path created, so I am a bit puzzled how to create persistent shortcuts.
I know I can use the path-entry, so "javaws.exe http://example.com/example.jnlp" could work, if there is no Oracles JRE installed at the same time (maybe you noticed, that oracle "rearranged" the path-variables, so Oracles JRE is on position 1, the ojdkbuild-path wouldn't work).
I also could use "%JAVA_HOME%\webstart\javaws.exe http://example.com/example.jnlp", but have to beg, that no one changed this variable.
Is there a better way to figure out the path to javaws.exe?
Or could you maybe create similar folders to java.exe and javaws.exe like Oracle did?

Q: msi command line options

Hi,
hope it is not a stupid question: but how can I install your msi packages without user interaction and installing the webstart option?
as far as I know there are command line parameters to e.g. install optional features.
maybe a wiki-entry would be a good idea :)

FreeType bundling in Linux builds

Following the question about the Alpine from #44 , it appeared that libfreetype.so is not included with Linux builds. Need to check whether it is possible to bundle freetype without breaking font-related functionality.

Warnings in javafx.base cause the build to fail

I have a problem when building OpenJDK 9 with OpenJFX as an import module. Compiling OpenJFX alone works fine, as well as compiling OpenJDK alone, but when using --with-import-modules to add OpenJFX when compiling the JDK, the following errors occur.

c:\Users\Administrator\[path-shortened]\openjfx-9-32\modular-sdk\modules_src\javafx.base\com\sun\javafx\PlatformUtil.java:219: warning: [rawtypes] found raw type: Class
            Class theClass = PlatformUtil.class;
            ^
  missing type arguments for generic class Class<T>
  where T is a type-variable:
    T extends Object declared in class Class
error: warnings found and -Werror specified

There are about 100 of this warning in total, followed by these lines.

1 error
100 warnings
/usr/bin/cp: cannot create regular file ‘/cygdrive/c/Users/Administrator/Documents/ojdkbuild/build/java-9-openjdk/make-support/failure-logs/jdk_modules_javafx.base__the.javafx.base_batch.log’: No such file or directory
CompileJavaModules.gmk:621: recipe for target '/cygdrive/c/Users/Administrator/Documents/ojdkbuild/build/java-9-openjdk/jdk/modules/javafx.base/_the.javafx.base_batch' failed
make[3]: *** [/cygdrive/c/Users/Administrator/Documents/ojdkbuild/build/java-9-openjdk/jdk/modules/javafx.base/_the.javafx.base_batch] Error 1
make[2]: *** [javafx.base-java] Error 1

ERROR: Build failed for targets 'clean images' in configuration '/cygdrive/c/Users/Administrator/Documents/ojdkbuild/build/java-9-openjdk' (exit code 2)
Stopping sjavac server
----- Build times -------
Start 2018-01-22 11:41:40
End   2018-01-22 11:48:47

00:07:07 TOTAL
-------------------------

=== Make failed targets repeated here ===
CompileJavaModules.gmk:621: recipe for target '/cygdrive/c/Users/Administrator/Documents/ojdkbuild/build/java-9-openjdk/jdk/modules/javafx.base/_the.javafx.base_batch' failed
make/Main.gmk:198: recipe for target 'javafx.base-java' failed
=== End of repeated output ===

Hint: Try searching the build log for the name of the first failed target.
Hint: See common/doc/building.html#troubleshooting for assistance.

/cygdrive/c/Users/Administrator/Documents/ojdkbuild/lookaside/java-9-openjdk/make/Init.gmk:291: recipe for target 'main' failed
make[1]: *** [main] Error 1
/cygdrive/c/Users/Administrator/Documents/ojdkbuild/lookaside/java-9-openjdk/make/Init.gmk:185: recipe for target 'clean' failed
make: *** [clean] Error 2
+ exit 2

C:\Users\Administrator\Documents\ojdkbuild\build>if 0 NEQ 1 exit /b 1
NMAKE : fatal error U1077: 'C:/WINDOWS/System32\cmd.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\Users\Administrator\Documents\ojdkbuild\tools\toolchain\vs2013e\VC\Bin\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\Users\Administrator\Documents\ojdkbuild\tools\toolchain\vs2013e\VC\Bin\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\Users\Administrator\Documents\ojdkbuild\tools\toolchain\vs2013e\VC\Bin\nmake.exe' : return code '0x2'
Stop.

For me it looks like the warnings are handled as errors and therefore the build fails.

What I've already tried

  1. Adding --disable-warnings-as-errors to the configure call
  2. Trying to find the file where the parameter -Werror is specified
  3. Adding -Xlint:none to the global JAVA_OPTIONS variable
  4. Making sure that the debug level is release and HS debug level is product (whatever that means)
  5. Using the Not using the dev-rt branches

Does anyone have an idea what causes this problem, how so solve it, or where I could continue searching?

Cheers, Adrian

Unable to load ZIP library when running ojdkbuild 8 on Windows through procrun

When running an application on OpenJDK 8 using procrun (Apache Commons Daemon) the process crashes with this error:
Unable to load ZIP library: C:\Program Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.161-1\jre\bin\zip.dll.

I tested with several procrun versions (64bit and 32bit), and zip (32 and 64 bit) and msi (64 bit) builds of ojdkbuild.

Windows - association with .jar file is missing

When installing OpenJDK on Windows, the installer does not configure .jar association in Windows.
So we cannot launch a jar file from the explorer (just by cmd)

openjdk version "1.8.0_161-1-ojdkbuild"
OpenJDK Runtime Environment (build 1.8.0_161-1-ojdkbuild-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
Windows 7 64bit

java-1.8.0-openjdk-1.8.0.151-1.b12.ojdkbuild.windows.x86: net.dll file is deleted

Steps to reproduce:

  1. Install java-1.8.0-openjdk-1.8.0.151-1.b12.ojdkbuild.windows.x86.
  2. Go to directory jre\bin and notice that there are 64 items, one of which is the file net.dll.
  3. Use maven to do a build (of any random project): mvn clean install
  4. Notice that maven ends with this message: Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\java-1.8.0-openjdk-1.8.0.151-1.b12.ojdkbuild.windows.x86\jre\bin\net.dll: Access is denied
  5. Go to directory jre\bin and notice that there are now 63 items and the file net.dll has been deleted.
    Attached is the complete output from the mvn clean install.

out.txt

Debug symbols

Hey,

could you please provide debug symbols within the build?

Give this repository a bit more of an "official" flair

I stumbled upon this repository through Google, via this Stack Overflow answer:
https://stackoverflow.com/a/13801660/521799

Right now, I really cannot trust this "ojdkbuild" entity, nor the distribution offered here. I have no way to be sure this isn't full of malware. If this is something official or semi-official Red Hat (which is what it looks like), then it would be great if:

  • The Red Hat brand would be placed more prominently
  • This repository would be prominently linked from Red Hat webpages
  • There would be a wiki explaining the motivation of this repository

In short, I would love for this repository to look a bit more professional, as this is the top OpenJDK distribution found on Google right now.

Add Mac OS X build

Could it be possible to add a build targeting Mac OS X as well? This would be great..

WebStart shell integration broken after update with reboot

Just for the record, creating an issue reported on a maillist, copying from there:

I have been able to reproduce a javaws file association problem: I was updating ojdkbuilt from u171 to u181 and forgot a web start application running in the background. This caused the installer to complain that it has to reboot the machine (which I did). Afterwards the software had been installed (and the old version removed) however in the JNLPFile and jnlp(s) class entries the shell command was not updated.

Compact Profile

I want to build compact profile instead of full JRE.
How could i customize the build process for Windows environment?

macOS Build

I can see that there is only Windows in this repository and that there are other repos for Linux. Is there going to be a build for macOS as well?

Also: does the Linux build work with Alpine?

Thanks!

“Windows protected your PC”

Hey there!

Thank you so much for creating and maintaining this project and openJDK builds for Windows!

I was wondering if it is possible to generate *.msi files that won’t produce such alarming messages when starting:

windows-15-openjdk-windows-protected

By the way, if I proceed to the last step of the installer, it asks again: “Do you want to allow this app from unknown publisher to make changes to your device?”:

windows-21-openjdk-confirming-install

The problem seems that the installer binaries are not signed with proper publishing key.

Do you think that problem can be solved easily?

Thanks,
~Oleksii

FR: add auto-updater to msi builds

I do wonder why I didn't see any reference to this topic yet, maybe I've not seen something and it can be directly closed...

It would be nice to be optionally able to use an auto-update mechanism like Oracle Java SE has, maybe polling the repo https://developer.github.com/v3/repos/releases/, querying the matching Java version and if it is newer download the artifact (depending on the user's setting).

The missing updater was the reason for "No, we don't use OpenJDK builds but Oracle Java; people are more likely to accept an update when prompted then to manually replace an existing version".

x86_64 msi installer fails with error code 2932

Tested using java-10-openjdk-10.0.2-1.b13.ojdkbuild.windows.x86_64.msi

Event Viewer

Product: OpenJDK 1.10.0_2-1-ojdkbuild -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2932. The arguments are: C:\Users\Austin.W\AppData\Roaming\Microsoft\Installer\{8F611211-D457-40B6-8765-7404372C9BDC}\_b0950439_e1e2_4172_b679_40b6604c2d50, 5,

OS version

Windows 10 (1803)

Java 10

Are there any plans to provide a pre-release Windows build of Java 10 with debug symbols here?

JNLP support aka Webstart in openjdk ?

according to the wiki, JNLP support/webstart should be included since 8_151 but I cannot find any traces of it in java-1.8.0-openjdk-1.8.0.151-1.b12.ojdkbuild.windows.x86_64.zip or java-1.8.0-openjdk-1.8.0.181-1.b13.ojdkbuild.windows.x86_64.zip. There is neither a javaws.{bat,cmd,exe} nor netx.jar.

Following some recipes in Chap. 7 of the OpenJDK cookbook, I succeeded in getting something like itweb-settings GUI and was able to start a local jnlp file, but my scripts for starting both are very crude and ad hoc hacks, so I tried to look for better ones from the ojdkbuild. Sorrily I could not find anything in the 8_151/8_181 zip archives.

javaws error message

When starting javaws.exe with no argument a error screen is shown. First of all the error is rather missleading ("ojdkbuild WebStart was unable to start Java VM"). The actual reason ("No arguments specified") is hidden.

I think for this specific case a more specific error message should be shown and more generally the error dialog should be more like "ojdkbuild WebStart problem" or similiar (less JVM specific).

image

Another thing, the linked Wiki page refers to the RedHat log folder. However for the ojdkbuild disctribution he log fiels are found in the odjkbuild directory instead. Maybe RedHat build should point to a different page?

[Q/I] Proxy support with ojdkbuild and Icedtea-Web

Hello,

I'm currently playing around with ojdkbuild in a somewhat closed environment which requires a HTTP proxy to connect to the internet. In case someone else looks for info about this topic here my current findings for reference.

Question: Is there any other location for a global deployment.properties/JavaWS configuration?


Proxy support and ojdkbuild

Global connection settings are stored in <InstallPath>\java-<Version>\jre\libnet.properties. The file is created during installation. You can either use the system proxy (java.net.useSystemProxies=true) or use the manual settings. Keep in mind manual settings must be separately set for http, https and ftp.

Proxy support and Icedtea-Web

Icedtea-Web doesn't use the global JRE configuration. The corresponding configuration file is located in the users AppData (e.g. C:\Users\<Username>\AppData\Local\ojdkbuild\java-<Version>\webstart\.config\icedtea-web\deployment.properties). A manual configuration looks like this:

deployment.proxy.http.host=my.proxy.company.local
deployment.proxy.bypass.local=true
deployment.proxy.same=true
deployment.proxy.type=1
deployment.proxy.http.port=1080

JRE packages

I've patched the build process to optionally also produce JRE packages.
Are you interested in a PR?

OpenJDK can't support render text with rotation for DBCS fonts

OpenJDK has bug on DBCS fonts’ support: it can’t support to render text with rotation for the fonts like: MingLiu, HeiT, MS PGothic, MS PMincho, Batang and Gulim.

Because I am not able to enter bug in the offical OpenJDK website, I am entering bug here to see if you could help to help to redirect this problem to a proper guy to handle it. Thanks a lot!

Below is the sample code to reproduce the problem:

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.File;

import javax.imageio.ImageIO;

public class TestFontRender {

private static final String IMAGE_TYPE="png";
// You may need to change the filepath below in order to save the image in proper path.
private static final String IMAGE_FILEPATH="c:\fontRender_openjdk.png";

/**
 * @param args
 */
public static void main(String[] args) {

    TestFontRender code = new TestFontRender();
    BufferedImage bufferImage = code.getImage();
    code.saveImage(bufferImage, IMAGE_TYPE, IMAGE_FILEPATH);
}

public BufferedImage getImage() {
    int width = 800;
    int height = 600;
    int degree = -90;
    BufferedImage image = new BufferedImage(width, height,
            BufferedImage.TYPE_INT_RGB);

    Graphics g = image.getGraphics();

    Color background = new Color(255, 255, 255);
    g.setColor(background);
    g.fillRect(0, 0, width, height);

    g.setColor(getColor());
    g.drawRect(0, 0, width - 1, height - 1);

    Color textColor = new Color(255, 0, 0);
    g.setColor(textColor);

    //"MS PGothic" font
    String text = "Height (日本平均)アイウ MS PGothic angle=0";
    Font textFont = new Font("MS PGothic",Font.PLAIN,14);
    g.setFont(textFont);
    Graphics2D g2d_1 = (Graphics2D) g.create();
    g2d_1.translate(20, 20);
    g2d_1.drawString(text, 0, 0);

    g2d_1.translate(20, 300);
    g2d_1.rotate(degree * Math.PI / 180);
    text = "Height (日本平均)アイウ MS PGothic angle=-90";       
    g2d_1.drawString(text, 0, 0);

    //"MS PMincho" font
    text = "Height (日本平均)アイウ MS PMincho angle=0";
    textFont = new Font("MS PMincho",Font.PLAIN,14);
    g.setFont(textFont);
    Graphics2D g2d_2 = (Graphics2D) g.create();
    g2d_2.translate(85, 55);
    g2d_2.drawString(text, 0, 0);

    g2d_2.translate(55, 300);
    g2d_2.rotate(degree * Math.PI / 180);
    text = "Height (日本平均)アイウ MS PMincho angle=-90";
    g2d_2.drawString(text, 0, 0);


    //"Gulim"  font 
    text = "Height (Korea) Gulim angle=0";
    textFont = new Font("Gulim",Font.PLAIN,14);
    g.setFont(textFont);
    Graphics2D g2d_3 = (Graphics2D) g.create();
    g2d_3.translate(145, 85);
    g2d_3.drawString(text, 0, 0);

    g2d_3.translate(85, 300);
    g2d_3.rotate(degree * Math.PI / 180);
    text = "Height (Korea) Gulim angle=-90";
    g2d_3.drawString(text, 0, 0);


    //"HeiT"  font 
    text = "Height (平均) HeiT angle=0";
    textFont = new Font("HeiT",Font.PLAIN,14);
    g.setFont(textFont);
    Graphics2D g2d_4 = (Graphics2D) g.create();
    g2d_4.translate(200, 115);
    g2d_4.drawString(text, 0, 0);

    g2d_4.translate(115, 300);
    g2d_4.rotate(degree * Math.PI / 180);
    text = "Height (平均) HeiT angle=-90";
    g2d_4.drawString(text, 0, 0);


    g.dispose();
    return image;
}

private Color getColor() {
    int R = (int) (Math.random() * 255);
    int G = (int) (Math.random() * 255);
    int B = (int) (Math.random() * 255);
    return new Color(R, G, B);
}

public void saveImage(BufferedImage image, String format, String filePath) {
    try {
        ImageIO.write(image, format, new File(filePath));
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}

}

Time schedule for providing OpenJDK11 binaries?

As the Java 11 is the next LTS version after version 8, the GA expected September 2018 and Oracle's "commercial customers" get EOL for version 8 in January 2019 it would be nice to include early access builds for OpenJDK 11 (also ensuring that everything in the build process works until GA of version 11).

Do you consider providing "early" access builds for upcoming version 11? If yes: Do you have a rough time schedule for this?

Add Linux 32 bits support

Introduction

I needed a 32 bit Linux version (don't ask) so I repeated the "CentOS6ZipBundle" procedure to create the 32 bits openjdk zip. These are the steps I followed, it's almost the same procedure, but some paths have to be changed.

Note that there isn't a Docker image for a 32 bits CentOS 6, so you need to use virtualization (KVM or VirtualBox) to install a minimal CentOS 6.9 image (CentOS-6.9-i386-minimal.iso).

Goal

Bundle java-1.8.0-openjdk binary package from CentOS 6 as a "relatively portable" ZIP bundle.

Prerequisites

Linux x86_64 machine that can run KVM or VirtualBox.

Process

Download the 32 bits minimal install ISO from a CentOS mirror, and install a virtual machine with CentOS 6.

Login into it and install required packages:

yum update -y
yum install zip yum-utils -y
adduser jdk
su - jdk

Under normal user, download java-1.8.0-openjdk binary packages and some dependencies:

mkdir tmp
cd tmp
yumdownloader java-1.8.0-openjdk java-1.8.0-openjdk-headless java-1.8.0-openjdk-devel java-1.8.0-openjdk-src ca-certificates tzdata-java dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts
for fi in `ls *.rpm` ; do rpm2cpio $fi | cpio -idmv ; done

Add timezone data, CA certificates file and fonts:

rm ./usr/lib/jvm/java-1.8.0-openjdk.i386/jre/lib/tzdb.dat
cp -p ./usr/share/javazi-1.8/tzdb.dat ./usr/lib/jvm/java-1.8.0-openjdk.i386/jre/lib/
rm ./usr/lib/jvm/java-1.8.0-openjdk.i386/jre/lib/security/cacerts
cp -p ./etc/pki/java/cacerts ./usr/lib/jvm/java-1.8.0-openjdk.i386/jre/lib/security/
cp -pr ./usr/share/fonts/dejavu/ ./usr/lib/jvm/java-1.8.0-openjdk.i386/jre/lib/fonts/

Rename library for SunEC security provider effectively disabling it (it may fail outside of CentOS, see details):

mv ./usr/lib/jvm/java-1.8.0-openjdk.i386/jre/lib/i386/libsunec.so ./usr/lib/jvm/java-1.8.0-openjdk.i386/jre/lib/i386/libsunec.so_DISABLED

Bundle image (replace <version>):

mv ./usr/lib/jvm/java-1.8.0-openjdk-<version>.i386/ .
zip -qr9 java-1.8.0-openjdk-<version>.i386.zip java-1.8.0-openjdk-<version>.i386

I uploaded the resulting ZIP to this URL:
java-1.8.0-openjdk-1.8.0.144-0.b01.el6_9.i386.zip

Please include this 32 bit version in your packages!

Q: Senandoah GC VM Builds?

Hello,

Just a short question:
do you plan to support builds that will include the Shenandoah GC for the VM?

Also, since you;re maintaining win-x64 builds, would you provide one with the Shenandoah GC?

My questions only stem from the fact that I've seen no builds whatsoever that include the Shenandoah GC for win-x64. If you know of such a project, please direct me there!

Thank you!

32bit build instructions

regarding my rejected pull request #26 for a dedicated batchjob for 32bit builds, may I suggest that at least the documentation is updated a little bit?

Right now, you have to search the closed issues to find instructions on how to invoke a 32bit build.

Would be very nice to see at least some kind of instructions either in the README or in the Wiki.
Thanks.

Linux build? (simple ZIP, not DEB or RPM package)

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?

Update code for x64 and x86

Hi,

I have a use case which requires me install the x64 and x86 flavor of the OpenJDK. This is to my understanding mainly blocked by a hard wired update code in here.
The same update code for x86 and x64 leads to the situation that the MSIs holding the different architecture update (and remove) the other architecture.

What is your feeling with that? Would a PR, which attempts to have this independently setup, have any change to be accepted?

alex

OpenJDK 9

JDK 9 is planned to be released in July 2017.

New major releases usually have a lot of bugs, so it would be useful to have debug symbols for release binaries, source bundles and full-debug builds available to devs.

What are the chances that ojdkbuild will provide such before the final release in July? It seems that currently no repo exists for OpenJDK 9 on git.centos.org.

JDK9+181

Could you please make the jdk9+181 available as zip package?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.