Troubleshooting
An IDE Terminal Cannot Find jup
Section titled “An IDE Terminal Cannot Find jup”Processes inherit environment variables when they start. Completely exit the IDE and any resident launcher, reopen them, and create a new terminal. On Windows, sign out and back in if necessary. Verify in PowerShell:
Get-Command jup[Environment]::GetEnvironmentVariable('Path', 'User')Repair only the current PowerShell session with:
$env:Path = "$env:USERPROFILE\.javaup\bin;$env:Path"jup versionMaven Is Installed but Not Found
Section titled “Maven Is Installed but Not Found”Run mvn --version in the same terminal. Restart the terminal after changing
PATH, or add Maven Wrapper to the project.
A JDK Is Installed but Not Found
Section titled “A JDK Is Installed but Not Found”Confirm that it is a full JDK containing javac, not a JRE. Expose a custom
location through a versioned variable, or add <jdkHome> to Maven Toolchains:
$env:JAVA8_HOME = "D:\OpenJDK8"jup initA Saved Path Is Stale
Section titled “A Saved Path Is Stale”Restore the missing Maven or JDK, or refresh detection:
jup doctorjup initA Settings Alias Is Missing
Section titled “A Settings Alias Is Missing”jup settings listjup settings use <alias># orjup settings unsetDisable Colored Output
Section titled “Disable Colored Output”Set the standard NO_COLOR environment variable. The repository build script
also accepts JUP_BUILD_COLOR=always or JUP_BUILD_COLOR=never.
If the problem remains, open a
GitHub issue with the operating
system, jup version, relevant POM configuration, expected Java version, and
redacted command output.