Teensy 4.1 Arduino IDE Compile fails after Java update to Java 8 update 451 (64bit)

MarkED

New member
Java update to Java 8 update 451 (64bit) seems to make Teensy 4.1 Arduino IDE compiles fail. Tried several programs and all fail. All but one program were unmodified since last successful compile.

Compile fails with:
Code:
internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:192: MapViewOfFileEx: Attempt to access invalid address.

exit status 1

Compilation error: exit status 1

My Teensy 4.1 program uses these Teensy Midi functions:
// usbMIDI.sendNoteOn(note, velocity, channel);
// usbMIDI.sendNoteOff(note, velocity, channel);
// usbMIDI.sendControlChange(control, value, channel);
// usbMIDI.sendProgramChange(program, channel);
// usbMIDI.send_now();

A program I have that does not use the above still successfully compiles
 
Not sure what may be going on in your specific environment, but as a point of reference, I can confirm that my build PC also received the same Java 8 update 451 & my TeensyMIDIPolySynth project (which, with the exception of usbMIDI.send_now(), does make use of that same list of functions on a T4.1) builds & runs successfully, even after that java update.

Might be a good idea to re-install both the Arduino IDE & TeensyDuino (I'm using Arduino IDE 1.8.19 + TD1.60b3 & Arduino IDE 2.3.4 + TD0.60b3).

Hope that helps . . .

Mark J Culross
KD5RXT
 
The error shown can occur at random, probably just a coincidence that it happened after a java upgrade. Restarting the arduino IDE usually fixes it, but sometimes you also have to clear out all the temporary files that it uses.
 
Compile works again. Did what @kd5rxt-mark suggested, did a remove of Teensy Board, installed Adruino IDE again, reinstalled Teensy Board.

Thanks to all for the help!!!!!!
 
Back
Top