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 › Processing on Debian Linux
Page Index Toggle Pages: 1
Processing on Debian Linux (Read 834 times)
Processing on Debian Linux
Jan 17th, 2009, 1:49am
 
Hi all,

i just read the article @ LinuxMagazin (a linux mag from germany Wink) and was very supprised of the convenience of processing. But i can't get processing to work on a linux machine using jdk from Sun. First, here's the error message when i try to start a sketch:

Exception in thread "Thread-3" java.lang.Error: Unable to launch target VM: java.net.BindException: Die angeforderte Adresse kann nicht zugewiesen werden
       at processing.app.debug.Runner.launchVirtualMachine(Runner.java:410)
       at processing.app.debug.Runner.launch(Runner.java:122)
       at processing.app.Editor$43.run(Editor.java:1572)
       at java.lang.Thread.run(Thread.java:619)

Second my java Version:
# java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)

I already read the text at http://www.processing.org/reference/environment/platforms.html but, as i said, i'm using the official JDK/JRE from Sun and not the openjdk or gij-package.

Also neither "launcher=/usr/bin/java" (written down in LinuxMagazin) nor "launcher.linux=/usr/bin/java" (Enviroment-page) works.

Ideas? Mistakes i've done during install?

Re: Processing on Debian Linux
Reply #1 - Jan 17th, 2009, 2:00am
 
what distro and kernel version are you using?

I've ran Processing on Ubuntu & Kububtu successfully and they are debian based.
Re: Processing on Debian Linux
Reply #2 - Jan 17th, 2009, 2:31am
 
action_owl wrote on Jan 17th, 2009, 2:00am:
what distro and kernel version are you using

I've ran Processing on Ubuntu & Kububtu successfully and they are debian based.


OS: Debian Lenny (Testing 5.0)

# uname -a
Linux rl 2.6.26-1-686 #1 SMP Mon Dec 15 18:15:07 UTC 2008 i686 GNU/Linux

/edit
The problem was that i have to enable localhost so the jvm has something to listen on. So "ifup lo" solves the problem.
Page Index Toggle Pages: 1