It's all about the answers!

Ask a question

sdk extensions WorkshopSetup.bat errors

German Ortega (13) | asked Nov 17 '16, 5:51 p.m.
 Ran through all the configuration and everything seems to be fine until we found this. We made some changes based on some of Ralph's blog posts, but we still haven't been able to resolve this. Any ideas?


C:\Users\Administrator\RTC40Dev\installs\WorkshopSetup>set JAVA_HOME=..\jazz\client\eclipse\jdk

C:\Users\Administrator\RTC40Dev\installs\WorkshopSetup>set PLAIN_JAVA=..\PlainJavaAPI

C:\Users\Administrator\RTC40Dev\installs\WorkshopSetup>set REPOSITORY="https://localhost:9443/ccm"

C:\Users\Administrator\RTC40Dev\installs\WorkshopSetup>set USERID="myadmin"

C:\Users\Administrator\RTC40Dev\installs\WorkshopSetup>set PASSWORD="myadmin"

C:\Users\Administrator\RTC40Dev\installs\WorkshopSetup>..\jazz\client\eclipse\jdk\jre\bin\java -Djava.ext.dirs=..\PlainJavaAPI;..\jazz\client\eclipse\jdk/jre/lib/ext -cp ..\PlainJavaAPI -jar WorkshopSetup.jar "https://localhost:9443/ccm" "myadmin" "myadmin"

Exception in thread "main" java.lang.NoClassDefFoundError:

        at java.lang.J9VMInternals.verifyImpl(Native Method)

        at java.lang.J9VMInternals.verify(

        at java.lang.J9VMInternals.initialize(

Caused by: java.lang.ClassNotFoundException:



        at java.lang.ClassLoader.loadClass(

        at sun.misc.Launcher$AppClassLoader.loadClass(

        at java.lang.ClassLoader.loadClass(

        ... 3 more

Could not find the main class: Program will exit.


Press any key to continue . . .

Donald Nong commented Nov 17 '16, 7:54 p.m.

Just a sanity check. The folder name is "RTC40Dev" - are you using version 6.0.x or 4.0.x?

Accepted answer

permanent link
Donald Nong (14.4k314) | answered Nov 17 '16, 11:56 p.m.
I guess I know what went wrong - you may have an extra level of folder under /PlainJavaAPI. Those .jar files should reside in the folder directly, not within another folder. Otherwise, the JVM will not be able to find the class

German Ortega selected this answer as the correct answer

Your answer

Register or to post your answer.