Processingでsketchをrunした時に以下のエラーが起こる。
環境:debian squeeze
---
Exception in thread "Thread-3" java.lang.Error: Unable to launch target VM: java.net.SocketException: 無効な引数です
at processing.app.debug.Runner.launchVirtualMachine(Runner.java:421)
at processing.app.debug.Runner.launch(Runner.java:122)
at processing.app.Editor$43.run(Editor.java:1652)
at java.lang.Thread.run(Thread.java:619)
---
対処法:
rootで /etc/sysctl.d/bindv6only.conf の以下の値を1から0に変更。
net.ipv6.bindv6only = 0
その後、
invoke-rc.d procps restart
を実行する。
情報源:
http://processing.org/discourse/yabb2/YaBB.pl?num=1261483799