Cycling74 / max-mxj

Java support for Max by Cycling '74
MIT License
17 stars 11 forks source link

Logelloop StartOnFirstThread error #25

Closed benbrackenc74 closed 8 years ago

benbrackenc74 commented 8 years ago

The developers of Logelloop are seeing an error with the latest build using this package.

Here is the link to download the Logelloop SDK package :

http://ftp.logelloop.com/Beta/Logelloop_SDK.zip

You may download and install to try and see yourself.

Once it’s installed and enabled in the package manager, open the following patch: My_LFX.Logelloop_Track_LFXi.maxpat.

In the console, the following error is posted:

java.lang.InternalError: Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread is not specified in your application’s Info.plist or on the command line

Using: 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)

Max Beta Version 7.2.5 (1e6b1ae) (32-bit mac)

pslack commented 8 years ago

I've reviewed the MXJ code because I wanted to make sure we didn't start on the first thread, in fact we have not started java on the first thread for OSX, we have made a separate thread to actually launch java, why Java 1.6 thinks it was started on the first thread is a bit of a mystery in this situation. i will reproduce and see if I can find the problem.

tap commented 8 years ago

This one is fixed with the fixes for #28.