11# Oracle Solaris OpenJDK Builder
22
3- This project builds all OpenJDK versions from 9 till latest 17 for Solaris 11.4.
3+ This project builds all OpenJDK versions from 9 till latest 19 for Solaris 11.4.
44
55Note that this was done based on great job of Peter Tribble:
66https://ptribble.blogspot.com/2021/12/keeping-java-alive-on-illumos.html
@@ -10,9 +10,9 @@ At this time only amd64 platform is expected to work (not SPARC).
1010You just need to have:
1111- Oracle Solaris 11.4 (at least S11.4.24) with installed system header files
1212- Git
13- - JDK 8
13+ - JDK 8 [ 1 ]
1414- GCC 10
15- - Solaris Studio 12.4 (latest supported version! Release version isn't enough)
15+ - Solaris Studio 12.4 (latest supported version! Release version isn't enough) [ 1 ]
1616- Internet access for OpenJDK repositories
1717
1818Alternatively you can use your OpenJDK repository mirror and set it via
@@ -51,3 +51,35 @@ After the build you should inspect build_dir/ for your OpenJDK binaries.
5151Your build log files will be available in logs/ directory.
5252
5353You can use then archives.sh script which will create tar archives.
54+
55+ Note also archives-bootstrap.sh which currently creates minimal archive
56+ with OpenJDK 13 for bootstraping (can be used for version 13 and 14).
57+ This might be needed if you don't have required version of Studio
58+ compiler).
59+
60+ openjdk-13.0.11-bootstrap_SunOS-i386_bin.tar.xz should be available for
61+ download. The minimal OS version is Solaris 11.4 CBE release [ 2] .
62+
63+ --
64+
65+ You can also build only newer OpenJDK versions. E.g. when you previously
66+ built older version and have them ready in your ` build_dir ` for
67+ bootstaping (at least when you have previous version).
68+
69+
70+ ```
71+ ./build-all.sh --build-from=17
72+ ```
73+
74+ Alternately you can use your own bootstrap version.
75+
76+ ```
77+ ./build-all.sh --build-from=13 --boot-jdk=/export/home/build/jdk-13-bootstrap
78+ ```
79+
80+ --
81+
82+ [ 1] JDK 8 is needed only for OpenJDK 9. Solaris Studio is needed only for
83+ OpenJDK 9, 10, 11 and 12. See example with ` --build-from=[NUM] ` .
84+
85+ [ 2] https://blogs.oracle.com/solaris/post/building-open-source-software-on-oracle-solaris-114-cbe-release
0 commit comments