"Error: This Java instance does not support a 32-bit JVM." [1] "Please install the desired version."
<p>I'm using Processing 1.5.1 for Mac OS X El Capitan and when I run some code on my app it displays that message. When I type java -version I get: </p>

<p><code>java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)</code></p>

<p>and when I type /usr/libexec/java_home -V I get: </p>

<pre><code>Matching Java Virtual Machines (3):
1.8.0_65, x86_64:   "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
1.6.0_65-b14-468, x86_64:   "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_65-b14-468, i386: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
</code></pre>

<p>I've tried setting JAVA_HOME to:</p>

<pre><code>export JAVA_HOME=`/usr/libexec/java_home -v 1.6.0_65-b14-468`
</code></pre>

<p>but still when I reopen Processing it still displays the same error. Any help or suggestions to force it to run JVM 32-bit?</p>