Question: I am trying to fetch images tags from a specific div in a web page. Here is the web page link [page link](http://www.aliexpress.com/item/Free-Shipping-Luxury-New-Fashion-Anna-su-3D-Blink-Diamond-Crystal-Pearl-Flowers-For-iPhone-4G/1951144778.html?spm=2114.11010108.13.4.uQlqFV)

I have used this code:

```
var webGet = new HtmlWeb(); 
var document = webGet.Load(txt.Text);
var infos = from info in document.DocumentNode.SelectNodes("//div[@id='custom-description']")
            from link in info.SelectNodes("img").Where(x => x.Attributes.Contains("src"))
            select new 
            {
                LinkURL = link.Attributes["src"].Value
            };
lbl.Text = infos.ToString();

```

but it returns null value. 
Please tell me whats wrong in this code. 
Thanks in advance

Answer: 
I changed Windows ->Preference->Java->Installed JREs to jdk1.7.0\_79 and right clicked the project, Properties ->Java Build Path, made sure that under Libraries tab, it is JRE System Library[JavaSE-1.7]. Clicked Project ->Clean. Right clicked the project again, Properties ->Java Compiler, checked Use compliance from execution environment 'JavaSE-1.7' on the 'Java Build Path'.Then it worked. [![enter image description here](https://i.stack.imgur.com/fcVkH.jpg)](https://i.stack.imgur.com/fcVkH.jpg)
If you already changed all settings to 1.7 (both in the eclipse preferences and the project properties) check your project's build path. How? Easy, after you've imported your project, right-button click it and select Build path > Configure Build Path. Then, check if you have your JRE system library correctly set.

If even this is set up ok, I would say that you probably have some code that can only be compiled by jdk 8 and you're trying to use jdk7 compliance level, which eclipse warns you about. An example of this is using lambda functions, which can only be compiled with java 8 *as far as I know*.