[Csnd] javac version error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] javac version error

rmgls
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
[hidden email]

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] javac version error

Victor Lazzarini-2
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 <[hidden email]> 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
[hidden email]

Csound mailing list
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] javac version error

rmgls
In reply to this post by rmgls
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 <[hidden email]> 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
[hidden email]

Csound mailing list
[hidden email]
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 [hidden email] 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 [hidden email] 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