From owner-freebsd-java@FreeBSD.ORG Wed Aug 9 09:10:49 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B26016A4DA for ; Wed, 9 Aug 2006 09:10:49 +0000 (UTC) (envelope-from valery@vslash.com) Received: from mail.vslash.com (bgl93-1-82-67-185-6.fbx.proxad.net [82.67.185.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F67843D49 for ; Wed, 9 Aug 2006 09:10:48 +0000 (GMT) (envelope-from valery@vslash.com) Received: from [192.168.0.22] (oxe.intranet.vslash.com [192.168.0.22]) by mail.vslash.com (Postfix) with ESMTP id 8F88F8441D for ; Wed, 9 Aug 2006 11:14:26 +0200 (CEST) Message-ID: <44D9A625.9000300@vslash.com> Date: Wed, 09 Aug 2006 11:08:53 +0200 From: Valery User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060317 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Installing Processing (beta 0115) on FreeBSD-6.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 09:10:49 -0000 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/