Hi Victor, I tested just now and since I am getting messages from Csound, I'm fairly confident that java.library.path is being set. The OPCODEDIR is defined in my .bashrc, and works for normal commandline usage of Csound. I think I will give up now and wait until meeting this weekend then. =) Thanks and looking forward to the conference! steven On 11/27/05, Victor Lazzarini wrote: > My example has run here on all platforms. On OSX there is > the > issue of not finding OPCODEDIR and JAVA_LIBRARY_PATH, > but once that is fixed, it runs OK. My experience is that > these > are the only two difficulties. If the java lib path is > correct, you > will set the init messages of csound lib on the console when > you open a CSD file (localisation etc..). If that prints, > the > csnd lib module is loaded. Otherwise, there is a problem > with your library path. > > When you click on play, if it doesn't then either there is a > problem with your csd or OPCODEDIR was not found. > > In any case, I can show you all this when you're here this > week. > > Victor > > > > > Hi All, > > > > Has anyone gotten the Java binding to run on Linux? I > > tried: > > > > java -Djava.library.path=. -jar csnd.jar > > > > And after getting a stacktrace about a properties file not > > existing (happens on Windows for me too so shouldn't be a > > problem I think) I get a segfault reported from Csound on > > the commandline and then back to the prompt (no GUI was > > shown). I am assuming the java.library.path I've set is > > correct as the message seems to be from Csound itself and > > the lib_csnd.so symlink is in the current directory (also > > made a copy in /usr/local/lib which is in my library > > path). > > > > Victor's example also crashes out and takes down the > > application when I try to run a csound render; the GUI of > > his demo app appears but then dies in the same fashion as > > csnd.jar dos when going to access csnd.Csound. > > > > Having Csound crash and also taking down the host app > > doesn't sound very good. =( > > > > Any ideas? > > > > steven > > p.s. - I do use a .csoundrc file on Windows and Linux, so > > I don't imagine that would be the problem, but maybe > > there's an issue there? > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep > > through log files for problems? Stop! Download the new > > AJAX search engine that makes searching your log files as > > easy as surfing the web. DOWNLOAD SPLUNK! > > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net