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

sayantan posted a new comment:
The java version I am using is 1.7.0_85. I am going to try with version
8 and report out what I see.

Btw, here's the java application that I've come up with.  I am running
into the errors above at the VNCScreen.start (commented below)


import java.io.IOException;
import java.net.Socket;

import org.sikuli.basics.Debug;
import org.sikuli.script.*;
import edu.unh.iol.dlc.ConnectionController;
import edu.unh.iol.dlc.VNCScreen;

public class test {
        public static void main(String[] args) {
                try{
                
        
                        Socket s=new Socket("127.0.0.1",5903);
                        //if(s.isConnected())
                    //  System.out.print("Connected");
                   // else
                    //  System.out.print("Not Connected");
                
                
                        //s.setSoTimeout(1000);
                        //s.setKeepAlive(true);
                        ConnectionController cc = new ConnectionController(s);
                        cc.openConnection(0); 
                cc.start(0); 
                        Thread.sleep(2000);
                        Screen S =new Screen();
                        Debug.on(3);
                //VNCScreen vnc = VNCScreen.start("127.0.0.1", 5903,10, 10000);
        //      vnc.click();
                
                }
                catch(IOException | InterruptedException e)
                {
                        System.out.print("error");
                }               
        }
}

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to