Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 17 (draft) #8013

Closed
wants to merge 141 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
8705923
Attempt to build with Java 17 - WIP.
cmnbroad Jun 20, 2022
fd54f77
Upgrade gradle to 7.4.2.
cmnbroad Jun 20, 2022
e67d0bb
Remove doclet code.
cmnbroad Jun 20, 2022
3e30ab4
Oh yeah remove the doclet tests too.
cmnbroad Jun 20, 2022
c94107d
Temporarily pretend we don't need SecurityManager.
cmnbroad Jun 20, 2022
e60fe81
Spark 3.3.0.
cmnbroad Jun 21, 2022
a9f70a2
Suppress more deprecation warnings.
cmnbroad Jun 28, 2022
c39ee1f
Remove guava lists.
cmnbroad Jun 28, 2022
48ecebb
Upgrade Scala - WIP.
cmnbroad Jul 6, 2022
c96b9dc
More exports/opens clauses.
cmnbroad Jul 6, 2022
f9074f0
Revert problematic Scala upgrade.
cmnbroad Jul 6, 2022
8690caf
Open java.lang.invoke.
cmnbroad Jul 6, 2022
ffc5b89
Open sun.nio.fs.
cmnbroad Jul 7, 2022
2f38e89
Support changd avro API.
cmnbroad Jul 11, 2022
5b206e4
Upgrade jacoco for Java 17.
cmnbroad Jul 11, 2022
2db7bf2
Add opens for jacoco.
cmnbroad Jul 11, 2022
cf2aad5
Try running jacoco with --daemon.
cmnbroad Jul 11, 2022
2b83622
Temporarily update .seg files for ModelSegmentsIntegrationTest.
cmnbroad Jul 12, 2022
7d8c7bf
Remove unused PosteriorSummary and friends.
cmnbroad Jul 12, 2022
f8c23bf
I feel lucky.
cmnbroad Jul 12, 2022
123a9da
Remove unnecessary github action job matrix entries.
cmnbroad Jul 12, 2022
0948ed9
Update job matrix for remaining tasks.
cmnbroad Jul 12, 2022
ee19a71
Fix expired google cloud key.
cmnbroad Jul 12, 2022
bc93949
You have to update ALL the job matrix entires.
cmnbroad Jul 12, 2022
3ec9fff
Update Docker file for google key.
cmnbroad Jul 12, 2022
0782be6
Fix statement order.
cmnbroad Jul 12, 2022
603a1ac
Not sudo.
cmnbroad Jul 12, 2022
5fb99b4
Pin commons-math3 to 3.5 and revert changes to expected files for Mod…
cmnbroad Jul 12, 2022
1b8edd0
Check for failures with scala 11.
cmnbroad Jul 12, 2022
d74b540
Revert "Check for failures with scala 11."
cmnbroad Jul 13, 2022
b8fe909
Update ModelSegmentsIntegration test using values resulting for commo…
cmnbroad Jul 13, 2022
85f5bc0
Fix Docker build.
cmnbroad Jul 13, 2022
cc23098
Temporarily disable all gatkDoc dependencies.
cmnbroad Jul 18, 2022
6dce89d
Fix docker java path, fix gradle dependency prereqs.
cmnbroad Jul 18, 2022
8f81f89
Fix docker second stage.
cmnbroad Jul 18, 2022
aeb08cc
Update order.
cmnbroad Jul 19, 2022
91d360e
Don't apt-upgrade again.
cmnbroad Jul 19, 2022
5060960
Update gatk script.
cmnbroad Jul 19, 2022
b88fe0f
Oh there is another gradle file too.
cmnbroad Jul 19, 2022
67ebc2b
Remove unnecessary and problematic non-test closure.
cmnbroad Jul 20, 2022
aaa7ecd
Update jvmargs.
cmnbroad Jul 30, 2022
7030aa6
Revert "Update jvmargs."
cmnbroad Jul 30, 2022
7a7beab
Move jmvargs.
cmnbroad Jul 30, 2022
76ef4fc
Use open rather than export (--add-opens vs --add-export) for sun.nio.ch
cmnbroad Jul 30, 2022
99a66a4
Use folder of classes rather than separate jars for the docker tests.
cmnbroad Aug 18, 2022
23b72b8
Update docker build script.
cmnbroad Aug 22, 2022
8737a0e
Add docker trace.
cmnbroad Aug 22, 2022
976c559
Set file permissions.
cmnbroad Aug 22, 2022
06aaf4b
TEMP change to pre-create testclass dir.
cmnbroad Aug 22, 2022
57f8c26
Fix ls command.
cmnbroad Aug 22, 2022
3d57b5e
Update file perms.
cmnbroad Aug 22, 2022
9b0f25f
More permissions.
cmnbroad Aug 22, 2022
6b2620d
More updates.
cmnbroad Aug 22, 2022
fc646fb
Move test classes dir so it is onwed by root.
cmnbroad Aug 22, 2022
a4bb9a1
Fix bad command.
cmnbroad Aug 22, 2022
3d701d0
Check files post extract.
cmnbroad Aug 23, 2022
cf1d2ea
Smarter logging.
cmnbroad Aug 23, 2022
7289dab
Update file logging command.
cmnbroad Aug 23, 2022
8b093e5
Spill cromwell logs.
cmnbroad Aug 23, 2022
e358646
Fix last commit.
cmnbroad Aug 23, 2022
8c83131
Fix the fix.
cmnbroad Aug 23, 2022
65f44d4
update find.
cmnbroad Aug 23, 2022
ac0446b
Try running the docker tests using an uber test jar.
cmnbroad Aug 23, 2022
7ff21f1
Revert "Try running the docker tests using an uber test jar."
cmnbroad Aug 23, 2022
cd442f9
Try utf-8 encoding with flat classes.
cmnbroad Aug 23, 2022
f41404f
Try filtering out the shapeless class entirely.
cmnbroad Aug 23, 2022
1830352
Set fileMode.
cmnbroad Aug 25, 2022
cfe80fc
Try an alternative file copy task.
cmnbroad Aug 29, 2022
eda4c7b
Exclude META_INF.
cmnbroad Aug 29, 2022
412c194
Set duplicatesStrategy.
cmnbroad Aug 29, 2022
8f16932
Upgrade hadoop.
cmnbroad Aug 29, 2022
139ed6c
Add the shapeless filter.
cmnbroad Aug 29, 2022
a074de7
Filter spire.
cmnbroad Aug 30, 2022
31e57c9
Update messages.
cmnbroad Aug 30, 2022
6586c46
Use the correct classpath.
cmnbroad Aug 30, 2022
c850ed5
Restore (incorrect) isJavaNN call.
cmnbroad Aug 30, 2022
a1a4fab
Add TODO comment.
cmnbroad Aug 30, 2022
0becaba
Revert to multiple jars.
cmnbroad Aug 30, 2022
798889e
Update CP_DIR.
cmnbroad Aug 30, 2022
9e4ca00
Try not caching.
cmnbroad Aug 30, 2022
d390cc8
Revert "Try not caching."
cmnbroad Aug 30, 2022
7b9775c
Temporarily revert missing io redirection fixes.
cmnbroad Aug 30, 2022
37f7993
Revert unpackTestJars.
cmnbroad Aug 30, 2022
d34e1f3
Export not open.
cmnbroad Aug 30, 2022
e30d664
Use --add-opens instead of --add-exports.
cmnbroad Aug 31, 2022
b66a026
More opens for spark test code.
cmnbroad Aug 31, 2022
cec4f1c
Fix opens.
cmnbroad Aug 31, 2022
f9f0383
More opens.
cmnbroad Aug 31, 2022
f123fff
Upgrade kryo.
cmnbroad Aug 31, 2022
9896a7c
Use older kryo.
cmnbroad Sep 1, 2022
7ccb1ca
More opens.
cmnbroad Sep 1, 2022
027e0d7
More opens.
cmnbroad Sep 1, 2022
79bf3b5
Display jvm args.
cmnbroad Sep 1, 2022
64fe20a
Set args directly.
cmnbroad Sep 1, 2022
cc46875
Remove jacoco jvm args.
cmnbroad Sep 1, 2022
823e17e
Fix opens.
cmnbroad Sep 1, 2022
fa08daa
More opens.
cmnbroad Sep 2, 2022
55d28a3
Open java.lang.module.
cmnbroad Sep 2, 2022
0fa4f24
Lambda serialization, try forcing jetty.
cmnbroad Sep 6, 2022
dbd3a9d
Upgrade gradle to 7.5.1.
cmnbroad Sep 6, 2022
863fa08
Use gradle daemon.
cmnbroad Sep 7, 2022
5098c90
Use newest jetty.
cmnbroad Sep 7, 2022
68eb5c8
Update opens.
cmnbroad Sep 7, 2022
6b9f239
Revert jetty.
cmnbroad Sep 7, 2022
c1a19b2
Updates for rebase post-UltimaGen.
cmnbroad Sep 6, 2022
796d3d3
Temp trace.
cmnbroad Sep 7, 2022
e981198
Update HC test with new result - this needs to be investigated.
cmnbroad Sep 12, 2022
e7d95a8
Work around jetty jar issue.
cmnbroad Sep 12, 2022
80a06b6
Fix IO redirection in Dockerfile.
cmnbroad Sep 13, 2022
a310b0e
Trace output.
cmnbroad Sep 13, 2022
330b777
Change classpath order, disable gradle cache.
cmnbroad Sep 13, 2022
ad347a6
Restore gradle cache.
cmnbroad Sep 14, 2022
3b5da23
Alternate classpath order.
cmnbroad Sep 14, 2022
f49579d
Debug cromwell.
cmnbroad Sep 14, 2022
251a5db
Cromwell version 84.
cmnbroad Sep 14, 2022
710ca78
Use debug level TRACE for cromwell.
cmnbroad Sep 14, 2022
a2f83a0
Add opens for jacoco.
cmnbroad Sep 14, 2022
8e0a777
Fix missing comma.
cmnbroad Sep 14, 2022
3904c03
Fix syntax error in gatk.
cmnbroad Sep 14, 2022
be2c8ad
Add opens for gradle process jacoco task.
cmnbroad Sep 14, 2022
1f7e2ef
Stop using classesdir.
cmnbroad Sep 14, 2022
0497623
Restore classesDir.
cmnbroad Sep 14, 2022
9b0fbb6
Fix build dependencies.
cmnbroad Sep 15, 2022
5032b4b
Debug class loader.
cmnbroad Sep 15, 2022
b681b0e
Reorder classpath.
cmnbroad Sep 15, 2022
ac10e8e
Write to stderr.
cmnbroad Sep 15, 2022
74382f8
Revert to debug level info.
cmnbroad Sep 15, 2022
cc035e6
Throw to debug.
cmnbroad Sep 15, 2022
0893880
testImplementation dependencies.
cmnbroad Sep 15, 2022
e756e5a
Remove tracing code.
cmnbroad Sep 15, 2022
f0f91dd
Increase test fork frequency.
cmnbroad Sep 19, 2022
52244ad
Decrease test fork frequency.
cmnbroad Sep 19, 2022
1210627
Restore fork interval; relax test verbosity on docker tests.
cmnbroad Sep 19, 2022
1bc63d7
Suppress info suppression.
cmnbroad Sep 19, 2022
6d47724
Trace info.
cmnbroad Sep 20, 2022
b782dcb
Reduce test output noise.
cmnbroad Sep 20, 2022
43bcda4
Chang test order.
cmnbroad Sep 20, 2022
ba25818
No parallel forks.
cmnbroad Sep 20, 2022
605cee2
Revert naming.
cmnbroad Sep 20, 2022
bcdee95
Fix java version test.
cmnbroad Sep 26, 2022
31decd8
Fix gradle Java tests.
cmnbroad Sep 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/upload-gatk-test-results/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ inputs:
description: 'The job-unique identifier to use for uploading the results of this run into a google bucket'
required: true
is-docker:
description: 'Whether to label the uplaod artifact as coming from a docker test'
description: 'Whether to label the upload artifact as coming from a docker test'
required: false
identifier:
description: 'Identifier to use for finding the unique name for jobs in order to determine html logs location (eg. "Java 8 build and test integration")'
description: 'Identifier to use for finding the unique name for jobs in order to determine html logs location (eg. "Java 17 build and test integration")'
required: true
## Secrets and token inputs
repo-token:
Expand All @@ -23,7 +23,7 @@ inputs:
bot-comment-key:
description: 'Key corresponding to the user account to be used for making comments on github about test failures'
required: false
## option to skip all but the artifact uplaod
## option to skip all but the artifact upload
only-artifact:
description: 'if "true" this will skip any uploading steps that require permissions and only upload the artifact file'
required: false
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/gatk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

env:
CROMWELL_VERSION: 51
CROMWELL_VERSION: 84
TERM: dumb
GRADLE_OPTS: "-Xmx2048m -Dorg.gradle.daemon=false"
HELLBENDER_TEST_INPUTS: gs://hellbender/test/resources/
Expand Down Expand Up @@ -73,19 +73,10 @@ jobs:
needs: check-secrets
strategy:
matrix:
java: [ 8, 11 ]
java: [ 17 ]
experimental: [ false ]
scalaVersion: [ 2.11, 2.12 ]
scalaVersion: [ 2.12 ]
testType: [ cloud, integration, unit ]
exclude:
- java: 11
scalaVersion: 2.11
- java: 8
scalaVersion: 2.12
- java: 8
testType: integration
- java: 8
testType: unit
fail-fast: false
continue-on-error: ${{ matrix.experimental }}
env:
Expand All @@ -100,7 +91,7 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.Java }}
distribution: 'adopt'
distribution: 'temurin'
cache: gradle

- name: 'Compile with Gradle'
Expand All @@ -120,6 +111,10 @@ jobs:
if: needs.check-secrets.outputs.google-credentials == 'true'
run: echo "HELLBENDER_JSON_SERVICE_ACCOUNT_KEY=${{ steps.auth.outputs.credentials_file_path }}" >> $GITHUB_ENV

# See https://cloud.google.com/compute/docs/troubleshooting/known-issues#ubuntu-systems
- name: "get the updated signature key for google cloud"
run: curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -

- name: 'Set up Cloud SDK'
if: needs.check-secrets.outputs.google-credentials == 'true'
uses: google-github-actions/setup-gcloud@v0
Expand All @@ -134,7 +129,7 @@ jobs:
if: ${{ needs.check-secrets.outputs.google-credentials == 'true' || matrix.testType != 'cloud'}}
id: jacoco-tests
run: |
./gradlew -Dscala.version=${{ env.SCALA_VERSION }} jacocoTestReport
./gradlew --daemon -Dscala.version=${{ env.SCALA_VERSION }} jacocoTestReport

- uses: ./.github/actions/upload-gatk-test-results
if: always()
Expand All @@ -154,9 +149,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8 ]
java: [ 17 ]
experimental: [ false ]
scalaVersion: [ 2.11 ]
scalaVersion: [ 2.12 ]
testType: [ integration, unit, variantcalling, conda ]
fail-fast: false
continue-on-error: ${{ matrix.experimental }}
Expand All @@ -174,7 +169,7 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.Java }}
distribution: 'adopt'
distribution: 'temurin'
cache: gradle

#Google Cloud stuff
Expand All @@ -190,6 +185,10 @@ jobs:
if: needs.check-secrets.outputs.google-credentials == 'true'
run: echo "HELLBENDER_JSON_SERVICE_ACCOUNT_KEY=${{ steps.auth.outputs.credentials_file_path }}" >> $GITHUB_ENV

# See https://cloud.google.com/compute/docs/troubleshooting/known-issues#ubuntu-systems
- name: "get the updated signature key for google cloud"
run: curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -

- name: 'Set up Cloud SDK'
if: needs.check-secrets.outputs.google-credentials == 'true'
uses: google-github-actions/setup-gcloud@v0
Expand Down Expand Up @@ -228,7 +227,6 @@ jobs:
-v $(pwd)/testJars:/jars:cached \
--rm \
-e "scala.version=${SCALA_VERSION}" \
-e "TEST_VERBOSITY=minimal" \
-e "TEST_TYPE=${TEST_TYPE}" \
-t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }} \
bash --init-file /gatk/gatkenv.rc /root/run_unit_tests.sh;
Expand Down Expand Up @@ -273,11 +271,11 @@ jobs:
- uses: actions/checkout@v2
with:
fetch: 0
- name: Set up java 8
- name: Set up java 17
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
cache: gradle
- uses: ./.github/actions/install-cromwell
with:
Expand All @@ -300,11 +298,11 @@ jobs:
fetch-depth: 0
- name: pull lfs files
run: git lfs pull
- name: Set up java 8
- name: Set up java 17
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
cache: gradle
- uses: ./.github/actions/install-cromwell
with:
Expand Down Expand Up @@ -335,6 +333,8 @@ jobs:
run: |
echo "Running CNV somatic workflows";
bash scripts/cnv_cromwell_tests/somatic/run_cnv_somatic_workflows.sh;
echo "Gather CNV somatic cromwell workflows logs";
bash -c "find /home/runner/work/gatk/gatk/scripts/cnv_cromwell_tests/somatic/cromwell-executions -exec cat {} \;";

- name: "M2_WDL_TEST"
if: ${{ matrix.wdlTest == 'RUN_M2_WDL' }}
Expand Down
58 changes: 54 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,41 @@ ADD . /gatk
WORKDIR /gatk

# Get an updated gcloud signing key, in case the one in the base image has expired
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN rm /etc/apt/sources.list.d/google-cloud-sdk.list
RUN apt update
RUN apt-key list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
#
##Get Java 17 temurin JDK
##RUN apt update && apt upgrade
#RUN apt install wget
#RUN wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz
#RUN tar -xvf OpenJDK17U-jdk_x64_linux_hotspot_17.*.tar.gz
#RUN mv jdk-17.0.1+12 /opt/
#
#ENV JAVA_HOME /opt/jdk-17.0.1+12
#ENV PATH $JAVA_HOME/bin:$PATH
#RUN echo $JAVA_HOME
#RUN update-alternatives --install /usr/bin/java java /opt/jdk-17.0.1+12/bin/java 1
#RUN java -version

RUN add-apt-repository universe && apt update
RUN apt-get --assume-yes install git-lfs
RUN git lfs install --force

##Get Java 17 temurin JDK
#RUN apt update && apt upgrade
RUN apt install wget
RUN wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz
RUN tar -xvf OpenJDK17U-jdk_x64_linux_hotspot_17.*.tar.gz
RUN mv jdk-17.0.1+12 /opt/
#
ENV JAVA_HOME /opt/jdk-17.0.1+12
ENV PATH $JAVA_HOME/bin:$PATH
RUN echo $JAVA_HOME
RUN update-alternatives --install /usr/bin/java java /opt/jdk-17.0.1+12/bin/java 1
RUN java -version

#Download only resources required for the build, not for testing
RUN git lfs pull --include src/main/resources/large

Expand All @@ -23,6 +53,23 @@ RUN unzip -o -j $( find /gatk/unzippedJar -name "gatkPython*.zip" ) -d /gatk/unz
# Using OpenJDK 8
FROM broadinstitute/gatk:gatkbase-2.3.0

RUN rm /etc/apt/sources.list.d/google-cloud-sdk.list
RUN apt update
RUN apt-key list

#Get Java 17 temurin JDK
#RUN apt update && apt upgrade
RUN apt install wget
RUN wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1%2B12/OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz
RUN tar -xvf OpenJDK17U-jdk_x64_linux_hotspot_17.*.tar.gz
RUN mv jdk-17.0.1+12 /opt/

ENV JAVA_HOME /opt/jdk-17.0.1+12
ENV PATH $JAVA_HOME/bin:$PATH
RUN echo $JAVA_HOME
RUN update-alternatives --install /usr/bin/java java /opt/jdk-17.0.1+12/bin/java 1
RUN java -version

WORKDIR /gatk

# Location of the unzipped gatk bundle files
Expand All @@ -43,6 +90,9 @@ RUN mkdir .gradle

WORKDIR /gatk

# use UTF-8 encoding to get around (??) scala class name shapeless/$tilde$qmark$greater$?.class
ENV LANG="en_US.UTF-8" LANGUAGE="en_US:en" LC_ALL="en_US.UTF-8"

# Create a simple unit test runner
ENV CI true
RUN echo "source activate gatk" > /root/run_unit_tests.sh && \
Expand All @@ -54,11 +104,11 @@ RUN echo "source activate gatk" > /root/run_unit_tests.sh && \
echo "mkdir /gatk/srcdir" >> /root/run_unit_tests.sh && \
echo "cp -rp /gatkCloneMountPoint/src/main/java/* /gatk/srcdir" >> /root/run_unit_tests.sh && \
echo "export SOURCE_DIR=/gatk/srcdir" >> /root/run_unit_tests.sh && \
echo "export GRADLE_OPTS=\"-Xmx1024m -Dorg.gradle.daemon=false\"" /root/run_unit_tests.sh && \
echo "export CP_DIR=/gatk/testClasses" /root/run_unit_tests.sh && \
echo "export GRADLE_OPTS=\"-Xmx1024m -Dorg.gradle.daemon=false --add-opens java.prefs/java.util.prefs=ALL-UNNAMED\"" >> /root/run_unit_tests.sh && \
echo "export CP_DIR=/gatk/testClasses" >> /root/run_unit_tests.sh && \
echo "ln -s /gatkCloneMountPoint/src/ /gatkCloneMountPoint/scripts/docker/src" >> /root/run_unit_tests.sh && \
echo "ln -s /gatkCloneMountPoint/build/ /gatkCloneMountPoint/scripts/docker/build" >> /root/run_unit_tests.sh && \
echo "cd /gatk/ && /gatkCloneMountPoint/gradlew -b /gatkCloneMountPoint/dockertest.gradle testOnPackagedReleaseJar jacocoTestReportOnPackagedReleaseJar -a -p /gatkCloneMountPoint" >> /root/run_unit_tests.sh
echo "cd /gatk/ && /gatkCloneMountPoint/gradlew -Dfile.encoding=UTF-8 -b /gatkCloneMountPoint/dockertest.gradle testOnPackagedReleaseJar jacocoTestReportOnPackagedReleaseJar -a -p /gatkCloneMountPoint" >> /root/run_unit_tests.sh

WORKDIR /root
RUN cp -r /root/run_unit_tests.sh /gatk
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ releases of the toolkit.

## <a name="requirements">Requirements</a>
* To run GATK:
* Java 8 is needed to run or build GATK.
* Java 17 is needed to run or build GATK.
We recommend either of the following:
* OpenJDK 8 with Hotspot from [AdoptOpenJdk](https://adoptopenjdk.net/)
* [OracleJDK 8](https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
Expand All @@ -61,7 +61,7 @@ releases of the toolkit.
See [Python Dependencies](#python) for more information.
* R 3.2.5 (needed for producing plots in certain tools)
* To build GATK:
* A Java 8 JDK
* A Java 17 JDK
* Git 2.5 or greater
* [git-lfs](https://git-lfs.github.com/) 1.1.0 or greater. Required to download the large files used to build GATK, and
test files required to run the test suite. Run `git lfs install` after downloading, followed by `git lfs pull` from
Expand Down Expand Up @@ -454,7 +454,7 @@ We use [git-lfs](https://git-lfs.github.com/) to version and distribute test dat

#### <a name="intellij">Creating a GATK project in the IntelliJ IDE (last tested with version 2016.2.4):</a>

* Ensure that you have `gradle` and the Java 8 JDK installed
* Ensure that you have `gradle` and the Java 17 JDK installed

* You may need to install the TestNG and Gradle plugins (in preferences)

Expand All @@ -476,7 +476,7 @@ We use [git-lfs](https://git-lfs.github.com/) to version and distribute test dat

* After downloading project dependencies, IntelliJ should open a new window with your GATK project

* Make sure that the Java version is set correctly by going to File -> "Project Structure" -> "Project". Check that the "Project SDK" is set to your Java 1.8 JDK, and "Project language level" to 8 (you may need to add your Java 8 JDK under "Platform Settings" -> SDKs if it isn't there already). Then click "Apply"/"Ok".
* Make sure that the Java version is set correctly by going to File -> "Project Structure" -> "Project". Check that the "Project SDK" is set to your Java 1.17 JDK, and "Project language level" to 17 (you may need to add your Java 17 JDK under "Platform Settings" -> SDKs if it isn't there already). Then click "Apply"/"Ok".

#### <a name="debugging">Setting up debugging in IntelliJ</a>

Expand Down
Loading