Csound Csound-dev Csound-tekno Search About

[Csnd] Csound 6 - Java APIs error on Windows 7

Date2013-09-04 10:52
Fromjean-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

Date2013-09-04 11:05
FromSteven Yi
SubjectRe: [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
 wrote:
> 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

Date2013-09-04 11:48
Fromjean-pierre lemoine
SubjectRe: [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
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
<lemoine.jp@gmail.com> wrote:
> 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


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-09-04 15:26
Fromjean-pierre lemoine
SubjectRe: [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:
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
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
<lemoine.jp@gmail.com> wrote:
> 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


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2013-09-07 12:14
FromSteven Yi
SubjectRe: [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
 wrote:
> 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  wrote:
>>
>> 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
>>  wrote:
>> > 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
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>

Date2013-09-07 12:45
Fromjean-pierre lemoine
SubjectRe: [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,

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
<lemoine.jp@gmail.com> wrote:
> 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
>> 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
>> <lemoine.jp@gmail.com> wrote:
>> > 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
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>             https://sourceforge.net/p/csound/tickets/
>> csound5:
>>             https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"