We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionGeneral Discussion,  Status › Run sketch from IDE fails on debian + workaround
Page Index Toggle Pages: 1
Run sketch from IDE fails on debian + workaround (Read 1134 times)
Run sketch from IDE fails on debian + workaround
Dec 22nd, 2009, 4:09am
 
Please move if inadequate for this partition of the board.

Recently, debian changed a system default, that prevents the Processing 1+ IDE to run any sketches and also makes processing sketches that open network connections fail when run as applactions.

The debian devel list message is here  http://lists.debian.org/debian-devel/2009/10/msg00541.html

The workaround is to edit "/etc/sysctl.d/bindv6only.conf" and set "net.ipv6.bindv6only = 0" and "invoke-rc.d procps restart" to tell the kernel about the change.

The error message in the IDE is "java.lang.Error: Unable to launch target VM: java.net.SocketException: Invalid argument".

The error message of an app is "java.net.NoRouteToHostException: Network is unreachable".

Maybe explanation and workaround should find its way into a FAQ as this will hurt most people that enjoy processing, java in general and debian at the same time.

Now, back to having fun with processing Smiley

--
peter
Page Index Toggle Pages: 1