not able to run disable commands uno (example inside the sdk)

asked 2019-07-17 10:00:24 +0100

sanal thomas gravatar image

updated 2019-07-17 12:08:40 +0100

i have successfully compiled the example of Disable commands inside the sdk. but whenevr i try to run the jar i am getting error.

$ make DisableCommandsTest.run

"C:/Program Files/Java/jdk-9.0.1/bin/java" -Dcom.sun.star.lib.loader.unopath="" -jar C:/sources/libo-core/instdir/sdk/WINexample.out/class/OfficeDev/DisableCommandsTest/DisableCommandsTest.jar

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

Error: Could not find or load main class com.sun.star.lib.loader.Loader

Caused by: java.lang.ClassNotFoundException: com.sun.star.lib.loader.Loader make: * [Makefile:87: DisableCommandsTest.run] Error 1

edit retag flag offensive close merge delete