diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml
index 99d2df8..4b561de 100644
--- a/.github/workflows/java.yml
+++ b/.github/workflows/java.yml
@@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- jdk: [8, 11, 17, 21]
+ jdk: [17, 21]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.jdk }}
@@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- jdk: [8, 11, 17, 21]
+ jdk: [17, 21]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.jdk }}
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
index 0fee6a9..59fe89d 100644
--- a/.settings/org.eclipse.jdt.core.prefs
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -1,9 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -12,4 +12,4 @@ org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=disabled
-org.eclipse.jdt.core.compiler.source=1.8
+org.eclipse.jdt.core.compiler.source=17
diff --git a/README.md b/README.md
index 836cd96..53fe4f3 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ This sample demonstrates how to code, build, and deploy a CICS Java OSGi applica
* CICS TS V6.1 or later
* A connected CICS DB2CONN resource. For more information, see [CONFIGURING](#configuring)
* An OSGi JVM server
-* Java SE 1.8 or later on the workstation
+* Java SE 17 or later on the workstation
* IBM Db2 V11 or later on z/OS
@@ -37,7 +37,7 @@ Choose from the following approach:
### Option 1 - Building with Eclipse
-The sample comes pre-configured for use with a standard JDK 1.8 and the CICS TS V5.5 Java EE 6/7 Target Platform. When you initially import the project to your IDE, if your IDE is not configured for a JDK 1.8, or does not have CICS Explorer SDK installed with the correct 'target platform' set, you might experience local project compile errors.
+The sample comes pre-configured for use with a standard JDK 17 and the CICS TS V6.1 Java EE 9 Target Platform. When you initially import the project to your IDE, if your IDE is not configured for a JDK 17, or does not have CICS Explorer SDK installed with the correct 'target platform' set, you might experience local project compile errors.
To resolve issues:
* ensure you have the CICS Explorer SDK plug-in installed
diff --git a/cics-java-osgi-jdbc-app/.classpath b/cics-java-osgi-jdbc-app/.classpath
index 69f34c5..1016f15 100644
--- a/cics-java-osgi-jdbc-app/.classpath
+++ b/cics-java-osgi-jdbc-app/.classpath
@@ -1,12 +1,17 @@
-
-
-
+
+
+
+
+
+
+
+
-
+
diff --git a/cics-java-osgi-jdbc-app/.settings/org.eclipse.jdt.core.prefs b/cics-java-osgi-jdbc-app/.settings/org.eclipse.jdt.core.prefs
index 0fee6a9..59fe89d 100644
--- a/cics-java-osgi-jdbc-app/.settings/org.eclipse.jdt.core.prefs
+++ b/cics-java-osgi-jdbc-app/.settings/org.eclipse.jdt.core.prefs
@@ -1,9 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -12,4 +12,4 @@ org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=disabled
-org.eclipse.jdt.core.compiler.source=1.8
+org.eclipse.jdt.core.compiler.source=17
diff --git a/cics-java-osgi-jdbc-app/build.gradle b/cics-java-osgi-jdbc-app/build.gradle
index 1ca7fbe..8fa5eb6 100644
--- a/cics-java-osgi-jdbc-app/build.gradle
+++ b/cics-java-osgi-jdbc-app/build.gradle
@@ -7,8 +7,8 @@ plugins
java
{
- sourceCompatibility = JavaVersion.VERSION_1_8
- targetCompatibility = JavaVersion.VERSION_1_8
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
}
diff --git a/cics-java-osgi-jdbc-app/build.properties b/cics-java-osgi-jdbc-app/build.properties
index 907a5d5..2a96553 100644
--- a/cics-java-osgi-jdbc-app/build.properties
+++ b/cics-java-osgi-jdbc-app/build.properties
@@ -1,5 +1,5 @@
bin.includes = META-INF/,\
.
source.. = src/main/java/
-jre.compilation.profile = JavaSE-1.8
+jre.compilation.profile = JavaSE-17
output.. = bin/
diff --git a/etc/jvmprofiles/DFHOSGI.jvmprofile b/etc/jvmprofiles/DFHOSGI.jvmprofile
index 2a5b0ca..1bf4897 100644
--- a/etc/jvmprofiles/DFHOSGI.jvmprofile
+++ b/etc/jvmprofiles/DFHOSGI.jvmprofile
@@ -12,7 +12,7 @@
# Copyright IBM Corp. 2011, 2023 #
# #
#######################################################################
-JAVA_HOME=/usr/lpp/java/J8.0_64/
+JAVA_HOME=/java/java17_64
WORK_DIR=.
-Xms32M
diff --git a/pom.xml b/pom.xml
index 92d9bd7..20fef3f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,7 @@
DFHOSGI
- 1.8
+ 17
UTF-8