Thanks again!
Let me explain what I did:
I got it to work by installing sun java 1.6 (not open JDK) from multiverse and partner repositories on my ubuntu 10.10.
Now Processing works like a charm, no glitches.
Now when I run java -version I get:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
But it doesn't tell if it's 64 bit or 32 bit (my Ubuntu is 64bit). Do you know how I check the Java bit version?
And here is the bash -x processing output:
I couldn't find the 64bit note.
- matjaz@matjaz-NV59C:~/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1$ bash -x processing
+ JDKLIBS='rt.jar tools.jar'
+ LOGGING=0
++ readlink -f processing
+ APPDIR=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/processing
++ dirname /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/processing
+ APPDIR=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1
+ log APPDIR
+ '[' 0 -ne 0 ']'
++ readlink -f /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java
+ JDKDIR=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java
+ make_jdkcp /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java
+ '[' -f /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/../bin/java ']'
+ DIR=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java
+ log DIR
+ '[' 0 -ne 0 ']'
+ JDKCP=
+ SUCCESS=1
+ for L in '$JDKLIBS'
++ find /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java -name rt.jar
++ head -n 1
+ LIB=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar
+ log L
+ '[' 0 -ne 0 ']'
+ log LIB
+ '[' 0 -ne 0 ']'
+ '[' -n /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar ']'
+ JDKCP=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar
+ for L in '$JDKLIBS'
++ find /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java -name tools.jar
++ head -n 1
+ LIB=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar
+ log L
+ '[' 0 -ne 0 ']'
+ log LIB
+ '[' 0 -ne 0 ']'
+ '[' -n /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar ']'
+ JDKCP=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar
+ log JDKCP
+ '[' 0 -ne 0 ']'
+ log SUCCESS
+ '[' 0 -ne 0 ']'
+ '[' 1 -ne 1 ']'
+ CLASSPATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar
+ for LIB in '"$APPDIR"/lib/*.jar'
+ CLASSPATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant.jar
+ for LIB in '"$APPDIR"/lib/*.jar'
+ CLASSPATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant-launcher.jar
+ for LIB in '"$APPDIR"/lib/*.jar'
+ CLASSPATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant-launcher.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/antlr.jar
+ for LIB in '"$APPDIR"/lib/*.jar'
+ CLASSPATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant-launcher.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/antlr.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/core.jar
+ for LIB in '"$APPDIR"/lib/*.jar'
+ CLASSPATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant-launcher.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/antlr.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/core.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ecj.jar
+ for LIB in '"$APPDIR"/lib/*.jar'
+ CLASSPATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant-launcher.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/antlr.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/core.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ecj.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/jna.jar
+ for LIB in '"$APPDIR"/lib/*.jar'
+ CLASSPATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/rt.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/lib/tools.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ant-launcher.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/antlr.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/core.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/ecj.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/jna.jar:/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/lib/pde.jar
+ export CLASSPATH
+ log CLASSPATH
+ '[' 0 -ne 0 ']'
+ export PATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+ PATH=/home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/java/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+ log PATH
+ '[' 0 -ne 0 ']'
+ cd /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1
+ '[' '' ']'
+ SKETCH=
+ java processing.app.Base ''
PS: When looking up 'man java' under - d32 and -d64 it says it's set to 32 by default if not explicitly changed to 64 (the OS needs to be 64 for that). I tried typing java -d64, but seemingly nothing changed, it just printed a similoar list that I get when typing man java...???