[Cs-dev] Java problem
Date | 2011-11-24 14:15 |
From | John ff |
Subject | [Cs-dev] Java problem |
Attachments | None None |
I usually build the Java Wrapper although I do not use it -- actually know approximately zero about java i now get javac: error: 1.4: No such file or directory javac: error: 1.4: No such file or directory javac: error: unrecognized option ‘-source’ javac: error: unrecognized option ‘-target’ javac: error: unrecognized option ‘-sourcepath’ scons: *** [interfaces/csnd/CSOUND_FILETYPES.class] Error 1 scons: done building targets (errors occurred during build). which I assume comes from libs.append(javaWrapper) jcsnd = javaWrapperEnvironment.Java( target = './interfaces', source = './interfaces', JAVACFLAGS = ['-source', '1.4', '-target', '1.4']) in SConstruct. How do I fix, or should I ignore java? ==John ffitch |
Date | 2011-11-24 14:24 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Java problem |
Is this because you have old SWIG-generated files lying around in your disk? On 24 Nov 2011, at 14:15, John ff wrote: > I usually build the Java Wrapper although I do not use it -- actually > know approximately zero about java > > i now get > > javac: error: 1.4: No such file or directory > javac: error: 1.4: No such file or directory > javac: error: unrecognized option ‘-source’ > javac: error: unrecognized option ‘-target’ > javac: error: unrecognized option ‘-sourcepath’ > scons: *** [interfaces/csnd/CSOUND_FILETYPES.class] Error 1 > scons: done building targets (errors occurred during build). > > which I assume comes from > libs.append(javaWrapper) > jcsnd = javaWrapperEnvironment.Java( > target = './interfaces', source = './interfaces', > JAVACFLAGS = ['-source', '1.4', '-target', '1.4']) > > in SConstruct. How do I fix, or should I ignore java? > > ==John ffitch > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-24 14:30 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Java problem |
No, actually, this look like a problem with the javac command, or the way scons formats the command line. Victor On 24 Nov 2011, at 14:15, John ff wrote: > I usually build the Java Wrapper although I do not use it -- actually > know approximately zero about java > > i now get > > javac: error: 1.4: No such file or directory > javac: error: 1.4: No such file or directory > javac: error: unrecognized option ‘-source’ > javac: error: unrecognized option ‘-target’ > javac: error: unrecognized option ‘-sourcepath’ > scons: *** [interfaces/csnd/CSOUND_FILETYPES.class] Error 1 > scons: done building targets (errors occurred during build). > > which I assume comes from > libs.append(javaWrapper) > jcsnd = javaWrapperEnvironment.Java( > target = './interfaces', source = './interfaces', > JAVACFLAGS = ['-source', '1.4', '-target', '1.4']) > > in SConstruct. How do I fix, or should I ignore java? > > ==John ffitch > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-24 14:43 |
From | Steven Yi |
Subject | Re: [Cs-dev] Java problem |
Hi John, What do you get on the commandline when running: javac -version it may be that you have have a java installed that is not openjdk or oracle/sun java. steven On Thu, Nov 24, 2011 at 2:30 PM, Victor Lazzarini |
Date | 2011-11-24 14:48 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Java problem |
> Hi John, > > What do you get on the commandline when running: > > javac -version > > it may be that you have have a java installed that is not openjdk or > oracle/sun java. > 112> javac -version javac: error: unrecognized command line option -version javac: fatal error: no input files compilation terminated. 116> javac --version javac (SUSE Linux) 4.6.2 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-24 15:01 |
From | Steven Yi |
Subject | Re: [Cs-dev] Java problem |
I'd see if you can find packages for either OpenJDK or Oracle/Sun Java and install that. It seems like you have a different version of Java if you're getting FSF copyright. On Thu, Nov 24, 2011 at 2:48 PM, |
Date | 2011-11-24 15:51 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Java problem |
> I'd see if you can find packages for either OpenJDK or Oracle/Sun Java > and install that. It seems like you have a different version of Java > if you're getting FSF copyright. > I had ipenjdk installed but not apparently the -develop package. Inserted that and it claims to build. Very confused about the 3 or 4 versions of java there seem to be. I am more used to languages where there is one version at a time. Probably explains total inability to build android apps ==JOhn ff ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-24 15:59 |
From | Steven Yi |
Subject | Re: [Cs-dev] Java problem |
Well, I know you have an affinity for Lisp, and I know there are PLENTY of Lisps out there! :P As for Android, that pretty much has only one vendor for tools which is from Google, and though the language is Java, the compiler generated different byte-code than the Java compiler. So at least there, there's only one tool to worry about. On Thu, Nov 24, 2011 at 3:51 PM, |