R
ruds
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
this is happening even if I expicitly set the $CLASSPATH.
I have set CLASSPATH in my .profile too.
This program was working perfectly 10 days ago and now suddenly it has
started giving errors.
What might be the problem?
Please help.
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
this is happening even if I expicitly set the $CLASSPATH.
I have set CLASSPATH in my .profile too.
This program was working perfectly 10 days ago and now suddenly it has
started giving errors.
What might be the problem?
Please help.