Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2015-10-06 23:29:33 +0000
committerThomas Watson2015-10-21 12:41:06 +0000
commitb120a79e6bbc463623cee49ee574a063e3723f75 (patch)
treee8a2548d2077aa88cc33f541d19f71cf3236b046
parentdd65305bf1442ab1ff941bb2896ee62935fc85c3 (diff)
downloadrt.equinox.framework-b120a79e6bbc463623cee49ee574a063e3723f75.tar.gz
rt.equinox.framework-b120a79e6bbc463623cee49ee574a063e3723f75.tar.xz
rt.equinox.framework-b120a79e6bbc463623cee49ee574a063e3723f75.zip
Bug 221969 - [launcher] Eclipse unable to determine architecture
mismatch (32 bit vrs 64 bit) on startup causing crash without reasonable error message Change-Id: Ie4a7c571adc4707874e5deae784b1dbfd8c041ca Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index c4bac8e1d..00143d4e9 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -11,6 +11,7 @@
* Red Hat Inc. - bug 373640, 379102
* Ericsson AB (Pascal Rapicault) - bug 304132
* Rapicorp, Inc - Default the configuration to Application Support (bug 461725)
+ * Lars Vogel <Lars.Vogel@vogella.com> - Bug 221969
*******************************************************************************/
package org.eclipse.equinox.launcher;
@@ -1531,6 +1532,10 @@ public class Main {
else
message += ". See the log file\n" + logFile.getAbsolutePath(); //$NON-NLS-1$
System.getProperties().put(PROP_EXITDATA, message);
+ } else {
+ // we have an exit code of 13, in most cases the user tries to start a 32/64 bit Eclipse
+ // on a 64/32 bit Eclipse
+ log("Are you trying to start an 64/32-bit Eclipse on a 32/64-JVM? These must be the same, as Eclipse uses native code.");
}
// Return "unlucky" 13 as the exit code. The executable will recognize
// this constant and display a message to the user telling them that

Back to the top