Open shaifulcse opened 3 months ago
@shaifulcse
Assuming you are talking about the satd_detector.jar
file found here:
When I ran the command java -jar satd_detector.jar test
, the program would crash for some input (probably similar to yours).
However, using java --add-opens java.base/java.lang=ALL-UNNAMED -jar satd_detector.jar test
would resolve the issue of the program crashing.
@shaifulcse
I downloaded weka
from here and snowball-stemmers
from weka's package manager and then Apache Commons cli
from here
I then added the above three .jar
files as dependencies.
I built the project from the source code and it worked totally properly even though I did not add the --add-opens java.base/java.lang=ALL-UNNAMED
as the JVM argument... strange
@Hishamk2 Thank you so much for your kind responses. I hope your solution would work for @shaifulcse .
You are very welcome to file a PR and add your solution to the README file.
Hello,
I first tried to run the tool with the released jar file, but it crashed for some input. I also tried to build the project from source code, and the problem is still there.
Can you please share the weka.jar and snowball-stemmers.jar files so that we can use the exact version?
Thanks a lot.