← Back to team overview

sikuli-driver team mailing list archive

[Question #676008]: API in Java, running JAR present API::JavaScriptRunner 1.1.4

 

New question #676008 on Sikuli:
https://answers.launchpad.net/sikuli/+question/676008

I'm trying my first application in Java , using Intellij Idea and sikulixapi.jar as additional library.
I'm simply finding the windows start menu button and clicking it.
It's working correctly if I run it from inside the IDE but then I build the JAR artifact and tried to run it outside the IDE, from the command prompt in windows and surprise, it doesn't work, it doesn't do the same as before, instead a window appears with title "API::JavaScriptRunner 1.1.4-SNAPSHOT" end below "enter some JavaScript (know what you do - may silently die ;-) example: run("git*") will run te Javascript showcase from GitHub........." etc etc
It is expecting me to write some javascript code inside the textbox , I think to run it then.
Why this window is appearing ? am I'm building the jar in the wrong way? I correctly specified my class as main class during artifact configuration

any help is appreciated
thenks
Dado


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.