Installing Processing (beta 0115) on FreeBSD-6.1

Valery valery at vslash.com
Wed Aug 9 09:10:49 UTC 2006


Hi all members,

just posting a little guide on :
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1155112507

i do the same here ; thanks to the FreeBSD foundation for its efforts 
with Java integration i was waiting for ..


Processing Installation on FreeBSD-6.1

1. JRE - Diablo JRE-1.5
    Install Java Runtime Environment from the Freebsd Foundation
    http://www.freebsdfoundation.org/downloads/java.shtml

2. Jikes
     Install IBM Java Compiler needed by processing from Port :
     /usr/ports/java/jikes

3. Processing
     Dowload and untar Linux Processing Package from processing.org :
    http://processing.org/download/index.html

     Go to Processing directory and :

3.1 Patch processing launch script :
-----------------------------------------------------------------SOF
--- processing.orig Mon Jul 24 10:23:29 2006
+++ processing  Mon Jul 24 10:25:29 2006
@@ -23,9 +23,9 @@
  # test to see if jikes is operable. i'm a crappy bash scripter
  # so if someone knows a more elegant way to do this, let me know.
  #
-#echo $APPDIR/jikes
+echo $APPDIR/jikes
  "$APPDIR/jikes" -version 1> /dev/null 2> /dev/null
-if [ $? == 0 ]
+if [ $? = 0 ]
  then
    # need to cd to the dir because subfolders like lib et al need to be 
ready
    cd "$APPDIR" && java processing.app.Base
EOF-------------------------------------------------------------------


3.2 Link java subdir to FreeBSD Diablo JRE-1.5 :
     % mv java java.orig
     % ln -s /usr/local/diablo-jre1.5.0/ java

3.3 Link jikes to FreeBSD jikes :
     % mv jikes jikes.orig
     % ln -s /usr/local/bin/jikes jikes

4. Running :
     You can launch Processing script now
     ./processing

PS : most examples have been tested and run well ; my box don't have a 
3D video board, so i can't test OpenGL i don't use ; i will try sound, 
serial/usb io (very important ..) and some other things as soon as i get 
time ..

Enjoy !

v/


More information about the freebsd-java mailing list