sdk jar can't find the office executable

I tried the following example in Eclipse and it works. I went through and configured

Yet, when I export the program as jar file and try to run the jar, it says that it can’t find the executable. What gives?

[brian@localhost pkg]$ java -jar simpleSwriter.jar no office executable found!
	at bookmarks.SWriter.main(
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.base/java.lang.reflect.Method.invoke(
	at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(


Did you source (. ./ before you executed java -jar simpleSwriter.jar ?

Yes. I can run the class directly from the command line too. The SWriter class is in the bookmarks package.

[brian@localhost bin]$ java bookmarks.SWriter

Connected to a running office ...
Opening an empty Writer document

Yet, if I try to run the executable jar, no go

[brian@localhost pkg]$ java -jar simpleSwriter.jar no office executable found!

Does anybody have a runnable jar that runs?