Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ofskymohsen opened this issue May 4, 2019 · 12 comments

Comments

@ofskymohsen
Copy link

ofskymohsen commented May 4, 2019

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
Copy link

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

@StevenArzt
Copy link
Member

Are you running SuSi on Windows or Linux?

@lamdangm
Copy link

Are you running SuSi on Windows or Linux?

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

@lamdangm
Copy link

lamdangm commented May 16, 2019

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
Copy link

HHHJK commented Jan 8, 2020

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
Copy link

I have the same issue. Any suggestions?

@hweichou
Copy link

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

@kariouwen
Copy link

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

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
Copy link

hustwyk commented Nov 26, 2020

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
Copy link

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

@spingARbor
Copy link

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

@ericbodden
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests