# Can't run exported 32-bit windows app

**URL:** <https://discourse.processing.org/t/cant-run-exported-32-bit-windows-app/16351>\
**Category:** Processing\
**Created:** [December 12, 2019, 7:45pm UTC](https://discourse.processing.org/t/cant-run-exported-32-bit-windows-app/16351 "2019-12-12T19:45:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronnyDD](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@ronnyDD](https://discourse.processing.org/u/ronnyDD)\
**Post date:** [December 12, 2019, 7:45pm UTC](https://discourse.processing.org/t/cant-run-exported-32-bit-windows-app/16351/1 "2019-12-12T19:45:58Z")

</div>

I have almost nothing written in my program, 64-bit version runs perfectly, but when i export a 32-bit version in a 32-bit processing version, it shows an error when i run it:

OpenGL ES Error  
Can’t find the Intel graphics

Also i can’t run unexported 32-bit app too, it shows this at the end:

Target VM failed to initialize.

What should i do?

```auto
void setup()
{ 
  size(1366, 768, P3D);
  frameRate(30);
}

```

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [December 13, 2019, 2:02am UTC](https://discourse.processing.org/t/cant-run-exported-32-bit-windows-app/16351/2 "2019-12-13T02:02:22Z")

</div>

i work on a win10 - 64bit system

- install processing 3.5.3 windows 32bit
- test it with a setup P3D
- export windows 32 incl JAVA
- run that export on the 64 bit windows,

NO PROBLEM

 ![p353_32_firstStart](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/853edb306244e2fc0641f1d3569cd749ab4e835e.png)

 ![p353_32_export](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/0d2c7289fa69ded31595273304c95361137df3cd.png)

 ![p353_32_export](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/c/c51385dedf0a8b1f26716c17d31fb77870318fe9.png)

 ![p353_32_runExport32](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/8/82a5a6eb4dfa86625f19c162fda14fba62d8fde1.png)

---

<div class="post-metadata">

**Author:** ![ronnyDD](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@ronnyDD](https://discourse.processing.org/u/ronnyDD)\
**Post date:** [December 13, 2019, 1:33pm UTC](https://discourse.processing.org/t/cant-run-exported-32-bit-windows-app/16351/3 "2019-12-13T13:33:31Z")

</div>

You’re not helping me. If i said it works on 64-bit processing, it means i did everything correctly. It’s something with drivers, I don’t know what to do…

Here’s more information: I have to use 3d processing (write P3D as size function 3rd argument) rendering, only then the crash appears.

It looks like java problem, but i haven’t had problem like this before, so it only happens in processing.

 ![Untitled2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/23683206e9a47abd265b2504ac47c7eec69831ba.png)

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [December 13, 2019, 2:07pm UTC](https://discourse.processing.org/t/cant-run-exported-32-bit-windows-app/16351/4 "2019-12-13T14:07:45Z")

</div>

thanks for show the error,  
but now i am confused:

when i run the processing 3.5.3 for windows 32bit  
and use renderer P3D and ask for the system info:  
that refs to the JAVA what comes with the processing: 1.8.0\_202

```auto
__SYS INFO :
System : Windows 10 10.0
JAVA : R:\TEMP\processing-3.5.3_32b\java rev: 1.8.0_202
OPENGL : VENDOR NVIDIA Corporation RENDERER GeForce GT 1030/PCIe/SSE2 VERSION 4.6.0 NVIDIA 432.00 GLSL_VERSION: 4.60 NVIDIA

```

how can you have a error from JAVA 1.8.0\_231-b11  
you not use original ?  
[http://download.processing.org/processing-3.5.3-windows32.zip](http://download.processing.org/processing-3.5.3-windows32.zip)

from the installed  
[http://download.processing.org/processing-3.5.3-windows64.zip](http://download.processing.org/processing-3.5.3-windows64.zip)  
when you run and export that only gives you a working 64bit version  
( and a 32bit version without JAVA what does not work (or better expects a external JAVA what fits. ))

---

<div class="post-metadata">

**Author:** ![ronnyDD](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@ronnyDD](https://discourse.processing.org/u/ronnyDD)\
**Post date:** [December 13, 2019, 2:13pm UTC](https://discourse.processing.org/t/cant-run-exported-32-bit-windows-app/16351/5 "2019-12-13T14:13:39Z")

</div>

Yeah, i tried updating java in case that fixes it and i forgot to move the original one back. I redownloaded processing 32-bit and it’s still the same.

 ![Untitled](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/405d91f96e7bc41a6ab5748cfdd523c293b90a93.jpeg)

Oh i also tried turning off second monitor, still doesn’t work. That’s why there’s a second monitor on this photo.

By the way, how do i get “\_\_SYS INFO:” thing? I would put that there in case it would help.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [December 13, 2019, 2:38pm UTC](https://discourse.processing.org/t/cant-run-exported-32-bit-windows-app/16351/6 "2019-12-13T14:38:27Z")

</div>

sorry, my  
stress-test and info tool

```auto
// kll bench and stress test with sysinfo and numinfo
// key [+] [-] [s]
// graphic card info only see with P2D P3D renderer
 
float rset=120, r;
int x = 0;
int w = 400;
int h = 200;
int grid=20, many = grid*grid;
boolean stressenable=true;

void settings() {
  //size(w, h); // default use JAVA2D 
  // size(w, h,FX2D);
  // size(w, h,P2D);
  size(w, h,P3D); //depricated size(w, h,OPENGL);
}

void setup() {
  frameRate(rset);
  background(200, 200, 0);
  numinfo();
  sysinfo();
  println("\nstresstest ( "+grid+"*"+grid+" = "+many+" ) points, [+][-] grid +-10" );
}

void draw() {
  surface.setTitle("SYS INFO set "+rset+": "+ nf(r, 0, 1)+" FPS" );
  if ( stressenable ) stress();
  r = frameRate;
  if ( r > 30 ) stroke(0, 200, 0); 
  else stroke(200, 0, 0);
  line(x, height-2, x, height-2-r); // FPS graph
  x++;
  if ( x > width ) { 
    x = 0; 
    background(200, 200, 0);
  }
}

void stress() {
  push();
  /*
  // test IFs
  long test = grid*1000000l;
  for ( long i=0; i<test; i++) if ( ! stressenable ) println("never");
  */
  for ( int i=0; i<grid; i++) {
    for ( int j=0; j<grid; j++) {
      stroke(random(255), random(255), random(255) );
      point(5+i, 5+j);
    }
  }
  
  pop();
}

void sysinfo() {
  println( "__SYS INFO :");
  println( "System : " + System.getProperty("os.name") + " " + System.getProperty("os.version") );// + " " + System.getProperty("os.arch") );
  println( "JAVA : " + System.getProperty("java.home") + " rev: " +javaVersionName);
  //println( System.getProperty("java.class.path") );
  //println( "\n" + isGL() + "\n" );
  println( "OPENGL : VENDOR " + PGraphicsOpenGL.OPENGL_VENDOR+" RENDERER " + PGraphicsOpenGL.OPENGL_RENDERER+" VERSION " + PGraphicsOpenGL.OPENGL_VERSION+" GLSL_VERSION: " + PGraphicsOpenGL.GLSL_VERSION);
  println( "user.home : " + System.getProperty("user.home") );
  println( "user.dir : " + System.getProperty("user.dir") );
  println( "user.name : " + System.getProperty("user.name") );
  println( "sketchPath : " + sketchPath() );
  println( "dataPath : " + dataPath("") );
  println( "dataFile : " + dataFile("") );
  println( "frameRate : target "+nf(rset, 0, 1)+" actual "+nf(r, 0, 1));
  println( "canvas : width "+width+" height "+height+" pix "+(width*height));
}

void numinfo() {
  println( "__NUM INFO :");
  println( "byte "+Byte.SIZE+ " bit | min: "+Byte.MIN_VALUE+ "\t\t\t max: "+Byte.MAX_VALUE);
  println( "short "+Short.SIZE+ " bit | min: "+Short.MIN_VALUE+ "\t\t\t max: "+Short.MAX_VALUE);
  println( "int "+Integer.SIZE+" bit | min: "+Integer.MIN_VALUE+"\t\t max: " +Integer.MAX_VALUE);
  println( "long "+Long.SIZE+ " bit | min: "+Long.MIN_VALUE+ "\t max: " +Long.MAX_VALUE);
  println( "float "+Float.SIZE+ " bit | min: "+Float.MIN_VALUE+ "\t\t\t max: "+Float.MAX_VALUE);
  println( "double "+Double.SIZE+ " bit | min: "+Double.MIN_VALUE+ "\t\t\t max: "+Double.MAX_VALUE);
}

void keyPressed() {
  if ( key == 's' ) stressenable = ! stressenable;
  if ( key == '+' ) {
    grid +=10;
    many = grid*grid;
    println("stresstest ( "+grid+"*"+grid+" = "+many+" ) points" );
  }
  if ( key == '-' ) {
    grid -=10;
    many = grid*grid;
    println("stresstest ( "+grid+"*"+grid+" = "+many+" ) points" );
  }
}

```

works NOT if the renderer is damaged anyhow.

* * *

ok now i see the correct JAVA version in the error picture.  
( sure now it is the internal one?

sorry, about the 2 monitor no idea, and how that could be related.

* * *

but besides your ?windows problem?  
what you try to do anyhow,

you can create and run your sketch on the win 64bit / processing 64bit.

you can export from there the 64bit version with JAVA included,

using the 32 bit processing you can export the 32 bit version with THAT JAVA included  
( just can not run it ( as sketch or export )

but what you are doing that for? to share it with others who have ?win7 32bit?

now try to test the 32bit export on a old system, if run you actually got what you needed,  
despite the ERROR.
