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.
IndexProgramming Questions & HelpIntegration › Installing Processing on FreeBSD-6.1
Page Index Toggle Pages: 1
Installing Processing on FreeBSD-6.1 (Read 1755 times)
Installing Processing on FreeBSD-6.1
Aug 9th, 2006, 10:35am
 
Hi all,

you can run processing on a FreeBSD box without trouble ; in order to run Java properly, you must use the 6.1 release of FreeBSD which provide now (yeah !) a JRE-1.5 package.

In 4 steps :

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/
Re: Installing Processing on FreeBSD-6.1
Reply #1 - Aug 9th, 2006, 3:33pm
 
excellent, thanks for posting.
Re: Installing Processing on FreeBSD-6.1
Reply #2 - Jan 22nd, 2008, 9:47am
 
http://blog.deathofapunchline.com/post/23245845/freebsd-visualization-machine (UPDATED LINK)

A few more hints on running FreeBSD with Processing and ESS.

Goes over installing the FreeBSD system, links from various Prcessing sources, and a screenshot.

Sorry, I couldn't copy and paste it here (it is too long for the boards).
Re: Installing Processing on FreeBSD-6.1
Reply #3 - May 17th, 2008, 11:19pm
 
Thanks for this info!

I tried to run processing0135 under FreeBSD 7.0-Release and it worked, for a while... After a couple of minutes (sometimes just a couple of seconds) the application crashes with no error message in console; it just quits.

Could the problem reside in the JavaVM ? I installed diablo-jre150 and jikes from ports.

Any ideas?

BTW: the link to http://deathofapunchline.com/post/23245845 seems to be broken.

Thanks in advance
Page Index Toggle Pages: 1