Note that there are some explanatory texts on larger screens.

plurals
  1. POJava exit code 13 on Eclipse RCP application (Indigo)
    text
    copied!<p>I seem to have a 32bit vs. 64bit problem here. It should be simple to solve, but I'm hoping you can help me by pointing out the problem. I really want to avoid re-installing OSs, Eclipse, several plugins, JDKs and JREs over and over again to find a working solution. Many thanks in advance!</p> <p>I build on a 64bit Thinkpad, in 64bit Windows 7. I have built an Eclipse RCP application in Indigo (3.7.1.), 32-bit version. The only "Javas" I have on this machine is a 1.6.29 32bit JRE, and a 1.6.29 32bit JDK. I've installed these (perhaps in false assumption) to be able to build for 32bit systems, and not screw things up by building on a 64bit machine.</p> <p>Seems I was wrong: when I export the application (as Eclipse product) I get the dreaded Java exit code=13:</p> <p><img src="https://i.stack.imgur.com/myGYM.png" alt="Startup exit code 13"></p> <p>I am sure this is somehow to do with the combination of 32bit software on a 64bit system (if you can prove me wrong, even better!).</p> <p>Does one of you know how I can set this up properly and still be able to build for win32?</p> <p>Again, many thanks!</p> <h1>UPDATE</h1> <p>I have installed 64-bit Eclipse 3.7.1, and JRE 1.6_30 + JDK 1.6_30, both 64-bit versions. However, <strong>the error remains</strong>! I think this might either be a bug, or I'm doing something else wrong.</p> <p>First of all, here is the error message: <img src="https://i.stack.imgur.com/V2ztX.png" alt="Error message on start of eclipse.exe"></p> <p>For this build, I didn't use the <code>Delta Pack</code> but instead added the RCP SDK <code>Software Site</code> to the target definition, choosing the option "include all environments" (or similar).</p> <p>Also in the <code>target definition</code>, I set the target environment to <code>win32</code> (OS and WS) and <code>x86_64</code> (arch). Furthermore, I set the <code>Environment</code> to use the default JRE.</p> <p>In the <code>product configuration</code>, I set the <code>Execution Environment</code> to JavaSE 1.6, and set the JRE to be packaged.</p> <p>Also, here's my <code>eclipse.ini</code>: -startup plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502</p> <p>Any ideas?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload