[Cs-dev] A java question
Date | 2014-01-21 15:28 |
From | john ffitch |
Subject | [Cs-dev] A java question |
After the update to the machine I get a compilation failure cd /home/jpff/Sourceforge/csound/New/csound6/interfaces && /usr/bin/javac *.java -source 1.6 -target 1.6 -d . javac: invalid source release: 1.6 Usage: javac |
Date | 2014-01-21 15:44 |
From | Steven Yi |
Subject | Re: [Cs-dev] A java question |
Hi John, You'll need to get Java 1.6. Java 1.5 has be EOL'd (end-of-life'd) and it is no longer being supported for things like security patches, etc. Most repos should have openjdk 1.6 of some sort which should do just fine for compiling the Java interface. steven On Tue, Jan 21, 2014 at 3:28 PM, john ffitch |
Date | 2014-01-21 15:56 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] A java question |
Attachments | None |
Date | 2014-01-21 15:58 |
From | Michael Gogins |
Subject | Re: [Cs-dev] A java question |
Attachments | None None |
1.7 should be OK. Regards, Mike -----------------------------------------------------
Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Tue, Jan 21, 2014 at 10:56 AM, <jpff@cs.bath.ac.uk> wrote: Oh dear. 1.6 is not packaged for the OS. There is 1.7 though |
Date | 2014-01-21 16:06 |
From | Steven Yi |
Subject | Re: [Cs-dev] A java question |
Yes sorry, I should have said 1.6 is a minimum requirement. 1.7 would be better to use really. On Tue, Jan 21, 2014 at 3:56 PM, |
Date | 2014-01-21 16:45 |
From | jpff |
Subject | Re: [Cs-dev] A java question |
in frontends/CMakeLists.txt I read ADD_CUSTOM_COMMAND(TARGET _jcsound6 POST_BUILD COMMAND cmake -E make_directory ./csnd6 COMMAND ${JAVA_COMPILE} *.java -source 1.6 -target 1.6 -d . so presumably 1.7 will not work either ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2014-01-21 17:50 |
From | Steven Yi |
Subject | Re: [Cs-dev] A java question |
1.7 javac will work as it can compile with -source 1.6 and -target 1.6. On Tue, Jan 21, 2014 at 4:45 PM, jpff |