Astromenda (and ASK bar) are browser hijack.

This and ASK bar are installed when you install some program, but if you dont use the "recommended" express install and choose manual install is possible avoid install them.

Try this remove guide.

http://malwaretips.com/blogs/remove-astromenda-virus/

For Java this kind of software are "sponsored software":

https://www.java.com/en/download/faq/ask_toolbar.xml
http://www.howtogeek.com/198240/avoid-ja...-registry-hack/