Remotely download programs over ethernet on Due

I have a Due with an ethernet shield and want to remotely program the arduino board.
I have looked into this and every solution uses a bootloader, and it seems bootloaders cannot be downloaded onto the Due since the arduino IDE will show something about a Java null pointer exception when I press the Burn Bootloader button.
Is there any way to remotely download programs onto the Due?

I can`t see how this could be done , with the standard bootloader!!!

To install a new program you need to completely erase the old code and add the new code, But the problem is that the ethernet shield need libraries for it to operate , and I dont think the standard due bootloader can control the ethernet shield, I think it is only designed to update the code via USB , so without a special bootloader designed to update via the ethernet shield I cant see how this could be done.

So, if that's the only way to download programs remotely, is there any hack to make the Due accept new bootloaders?

Read this :-

http://forum.arduino.cc/index.php/topic,128913.0.html

You could use a openwrt device with a USB Host port to run bossac to program your due. Here's an example using a Yun Flashing other Arduinos with a Yun - Arduino Yún - Arduino Forum the same approach works with carambolas or something like a tplink TL-WR1043ND.

You wouldn't get to use the Ethernet shield but get Ethernet/WiFi/storage in one piece