Can't get Groovy script to work with Windows


i try a lot of thing, but cant get it to work.
this is the line i change in openhab.bat

java -Dorg.osgi.framework.bundle.parent=ext
-cp "c:\openhab\lib\groovy-2.4.5.jar;%EQUINOXJAR%" org.eclipse.equinox.launcher.Main %* 

ps:enter have been add for readability, but its on one line in the file

any idea what ive done wrong?


Found IT!!!

-cp c:\openhab\lib*;%EQUINOXJAR% org.eclipse.equinox.launcher.Main

no " needed and i used the wild card *

I think i will post something in the wiki about it. I am sure their is other people using windows!

1 Like