SuSi icon indicating copy to clipboard operation
SuSi copied to clipboard

Error: Could not find or load main class de.ecspride.sourcesinkfinder.SourceSinkFinder

Open ofskymohsen opened this issue 5 years ago • 12 comments

When I use following command for running project:

java -cp lib/weka.jar:soot-trunk.jar:soot-infoflow.jar:soot-infoflow-android.jar:SuSi.jar de.ecspride.sourcesinkfinder.SourceSinkFinder android.jar permissionMethodWithLabel.pscout out.pscout

I receive this error:

Error: Could not find or load main class de.ecspride.sourcesinkfinder.SourceSinkFinder

How can I solve this error?

ofskymohsen avatar May 04 '19 10:05 ofskymohsen

I'm having the same problem as well. Have you solved it yet?

lamdangm avatar May 15 '19 07:05 lamdangm

Are you running SuSi on Windows or Linux?

StevenArzt avatar May 15 '19 13:05 StevenArzt

Are you running SuSi on Windows or Linux?

I'm running SuSi on Ubuntu 14.04 with java version 1.7

lamdangm avatar May 15 '19 15:05 lamdangm

I changed the command to run project to this:

java -cp lib/weka.jar:soot-trunk.jar:soot-infoflow.jar:soot-infoflow-android.jar:SuSi.jar weka.classifiers.bayes.AODEsr src/de/ecspride/sourcesinkfinder/SourceSinkFinder.java android.jar permissionMethodWithLabel.pscout out.pscout -t android.jar

It did work but then i got this error. The android.jar file I am using is from the android-16

Weka exception: Can't open file No suitable converter found for 'android.jar'

lamdangm avatar May 16 '19 07:05 lamdangm

I changed the command to run project to this:

java -cp lib/weka.jar:soot-trunk.jar:soot-infoflow.jar:soot-infoflow-android.jar:SuSi.jar weka.classifiers.bayes.AODEsr src/de/ecspride/sourcesinkfinder/SourceSinkFinder.java android.jar permissionMethodWithLabel.pscout out.pscout -t android.jar

It did work but then i got this error. The android.jar file I am using is from the android-16

Weka exception: Can't open file No suitable converter found for 'android.jar'

Have you solved the problem?

HHHJK avatar Jan 08 '20 12:01 HHHJK

I have the same issue. Any suggestions?

butowski avatar Apr 14 '20 11:04 butowski

I am facing the same error. Any fix to the problem?

hweichou avatar Apr 14 '20 11:04 hweichou

我将运行项目的命令更改为此:

java -cp lib/weka.jar:soot-trunk.jar:soot-infoflow.jar:soot-infoflow-android.jar:SuSi.jar weka.classifiers.bayes.AODEsr src/de/ecspride/sourcesinkfinder/SourceSinkFinder.java android.jar permissionMethodWithLabel.pscout out.pscout -t android.jar

它确实起作用,但是后来我得到了这个错误。我正在使用的android.jar文件来自android-16

Weka exception: Can't open file No suitable converter found for 'android.jar'

Why is that? Can you tell me why the new order was successful?leaving aside the questions that follow。

kariouwen avatar Jul 15 '20 15:07 kariouwen

I have the same problem, and I've tried the method of lamdang0 but it dose not work at all. How can I run SuSi properly? Any suggestions?

hustwyk avatar Nov 26 '20 02:11 hustwyk

Even I have the same error (Ubuntu 20.04). Has anyone managed to solve this? Any help will be appreciated. Thanks

mugdhak30 avatar Jun 24 '22 10:06 mugdhak30

I am facing the same error. Have there any fix to the problem?

spingARbor avatar Sep 18 '23 15:09 spingARbor

I am sorry but I am afraid that we cannot support SuSi much any more these days. I encourage you to check out the successor project SWAN: https://github.com/secure-software-engineering/swan

ericbodden avatar Sep 21 '23 13:09 ericbodden