JavaScool:ProcessingLinux : Différence entre versions
De Sciencinfolycee
m (Page créée avec « == How to nicely install processing with linux == # As root you have to ## Install the Sun JDK6 in a standard location, e.g. ''/usr/java'' ## Gets, e.g. ''jdk-6u21-linux-i5... ») |
m (→How to nicely install processing with linux) |
||
Ligne 2 : | Ligne 2 : | ||
# As root you have to | # As root you have to | ||
## Install the Sun JDK6 in a standard location, e.g. ''/usr/java'' | ## Install the Sun JDK6 in a standard location, e.g. ''/usr/java'' | ||
− | ## Gets, e.g. ''jdk-6u21-linux-i586.bin'', from http://www.oracle.com/technetwork/java/javase/downloads/index.html in ''/tmp'' | + | ### Gets, e.g. ''jdk-6u21-linux-i586.bin'', from http://www.oracle.com/technetwork/java/javase/downloads/index.html in ''/tmp'' |
− | ## Runs ''cd /usr/java ; /tmp/jdk-6u21-linux-i586.bin'' and follow instructions | + | ### Runs ''cd /usr/java ; /tmp/jdk-6u21-linux-i586.bin'' and follow instructions |
## Install the processing files | ## Install the processing files | ||
## Gets, e.g. ''processing-1.4.2.1.tgz'' from http://processing.org/download | ## Gets, e.g. ''processing-1.4.2.1.tgz'' from http://processing.org/download |
Version du 3 octobre 2010 à 18:40
How to nicely install processing with linux
- As root you have to
- Install the Sun JDK6 in a standard location, e.g. /usr/java
- Gets, e.g. jdk-6u21-linux-i586.bin, from http://www.oracle.com/technetwork/java/javase/downloads/index.html in /tmp
- Runs cd /usr/java ; /tmp/jdk-6u21-linux-i586.bin and follow instructions
- Install the processing files
- Gets, e.g. processing-1.4.2.1.tgz from http://processing.org/download
- Copy processing in a standard location, e.g. /usr/java
- tar xvzf processing-1.4.2.1.tgz ; mv processing-1.2.1 /usr/java ; /bin/rm processing-1.4.2.1.tgz
- Link the JDK6 to processing
- /bin/rm -rf /usr/java/processing-1.2.1/java ; ln -s /usr/java/jdk1.6.0_21 /usr/java/processing-1.2.1/java
- Install the proper sound librairies from the openjdk to the sunjdk (use locate libpulse-java.so to find the libraries in your system)
- cp /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/libpulse-java.so /usr/java/jdk1.6.0_21/jre/lib/i386/
- cp /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/ext/pulse-java.jar /usr/java/jdk1.6.0_21/
- Install the Sun JDK6 in a standard location, e.g. /usr/java