[Csnd] Csound 6 - Java APIs error on Windows 7
Date | 2013-09-04 10:52 |
From | jean-pierre lemoine |
Subject | [Csnd] Csound 6 - Java APIs error on Windows 7 |
After being sure not to have csound 5.1 present on the machine, I have installed the last csound 6. The use of the java APIs gives this error
java.lang.UnsupportedClassVersionError: csnd6/csnd6 : Unsupported major.minor version 51.0
I am using csnd6.jar and _jcsound6.dll Any ideas, and many thanks to Michael for correcting the previous bug Best Jean-Pierre |
Date | 2013-09-04 11:05 |
From | Steven Yi |
Subject | Re: [Csnd] Csound 6 - Java APIs error on Windows 7 |
This means it was compiled with Java 7, and likely you're running and earlier Java. A few options: 1. We modify the CMake build to specify -source and -target when compiling the Java interface. 2. We can require Java 7. 3. Both #1 and #2 I think we should do #1 regardless. #2 is complicated. The reason I would suggest #2 is that Java 6 is not really supported anymore by Oracle, and that Java 7 has been available for a while now and is available on all of the big platforms. Thoughts? steven On Wed, Sep 4, 2013 at 10:52 AM, jean-pierre lemoine |
Date | 2013-09-04 11:48 |
From | jean-pierre lemoine |
Subject | Re: [Csnd] Csound 6 - Java APIs error on Windows 7 |
Thanks Steve, I have installed Java 7. It's ok now. I don't compile csound myself, thus either the Windows installer specifies which java version has to be used, or Java 7 has to be recommended. I have another issue now with this csound version. With the following arguments ="-d -m0 -g -iadc2 -odac2 -b64 -B256", the following message "N 4096 0" is displayed every x seconds (I didn't measure it), and the volume is extremly low. Csound tells 0dBFS level = 32768.0, and this is what I am expected in the orchestra. I don't put a 0dBFS statement in the orchestra.
Any ideas? On Wed, Sep 4, 2013 at 12:05 PM, Steven Yi <stevenyi@gmail.com> wrote: This means it was compiled with Java 7, and likely you're running and |
Date | 2013-09-04 15:26 |
From | jean-pierre lemoine |
Subject | Re: [Csnd] Csound 6 - Java APIs error on Windows 7 |
Low volume problem is solved: it was a buffer setting issue versus the sound card. But what is this message "N 1024 0" and how to remove it ? It seems related to buffer size has it has changed whith new values for -b and -B Thanks On Wed, Sep 4, 2013 at 12:48 PM, jean-pierre lemoine <lemoine.jp@gmail.com> wrote:
|
Date | 2013-09-07 12:14 |
From | Steven Yi |
Subject | Re: [Csnd] Csound 6 - Java APIs error on Windows 7 |
Hi Jean-Pierre, Could you file a bug so that we can track this one? Particularly I think it should mention specifying what -source and -target to use in the wrapper compilation in CMake, as well as updating documentation and mentions of the Java wrapper to use Java 7. Thanks! steven On Wed, Sep 4, 2013 at 11:48 AM, jean-pierre lemoine |
Date | 2013-09-07 12:45 |
From | jean-pierre lemoine |
Subject | Re: [Csnd] Csound 6 - Java APIs error on Windows 7 |
Hi Steven Yes, I will do Best jp On Sat, Sep 7, 2013 at 1:14 PM, Steven Yi <stevenyi@gmail.com> wrote: Hi Jean-Pierre, |