Issue
currently i getting an exception while trying to run an opensource project
Error occurred during initialization of VM
java.lang.Error: ghidra.GhidraClassLoader
at java.lang.ClassLoader.initSystemClassLoader([email protected]/ClassLoader.java:1995)
at java.lang.System.initPhase3([email protected]/System.java:2246)
Caused by: java.lang.ClassNotFoundException: ghidra.GhidraClassLoader
at jdk.internal.loader.BuiltinClassLoader.loadClass([email protected]/BuiltinClassLoader.java:641)
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass([email protected]/ClassLoaders.java:188)
at java.lang.ClassLoader.loadClass([email protected]/ClassLoader.java:520)
at java.lang.Class.forName0([email protected]/Native Method)
at java.lang.Class.forName([email protected]/Class.java:467)
at java.lang.ClassLoader.initSystemClassLoader([email protected]/ClassLoader.java:1981)
at java.lang.System.initPhase3([email protected]/System.java:2246)
My eclipse version is 2019-12 java version needed for the project java 17
gradle version needed is 7.3+ and my is 7.5
these commands specified in their page works in command line and the build was successfull.
gradle -I gradle/support/fetchDependencies.gradle init
gradle prepdev eclipse buildNatives
Inside eclipse
The import java.awt cannot be resolved
for
import java.awt.AWTError;
these errors are showing for all sub projects and all imported java libraries and under class names.
these exclamatory marks are present for each nested projects.
And also i have installed java 17
Solution
As per the comments i tried installing the eclipse 2023-03 in a different folder Along with the older version. Then re cloned the entire project and initialized the build instruction provided in the page. After that i was able to run the project properly.
It was little confusing for people who are new to programming and the IDE version was not specified.
Answered By - cokachi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.