Csound Csound-dev Csound-tekno Search About

[Csnd] javac version error

Date2018-06-09 08:49
Fromrmgls
Subject[Csnd] javac version error
Hi all,

i get this error now building csound from git:

.........
[ 72%] Built target _csnd6
[ 72%] Built target gen__jcsound6_java_interfaceJAVA_wrap
[ 72%] Linking CXX shared module ../lib_jcsound6.jnilib
Building JAVA package csnd6.jar
javac: invalid source release: 1.8
Usage: javac  
use -help for a list of possible options
make[2]: *** [lib_jcsound6.jnilib] Error 2
make[2]: *** Deleting file `lib_jcsound6.jnilib'
make[1]: *** [interfaces/CMakeFiles/_jcsound6.dir/all] Error 2
make: *** [all] Error 2

Which package needed here,
(i have the mac os javac installed and jre8 update.

Thanks

Raoul Megelas
rmgls@orange.fr

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-06-09 10:00
FromVictor Lazzarini
SubjectRe: [Csnd] javac version error
you need to set JAVA_HOME to point to the
oracle installation.

https://stackoverflow.com/questions/18144660/what-is-path-of-jdk-on-mac

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 9 Jun 2018, at 08:49, rmgls <rmgls@ORANGE.FR> wrote:

Hi all,

i get this error now building csound from git:

.........
[ 72%] Built target _csnd6
[ 72%] Built target gen__jcsound6_java_interfaceJAVA_wrap
[ 72%] Linking CXX shared module ../lib_jcsound6.jnilib
Building JAVA package csnd6.jar
javac: invalid source release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
make[2]: *** [lib_jcsound6.jnilib] Error 2
make[2]: *** Deleting file `lib_jcsound6.jnilib'
make[1]: *** [interfaces/CMakeFiles/_jcsound6.dir/all] Error 2
make: *** [all] Error 2

Which package needed here,
(i have the mac os javac installed and jre8 update.

Thanks

Raoul Megelas
rmgls@orange.fr

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-06-09 10:56
Fromrmgls
SubjectRe: [Csnd] javac version error
Thanks a lot.

RM
you need to set JAVA_HOME to point to the
oracle installation.

https://stackoverflow.com/questions/18144660/what-is-path-of-jdk-on-mac

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 9 Jun 2018, at 08:49, rmgls <rmgls@ORANGE.FR> wrote:

Hi all,

i get this error now building csound from git:

.........
[ 72%] Built target _csnd6
[ 72%] Built target gen__jcsound6_java_interfaceJAVA_wrap
[ 72%] Linking CXX shared module ../lib_jcsound6.jnilib
Building JAVA package csnd6.jar
javac: invalid source release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
make[2]: *** [lib_jcsound6.jnilib] Error 2
make[2]: *** Deleting file `lib_jcsound6.jnilib'
make[1]: *** [interfaces/CMakeFiles/_jcsound6.dir/all] Error 2
make: *** [all] Error 2

Which package needed here,
(i have the mac os javac installed and jre8 update.

Thanks

Raoul Megelas
rmgls@orange.fr

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here