ClassNotFoundException: com.atlassian.util.benchmark.JIRASQLPerformance


I tried to run JIRASQLPerformance utility and got the following error:

C:\Atlassian\JIRA-4.4>java -cp atlassian-log-analysis-0.1.1.jar:/Atlassian/JIRA-
4.4/lib/mysql-connector-java-5.1.10.jar com.atlassian.util.benchmark.JIRASQLPerf
ormance jira ******** "jdbc:mysql://localhost/jira41?useUnicode=true&amp
;characterEncoding=UTF8" com.mysql.jdbc.Driver
Exception in thread "main" java.lang.NoClassDefFoundError: com/atlassian/util/be
Caused by: java.lang.ClassNotFoundException: com.atlassian.util.benchmark.JIRASQ
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.atlassian.util.benchmark.JIRASQLPerformance.
Program will exit.

I am running JDK 1.6.0_26b03 on Windows 2008 Server R2

Any help is much appreciated.



1 answer

for windows installation it should be semicolon



also note that in windows there are backslashes 


java -cp PATH_TO_THE\atlassian-log-analysis-0.1.1.jar;PATH_TO_YOUR_JDBC_DRIVER_JAR ^
com.atlassian.util.benchmark.JIRASQLPerformance ^
> db-perf-test.txt

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you