← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #260380]: Using JPype: java.awt.HeadlessException on Mac OS

 

Question #260380 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/260380

    Status: Answered => Open

rita is still having a problem:
This is real machine and in case I delete
'-Djava.awt.headless=true' from
startJVM(JVM, '-ea',"-Djava.class.path=sikuli-java.jar", '-Djava.awt.headless=true')

next error appeared:
 login_window=sikuli.Pattern("con.png")
  File "/Library/Python/2.7/site-packages/jpype/_jclass.py", line 79, in _javaInit
    self.__javaobject__ = self.__class__.__javaclass__.newClassInstance(*args)
jpype._jexception.VirtualMachineErrorPyRaisable: java.lang.InternalError: Can't start the AWT because Java was started on the first thread.  Make sure StartOnFirstThread is not specified in your application's Info.plist or on the command line

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.