most pixels ever issue - Unable to access jarfile mpeServer.jar
in
Contributed Library Questions
•
2 years ago
Hi,
java -jar mpeServer.jar -debug1 -framerate30 -screens2
I am sorry to say that I have a fairly limited understanding of processing and coding (but am trying to learn).
I am trying to use the mostpixelsever library by Daniel Shiffman.
The tutorial at the url below states that you should enter the terminal code below into terminal.
java -jar mpeServer.jar -debug1 -framerate30 -screens2
However, I get the following error:
Unable to access jarfile mpeServer.jar
I have tried googling this in all sorts of combinations of search terms but all I got was the possibility that I am not referencing where the mpeServer.jar file is on my computer properly (using a Macbookpro).
The processing sketch told me I had to change my java to 1.6, so I did this.
But now there is a processing sketch error (I am assuming it's because of the terminal issue?):
Client: Settings: server = localhost:9002, id = 0, local dimensions = 200, 400, location = 0, 0
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.<init>(Socket.java:372)
at java.net.Socket.<init>(Socket.java:186)
at mpe.client.TCPClient.start(TCPClient.java:450)
at mpeTest.setup(mpeTest.java:56)
at processing.core.PApplet.handleDraw(PApplet.java:1383)
at processing.core.PApplet.run(PApplet.java:1311)
at java.lang.Thread.run(Thread.java:637)
Client: Running!
Client: Sending: S0
Exception in thread "Thread-2" java.lang.NullPointerException
at mpe.client.TCPClient.send(TCPClient.java:606)
at mpe.client.TCPClient.run(TCPClient.java:469)
I am just trying to run the example sketch that comes with the library.
Does anybody have any ideas?
Thank you so much in advance.
Jamie
1