[liblouis-liblouisxml] Re: BrailleZephyr project on github

  • From: "Michael Whapples" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "mwhapples@xxxxxxx" for DMARC)
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 5 Aug 2015 17:11:11 +0100

You need to give the JVM the argument: -XstartOnFirstThread

Does that work?

Mike, I believe this argument is harmless on other systems and so may be worth having this in a launcher so users need not get concerned by it.

Michael Whapples

On 05/08/2015 16:34, Greg Kearney wrote:

OK so I built a jar file as suggested on my Mac. Everything went as expected
and I got the file. However when I run it on my mac I get the following:

gkearney:build gkearney$ java -jar
/Users/gkearney/Downloads/BrailleZephyr-master/build/libs/BrailleZephyr-master-macosx-x86_64-0.1.jar
***WARNING: Display must be created on main thread due to Cocoa restrictions.
Exception in thread "main" org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.widgets.Display.error(Unknown Source)
at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
at org.eclipse.swt.widgets.Display.create(Unknown Source)
at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.aph.braillezephyr.Main.main(Main.java:32)


Commonwealth Braille & Talking Book Cooperative
Greg Kearney, General Manager
#320, 185-911 Yates Street
Victoria, BC V8V 4Y9
CANADA
Email: info@xxxxxxxxx

U.S. Address
21908 Almaden Av.
Cupertino, CA 95014
UNITED STATES
Email: gkearney@xxxxxxxxx




On Aug 5, 2015, at 6:21 AM, Michael Gray <mgray@xxxxxxx> wrote:

./gradlew allJars
For a description of the software, to download it and links to
project pages go to http://liblouis.org

For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: