Csound Build with Java API
Date | 2016-04-06 11:33 |
From | Mitch Kaufman |
Subject | Csound Build with Java API |
Hi, I am trying to build Csound for my Arch Linux system with the Java API installed so that I can have a direct connection to blue. I've installed the JRE but this does not create a JNI. During cmake: -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) Could someone provide guidance on how to resolve this? Regards, Mitch |
Date | 2016-04-06 12:25 |
From | Michael Gogins |
Subject | Re: Csound Build with Java API |
You must install the JDK (Java Development Kit) not just the JRE (Java Runtime Environment). Regards, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Apr 6, 2016 at 1:33 PM, Mitch Kaufman |
Date | 2016-04-07 01:02 |
From | mitchk |
Subject | Re: Csound Build with Java API |
Hi Mike, Thanks for the help. Here are the java packages that are installed on my system. [mitch@mitcharch ~]$ pacman -Qs jdk local/jdk7-openjdk 7.u99_2.6.5-1 OpenJDK Java 7 development kit local/jdk8-openjdk 8.u77-1 OpenJDK Java 8 development kit local/jre7-openjdk 7.u99_2.6.5-1 OpenJDK Java 7 full runtime environment local/jre7-openjdk-headless 7.u99_2.6.5-1 OpenJDK Java 7 headless runtime environment local/jre8-openjdk 8.u77-1 OpenJDK Java 8 full runtime environment local/jre8-openjdk-headless 8.u77-1 OpenJDK Java 8 headless runtime environment local/openjdk8-src 8.u77-1 OpenJDK Java 8 sources Is there anything wrong with this? Regards, Mitch Date: Wed, 6 Apr 2016 04:26:01 -0700 From: [hidden email] To: [hidden email] Subject: Re: [Csnd] Csound Build with Java API You must install the JDK (Java Development Kit) not just the JRE (Java Runtime Environment). Regards, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Apr 6, 2016 at 1:33 PM, Mitch Kaufman <[hidden email]> wrote: > Hi, > > I am trying to build Csound for my Arch Linux system with the Java API > installed so that I can have a direct connection to blue. I've installed > the JRE but this does not create a JNI. During cmake: > > -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) > > Could someone provide guidance on how to resolve this? > > Regards, > Mitch > 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 [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 If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/Csnd-Csound-Build-with-Java-API-tp5748646p5748647.html
To start a new topic under Csound - General, email [hidden email] To unsubscribe from Csound, click here. NAML View this message in context: RE: [Csnd] Csound Build with Java API Sent from the Csound - General mailing list archive at Nabble.com. 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 |
Date | 2016-04-07 04:53 |
From | Michael Gogins |
Subject | Re: Csound Build with Java API |
Are the JDK and Csound both for 64 bit CPU architecture? Does CMake know how to find the JDK, JNI headers, etc.? Regards, Mike ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Thu, Apr 7, 2016 at 3:02 AM, mitchk |
Date | 2016-04-12 14:33 |
From | Gerard Rodríguez |
Subject | Re: Csound Build with Java API |
I'm also on Arch linux, you need to set an environment variable JAVA_HOME like this: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk /2016-04-07 5:53 GMT+02:00 Michael Gogins <michael.gogins@gmail.com>: Are the JDK and Csound both for 64 bit CPU architecture? |
Date | 2016-04-12 14:45 |
From | Mitch Kaufman |
Subject | Re: Csound Build with Java API |
Gerard, Thanks for this. It is exactly what I was looking for. I'll try it out later today. Regards, Mitch
|
Date | 2016-04-12 16:23 |
From | Gerard Rodríguez |
Subject | Re: Csound Build with Java API |
No problem, for reference I googled "cmake JAVA_AWT_LIBRARY missing" to find the solution. (sometimes checking how the existing AUR packages work helps but it didn't in this case) I've tried it myself and it compiled well but I don't have Blue so I don't know if that works. I hope it works for you! 2016-04-12 15:45 GMT+02:00 Mitch Kaufman <mitch.kaufman@hotmail.com>:
|
Date | 2016-04-13 01:37 |
From | mitchk |
Subject | Re: Csound Build with Java API |
I tried this build with the Java API and it seems to be working. It built a csnd6.jar file. I'll test it out in the next few days. I just wanted to thank you. Regards, Mitch Date: Tue, 12 Apr 2016 08:24:30 -0700 From: [hidden email] To: [hidden email] Subject: Re: [Csnd] Csound Build with Java API No problem, for reference I googled "cmake JAVA_AWT_LIBRARY missing" to find the solution. (sometimes checking how the existing AUR packages work helps but it didn't in this case) I've tried it myself and it compiled well but I don't have Blue so I don't know if that works. I hope it works for you! 2016-04-12 15:45 GMT+02:00 Mitch Kaufman <[hidden email]>:
If you reply to this email, your message will be added to the discussion below:
http://csound.1045644.n5.nabble.com/Csnd-Csound-Build-with-Java-API-tp5748646p5748947.html
To start a new topic under Csound - General, email [hidden email] To unsubscribe from Csound, click here. NAML View this message in context: RE: [Csnd] Csound Build with Java API Sent from the Csound - General mailing list archive at Nabble.com. 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 |