Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] running csnd.jar

Date2005-11-11 04:51
From"Michael Gogins"
SubjectRe: [Cs-dev] running csnd.jar
On Windows I just do:

java -jar csnd.jar

The Windows media player path is indeed hard-coded. This should be removed 
with something read from a configuration file.

Regards,
Mike

----- Original Message ----- 
From: "Victor Lazzarini" 
To: 
Sent: Thursday, November 10, 2005 2:49 PM
Subject: Re: [Cs-dev] running csnd.jar


> Thanks, Steven, that did it.
>
> However, csound won't play. I get this, when I try to
> play from the editor:
>
> java.io.IOException: C:\Program: not found
>
> That sounds like a hardcoded windows path. Any idea
> where it hails from, Michael?
>
> Victor
>>
>> This might be related to what happened on Linux, where
>> Java expects the library to be named lib_csnd.so (though,
>> I haven't tested the java binding on Linux yet since the
>> last time).
>>
>> From this document:
>>
>> http://developer.apple.com/documentation/Java/Conceptual/
> Java14Development/05-CoreJavaAPIs/CoreJavaAPIs.html
>>
>> It seems that the library should be called lib_csnd.jnilib
>> (sorry, no OSX currently for me to test on)
>>
>> steven
>>
>> On 11/10/05, Victor Lazzarini 
>> > wrote: No luck using -Djava.library.path (with several
>> alternatives) >
>> >
>> > At 16:55 10/11/2005, you wrote:
>> > >java -Djava.library.path='mydir/_csnd.dll' -jar
>> > csnd.jar >
>> > >I think... I'm not at home, I'll mail you my script.
>> > >
>> > >-----Original Message-----
>> > >From: Victor Lazzarini 
>> > >Sent: Nov 10, 2005 11:39 AM
>> > >To: csound-devel@lists.sourceforge.net
>> > >Subject: [Cs-dev] running csnd.jar
>> > >
>> > >I tried
>> > >
>> > >java -jar csnd.jar
>> > >and it tells me: no _csnd in java.library.path
>> > >
>> > >I set JAVA_LIBRARY_PATH to my csound5 top-level
>> > >where there is a _csnd.so (and to be on the safe side
>> > >a _csnd.dylib as well) and no change.
>> > >
>> > >How do you run it?
>> > >
>> > >
>> > >
>> > >Victor Lazzarini
>> > >Music Technology Laboratory
>> > >Music Department
>> > >National University of Ireland, Maynooth
>> > >
>> > >
>> > >
>> > >-------------------------------------------------------
>> > >SF.Net email is sponsored by:
>> > >Tame your development challenges with Apache's Geronimo
>> > App Server. Download >it for free - -and be entered to
>> > win a 42" plasma tv or your very own >Sony(tm)PSP.
>> > Click here to play: http://sourceforge.net/geronimo.php
>> > >_______________________________________________
>> > >Csound-devel mailing list
>> > >Csound-devel@lists.sourceforge.net
>> >
>> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>> > > >
>> > >
>> > >
>> > >
>> > >-------------------------------------------------------
>> > >SF.Net email is sponsored by:
>> > >Tame your development challenges with Apache's Geronimo
>> > App Server. Download >it for free - -and be entered to
>> > win a 42" plasma tv or your very own >Sony(tm)PSP.
>> > Click here to play: http://sourceforge.net/geronimo.php
>> > >_______________________________________________
>> > >Csound-devel mailing list
>> > >Csound-devel@lists.sourceforge.net
>> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>> > > Victor Lazzarini
>> > Music Technology Laboratory
>> > Music Department
>> > National University of Ireland, Maynooth
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > SF.Net email is sponsored by:
>> > Tame your development challenges with Apache's Geronimo
>> > App Server. Download it for free - -and be entered to
>> > win a 42" plasma tv or your very own Sony(tm)PSP.  Click
>> > here to play: http://sourceforge.net/geronimo.php
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>> -------------------------------------------------------
>> SF.Net email is sponsored by:
>> Tame your development challenges with Apache's Geronimo
>> App Server. Download it for free - -and be entered to win
>> a 42" plasma tv or your very own Sony(tm)PSP.  Click here
>> to play: http://sourceforge.net/geronimo.php
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. 
> Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net