Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3937
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!feeds.phibee-telecom.net!usenet.ukfsn.org!not-for-mail |
|---|---|
| From | Martin Gregorie <martin@address-in-sig.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Error while compilling program on Linux |
| Date | Tue, 10 May 2011 20:46:47 +0000 (UTC) |
| Organization | UK Free Software Network |
| Lines | 28 |
| Message-ID | <iqc87n$tes$1@localhost.localdomain> (permalink) |
| References | <14db58a7-1f7f-4a8d-89d4-b27559860fff@d1g2000yqm.googlegroups.com> |
| NNTP-Posting-Host | 84.45.235.129 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | localhost.localdomain 1305060407 30172 84.45.235.129 (10 May 2011 20:46:47 GMT) |
| X-Complaints-To | usenet@localhost.localdomain |
| NNTP-Posting-Date | Tue, 10 May 2011 20:46:47 +0000 (UTC) |
| User-Agent | Pan/0.133 (House of Butterflies) |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3937 |
Show key headers only | View raw
On Mon, 09 May 2011 22:54:41 -0700, ruds wrote: > Hi, > I want to execute a program on linux but it is giving me an error: > "Syntax error, 'for each' statements are only available if source level > is 5.0" > I have JDK 1.6 installed and my JAVA_HOME and CLASSPATH variable are > having the paths correct, still I'm getting this error. On checking the > version: javac -version I'm getting: Eclipse Java Compiler v_677_R32x, > 3.2.1 release > So, have you updated your distro during the 10 days since it was working correctly? If so, what packages were upgraded or installed, either as part of a distro update or explicitly?? > this is happening even if I expicitly set the $CLASSPATH. > As others have said, this is irrelevant. More to the point, what's in $PATH and $JAVA_HOME? -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Error while compilling program on Linux ruds <rudranee@gmail.com> - 2011-05-09 22:54 -0700
Re: Error while compilling program on Linux Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-05-10 08:04 +0000
Re: Error while compilling program on Linux Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-05-10 09:47 +0100
Re: Error while compilling program on Linux Martin Gregorie <martin@address-in-sig.invalid> - 2011-05-10 20:46 +0000
Re: Error while compilling program on Linux ruds <rudranee@gmail.com> - 2011-05-10 22:49 -0700
Re: Error while compilling program on Linux Roedy Green <see_website@mindprod.com.invalid> - 2011-05-11 03:06 -0700
Re: Error while compilling program on Linux Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-05-11 14:47 +0100
Re: Error while compilling program on Linux Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-05-11 15:31 +0000
Re: Error while compilling program on Linux Lew <noone@lewscanon.com> - 2011-05-11 16:01 -0400
csiph-web