I am trying to run a fresh installation of Capella v1.3.1, and Eclipse is throwing the aforementioned java.lang.NoClassDefFoundError as in the .log file below:
Would any of you kind folk have any advice for me?
The error you get is due to the fact that you do not have the right Java version. Capella requires Java 1.8 64 bit, and ideally, the recommended version is 1.8.0_121_64b.
You should be able to find the right version by going to this page:
https://www.oracle.com/technetwork/java/javase/downloads/jav a-archive-javase8-2177648.html and look for Java SE Development Kit 8u121. Please make sure you pick a 64bit version.
You may find additional useful information on this thread:
https://forum.mbse-capella.org/t/640/ and here
https://wiki.polarsys.org/Capella/Installation_Guide#Capella _Installation but don’t hesitate to ping me if you’re still getting the error.
All the best,
Thank you Stephane, I have installed Java 1.8 and it works.
java.lang.ClassNotFoundException exception indicates that the class was not found on the
classpath. This indicates that we were trying to load the class definition, and the class did not exist on the classpath.