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

Document how to confirm Maven uses the right Java #504

Open
wants to merge 1 commit into
base: REL1_6_STABLE
Choose a base branch
from
Open
Changes from all commits
Commits
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
8 changes: 7 additions & 1 deletion src/site/markdown/build/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@ There is a "troubleshooting the build" section at the end of this page.

mvn --version

succeeds.
succeeds. It reports not only the version of Maven, but the version of Java
that Maven has found and is using, which must be a Java version supported
for building PL/Java (see more on [version compatibility](versions.html)).
If Maven is not finding and using the intended Java version, the environment
variable `JAVA_HOME` can be set to point to the desired Java installation,
and `mvn --version` should then confirm that the Java being found is the
one intended.

If you have more than one version installed of PostgreSQL, Java, or the
compile/link tools, make sure the ones found on your search path are the
Expand Down
Loading