Could not find or load main class net.sourceforge.cobertura.instrument

scmuser replied the topic: Could not find or load main class net.sourceforge.cobertura.instrument

Still could not resolve the issues as below;

[code language=”css”]
C:\Users\rkumar11>cd C:\cobertura
[/code]

[code language=”css”]
C:\cobertura>cobertura-check.bat
Error: Could not find or load main class net.sourceforge.cobertura.check.Main
[/code]

[code language=”css”]
C:\cobertura>cobertura-check.bat
Error: Could not find or load main class net.sourceforge.cobertura.check.Main
[/code]

[code language=”css”]
C:\cobertura>ls -1
11.txt
cobertura-2.0.3.jar
cobertura-report.sh
EnhancedFor.java
cobertura-check.bat
coberturaFlush.war
LICENSE.txt
cobertura-check.sh
datafile
PrimitiveParameters.java
cobertura-instrument.bat
examples
README. markdown
cobertura-instrument. sh
instrumented
basedir
cobertura-merge.bat
lib
cobertura-2.0.3-javadoc.jar
cobertura-merge.sh
cobertura-2.0.3-sources.jar
cobertura-report.bat

C:\cobertura>echo %JAVA_HOME%
C:\Tools\Java\jdk1.7.0_25
C:\cobertura>echo %JAVA_HOME%
C:\Tools\Java\jdk1.7.0_25
[/code]