[kepler-users] Recipe for using Ptolemy JAI actors?

Christopher Brooks cxh at eecs.berkeley.edu
Mon Mar 15 11:23:20 PDT 2010


Hi Tom,
The JAI actors require that JAI be installed.

http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest/ptII/doc/install_index.htm
says
--start--
JAI
The Java Advanced Imaging (JAI) actors require that JAI, which can be
downloaded from http://java.sun.com/javase/technologies/desktop/techoverview.jsp#jai

You need not install JAI if you are not planning on using the JAI Actors.

Note that you probably want to install the JAI "JDK Install".

We verified that jai-1_1_3-lib-windows-i586-jdk.exe works with these actors.

Note that under Web Start, we had to install the JAI jar files by hand in
c:/Program Files/Java/jre1.6.0_04/lib/ext by copying
jai_codec.jar, jai_core.jar, and mlibwrapper_jai.jar from the
c:/Program Files/Java/jdk1.6.0_04/lib/ext Web Start users might want to try
the "Windows Auto-installation for Java Plug-in"
--end--

For Mac OS 10.5, see
http://chess.eecs.berkeley.edu/ptexternal/wiki/Main/Mac#Ptolemy
--start--
Java Advance Imaging - No need to install, already in System|Library|Java|Extensions (jai_codec.jar, jai_core.jar) - Note that JAI is not available for the Mac from Sun.
--end--

The Ptolemy II Windows installer includes a JRE that includes the Windows JAI
jar files.

The JAI actors have not had much work on them lately, but they seem to
be standing the test of time.

We are also in the process of developing actors that use OpenGL and OpenCV,
but this work is very much a work in progress.

_Christopher


On 3/15/10 10:19 AM, Sean Riddle wrote:
> To try to build the Ptolemy JAI actors, just remove the line
> 'ptolemy/actor/lib/jai/**' in build-area/settings/ptolemy-excludes. You
> might need to remove other directory entries if the JAI actors depend on
> other code. Keep in mind that the reason the JAI actors were exempted
> from compilation in the first place could be because they are a pain to
> compile.
>
> - Sean
>
> On Mar 15, 2010, at 9:50 AM, Thomas M. Parris wrote:
>
>> All,
>>
>> We would like to make use of the Ptolemy JAI actors. But they do not
>> appear
>> to be built as part of the Ptolemy core. We found some dialog about this
>> dating from 2006, but the details have likely changed sibstantially since
>> then.
>>
>> Can anyone provide a recipe for building the Ptolemy JAI actors so
>> they are
>> available for use in Kepler (we're on the trunk).
>>
>> Many thanks,
>> Tom
>>
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670



More information about the Kepler-users mailing list