OpenVPMS Editor Launcher not supported on OSX

Description

The OpenVPMS Editor Launcher started by External Edit uses SWT to locate OpenOffice on the local machine.

This doesn't work on OSX, and apparently relates to the requirements of SWT on OSX is that the JVM be launched with -XstartOnFirstThread.
This is supplied in the externaledit.jnlp file i.e.:

1 2 3 4 5 6 7 8 9 <resources os="Mac OS X" arch="x86_64"> <java version="1.6+" java-vm-args="-XstartOnFirstThread"/> <jar href="org.eclipse.swt.cocoa.macosx.x86_64-${swt.version}.jar"/> </resources> <resources os="Mac OS X" arch="i386"> <java version="1.6+" java-vm-args="-XstartOnFirstThread"/> <jar href="org.eclipse.swt.cocoa.macosx-${swt.version}.jar"/> </resources>


Despite these reports:

it is possible to get -XstartOnFirstThread passed to the JVM if there is no <java...> element in the main resource.
However the JVM terminates before executing the main line, with no errors.

A corresponding bug report appears to be: https://bugs.openjdk.java.net/browse/JDK-8147056

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Fix versions

Affects versions

1.9

Priority

Major
Configure