File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
mbi/core/src/org/fedoraproject/mbi/dist Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 17
17
FROM registry.fedoraproject.org/fedora:rawhide
18
18
19
19
ENV LC_ALL=C.utf8 \
20
- JAVA_HOME=/usr/lib/jvm/java-17
20
+ JAVA_HOME=/usr/lib/jvm/java-21
21
21
22
22
RUN dnf -y update \
23
23
&& dnf -y install git-core \
24
24
unzip \
25
- java-17 -devel \
25
+ java-21 -devel \
26
26
byaccj \
27
27
gcc \
28
28
rpm-devel \
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ directory with patched upstream sources that are ready to be built.
156
156
157
157
Modules are built by executing ` ./mbi.sh build ` command. It allows the
158
158
environment variable ` JAVA_HOME ` to be set and pointed to JDK installation
159
- which will be used (e. g. ` /usr/lib/jvm/java-17 ` ). The minimal required
159
+ which will be used (e. g. ` /usr/lib/jvm/java-21 ` ). The minimal required
160
160
version of JDK is 17.
161
161
162
162
The ` build ` command accepts a few options:
@@ -177,7 +177,7 @@ that allow you to control the shape and the location of binary
177
177
distribution:
178
178
179
179
* ` -javaCmdPath ` points to ` java ` executable, for use in launcher
180
- shebangs (defaults to ` /usr/lib/jvm/java-17 ` ).
180
+ shebangs (defaults to ` /usr/lib/jvm/java-21 ` ).
181
181
182
182
* ` -installRoot ` specifies directory into which distribution will be
183
183
installed (equivalent to ` $RPM_BUILD_ROOT ` in RPM build), by default
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public void run()
42
42
Path workDir = reactor .getTargetDir ( distModule ).resolve ( "dist-work" );
43
43
Util .delete ( workDir );
44
44
45
- String javaCmdPath = getOption ( "javaCmdPath" , "/usr/lib/jvm/java-17 /bin/java" );
45
+ String javaCmdPath = getOption ( "javaCmdPath" , "/usr/lib/jvm/java-21 /bin/java" );
46
46
String basePackageName = getOption ( "basePackageName" , "mbi" );
47
47
String installRoot = getOption ( "installRoot" , "/" );
48
48
String mavenHomePath = getOption ( "mavenHomePath" , "/opt/mbi/maven" );
You can’t perform that action at this time.
0 commit comments