What was the original location these were found ?
You have done the right thing, 'first do no harm' don't delete, send virus to the chest and investigate.
Deletion isn't really a good first option (you have none left), 'first do no harm' don't delete, send virus to the chest (a protected area) and investigate.
There is no rush to delete anything from the chest, a protected area where it can do no harm. Anything that you send to the chest you should leave there for a few weeks. If after that time you have suffered no adverse effects from moving these to the chest, scan them again (inside the chest) and if they are still detected as viruses, delete them.
JAVA isn't an essential install unless you have an application or website that uses it. If you need it then it has to be kept up to date. What JAVA version number do you have installed ?