Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

APEXCORE-550 User friendly error message when Java version mismatch happens #579

Closed

Conversation

WenbinZhu
Copy link

No description provided.

@vrozov
Copy link
Member

vrozov commented Sep 6, 2017

The most interesting use case is when mismatch happens on the cluster, not on the client.

@pramodin
Copy link
Contributor

LGTM

@@ -1978,6 +1978,7 @@ public void execute(String[] args, ConsoleReader reader) throws Exception
if (ap != null) {
try {
if (!commandLineInfo.force) {
checkJdkVersionCompatible(ap);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How will the check work in case application is compiled using JDK 1.8 to be compatible with Java 7 or even any prior Java version (-target option)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WenbinZhu Please reply or close the PR if you do not have time to look into it.

@WenbinZhu WenbinZhu closed this Oct 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants