Phase 1 bug fixes: JAVA_HOME, CATALINA_HOME, and gradle initBundle retry - #11
Open
mirandastephane wants to merge 3 commits into
Open
Phase 1 bug fixes: JAVA_HOME, CATALINA_HOME, and gradle initBundle retry#11mirandastephane wants to merge 3 commits into
mirandastephane wants to merge 3 commits into
Conversation
3 tasks
This was referenced Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR resolves all three critical bug fixes from the 2026 maintenance window
(Phase 1 of the Course Launcher Tool improvement plan).
Changes
ENBT-4103 · Fix JAVA_HOME not persisting between terminal sessions
.sh: appendsJAVA_HOMEandPATHupdate to~/.bashrc,~/.zshrc, and~/.profileafter Zulu JRE install — idempotent, only if not already present..ps1: persistsJAVA_HOMEand appends$ZuluPath\binto user-scopePATHvia
SetEnvironmentVariable— idempotent check before writing.ENBT-4104 · Fix missing CATALINA_HOME after gradle initBundle
.sh: dynamically locatesbundles/tomcat-*afterinitBundleand exportsCATALINA_HOMEfor the current session. Persists to.bashrc,.zshrc,and
.profile(idempotent)..ps1: same discovery viaGet-ChildItem -Filter tomcat-*. Sets$env:CATALINA_HOMEfor the session and persists to user scope viaSetEnvironmentVariable.ENBT-4105 · Fix invalid checksum on gradle initBundle (slow connections)
gradle initBundlein a retry loop (up to 3 attempts) on both scripts.bundles/and.gradle/cache between retries.verifyBundle/checksumkeywords and shows a specific message;falls back to a generic message for other errors.
.sh: usesset +e/tee/PIPESTATUSfor live streaming + exit code capture..ps1: uses& + Tee-Object -Variablefor zero-buffering live output and$LASTEXITCODEfor exit code detection.Testing
reopening terminal on Linux, Mac, and Windows.
running the script.
displays correct messages.