Hi Johan,
thanks for the quick reply!
Now i've started the Smart Client via Terminal java -jar bootstrapper.jar
The exception when executing application.showURL() is the following:
- Code: Select all
java.io.IOException: java.lang.ClassNotFoundException: com.apple.mrj.MRJFileUtils
at com.servoy.j2db.util.BrowserLauncher.openURL(BrowserLauncher.java:60)
at com.servoy.j2db.smart.StandAloneRemoteChecker.showURL(StandAloneRemoteChecker.java:119)
at com.servoy.j2db.smart.J2DBClient.showURL(J2DBClient.java:4278)
at com.servoy.j2db.scripting.JSApplication.js_showURL(JSApplication.java:2048)
at com.servoy.j2db.scripting.JSApplication.js_showURL(JSApplication.java:1983)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:166)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
Seems that the class com.apple.mrj.MRJFileUtils could not be found.
Do you know this class?
Thanks for the workaround with the Desktop API. I also will try this.
Alex