hi there,
i'm trying to get VirusHammer working at the moment and i'm having some problems with it. in the how-to.html file that comes with the zip file this is what it says.
Quote:
VirusHammer Howto
The VirusHammer is a standalone tool to scan for viruses. You can select several directories to scan and will be informed about all viruses found. The selected directories are stored in user preferences, so they are remembered when you restart.
Necessary software
You need an installed Java 2 Runtime Environment, Standard Edition (JRE) . Every JRE >= 1.2 should be fine, but I just tested it with 1.3.1 and 1.4. You can get it from Sun at http://java.sun.com/j2se/ .
Usage
With Linux (read /usr/src/linux/Documentation/java.txt) or Windows you simple start 'PatternFinder.jar' like every other application, e.g. by single- or double-clicking on it. You can also start it from the command line with
java -jar VirusHammer.jar
Getting speed
The current JRE from Sun offers two different VMs: client- and server-vm. The client-vm has shorted startup times, but scans slower; the server-vm has longer startup times, but scans much faster. There are scripts to start VirusHammer using the server-vm (client-vm is default):
* virushammer-server.sh (Linux)
* virushammer-server.bat (Windows)
The VirusHammer.jar has to reside in the same directory as the script. Both scripts start VirusHammer like this
java -server -jar VirusHammer.jar
|
thats it, when i run any of those commands this is the error message i get.
[root@centos html]# java -jar VirusHammer.jar
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: VirusHammer.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/var/www/html/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/var/www/html/java.version=1.4.2)
i have java installed i think ...
[root@centos html]# rpm -qa | grep java
java-1.4.2-gcj-compat-1.4.2.0-27jpp
gcc-java-3.4.4-2
java-1.4.2-gcj-compat-devel-1.4.2.0-27jpp
any ideas as to what i'm doing wrong ...?