> -----Original Message----- > From: linuxtools-dev-boun...@eclipse.org > [mailto:linuxtools-dev-boun...@eclipse.org] On Behalf Of sami > wagiaalla > Sent: Tuesday, January 15, 2013 2:48 PM > To: Linux Tools developer discussions > Subject: Re: [linuxtools-dev] Use of Java 6 classes break compile > > > Furthermore, the JDT preference set in the plugin's > > .settings/org.eclipse.jdt.core.prefs > > file is: > > org.eclipse.jdt.core.compiler.source=1.5 > > which explains why my system uses Java 5 to compile that plugin > > although I have Java 6 installed. > > > > How come my eclipse does not report these errors. What > settings should I use to make sure I see errors like these.
I'm not sure. Maybe it is because you don't have a JRE for Java 5 installed for Eclipse, so it defaults to what you have installed? In my case I have both Java 5 and 6, so it picked the one the preference settings file told it too. That's my guess anyway. Marc _______________________________________________ linuxtools-dev mailing list linuxtools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/linuxtools-dev