secure-software-engineering / SuSi

SuSi - our tool to automatically discover sources and sinks in the Android framework
141 stars 74 forks source link

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

Open ofskymohsen opened 5 years ago

ofskymohsen commented 5 years ago

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?

lamdangm commented 5 years ago

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

StevenArzt commented 5 years ago

Are you running SuSi on Windows or Linux?

lamdangm commented 5 years ago

Are you running SuSi on Windows or Linux?

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

lamdangm commented 5 years ago

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'

HHHJK commented 4 years ago

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?

butowski commented 4 years ago

I have the same issue. Any suggestions?

hweichou commented 4 years ago

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

kariouwen commented 4 years ago

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

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。

hustwyk commented 3 years ago

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?

mugdhak30 commented 2 years ago

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

spingARbor commented 12 months ago

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

ericbodden commented 12 months ago

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