[closed] Could not find or load main class WorkshopSetup.jar
The question has been closed for the following reason: "Problem is not reproducible or outdated" by rschoon Jul 06 '15, 7:49 a.m.
One answer
An absolute path would be "C:\RTC502Dev\installs\TeamConcert\jazz\client\eclipse\jdk" or "C:/RTC502Dev/installs/TeamConcert/jazz/client/eclipse/jdk"
Comments
In my system I installed JTS,CCM and RTC using Installation Manager. "jdk" folder was directly under "Team Concert" therefore I had to change that line.
With the information provided, I can't tell anything. If you use the zip version of RTC and install in the same structure, it always worked for me an all 6 versions I tested.
Is this a Linux System?
does not make sense, becase java is called with -jar and the main class is configured inside the jar file.
I am performing workshop on windows
I installed RTC using installation manager but that does not seem to be issue to me.
When I opened WorkshopSetup.jar for the first time I had to make changes only in first line in notepad.
I saved changes and run WorkshopSetup.jar there it showed this error.
I could not understood cause of this error. Because WorkshopSetup.jar is shipped in the download file.
I also could not understand how it is searching for WorkshopSetup.jar because we are setting path of java home and plain java libraries but path of this file is not set anywhere.
If you sa open the jar, what do you mean?
You are only supposed to change setting in the batch file and then run the batch file.
And the batch file with sensible settings works. We have proven that over and over again.
The parameters are set in the batch file. If you can't figure how to set the paths to a JDK and the plain Java client libraries run the batch file, I don't have high hopes for you being able to follow the workshop let alone develop your own extensions.
Comments
Howard Hsiao
JAZZ DEVELOPER Jul 03 '15, 5:39 a.m.Do you get the same result if you use absolute path for JAVA_HOME?
vikrant kamble
Jul 03 '15, 5:42 a.m.How to set absolute path for JAVA_HOME?
Howard Hsiao
JAZZ DEVELOPER Jul 03 '15, 10:19 a.m.Find out the the absolute path for the TeamConcert\jdk directory, for example, C:\RTC502Dev\installs\TeamConcert\jdk, and then set it in WorkshopSetup.bat
vikrant kamble
Jul 04 '15, 2:10 a.m.Yes It was showing same error even after setting absolute path