Cannot delete a virus

Hi to all, I am new to this forum and hope you can help me with the following.
I recently installed Avast 2.74R0 on my iMac and then launched a complete scan of the hard disk.
Beside the warnings (expecially an “err 13” wich I know is related to file access permissions), I found an error reported for an object called “java.class”.
When trying to remove the virus, I only got a generic message saying:

Processing 1 objects,
0 was successfully processed
0 did not allow the operation
1 was not processed successfully.

I mean, I can’t understand why the virus removal couldn’t be carried out.
Do you have any hints?
The virused object is in Users/myname/Library/Caches/Java/cache/javapi/v1.0/jar/
Nevertheless, there’s no file called “java.class”, but a plenty of “.jar” and other files instead.
Therefore I don’t know what the virused object could actually be.

Thanks in advance to all.
Giopad65

Try emptying the Java cache via the Java console.

As Freewheelinfrank said you need to empty the java cache.

  • Open Your Hard disk
  • Open the Applications folder
  • open the Utilities Folder
  • Open The Java folder and click on Java Preferences
  • Click the security tab and then click the delete files button

Hallo,
*.jar is a kind of archive, containing the particular *.class files as members. Try manipulating with the whole JAR, when it doesn’t allow per-member deletion, i’m not sure whether it’s even desirable to delete particular member of this package - will be unusable anyway.

regards,
pc