Skip to content

Problem while trying to create a CallGraph with SourceCode #598

Answered by JonasKlauke
Akkyen asked this question in Q&A
Discussion options

You must be logged in to vote

If you are using the RTA algorithm you need to also put your rt as inputlocation because otherwise it will fail to find java.lang.Object.
This is not the error in this case but if you will fix it that will be next issue :)
Therefore add this to your Javaproject builder considering your java home env variable points to java 8

            .addInputLocation(
                new JavaClassPathAnalysisInputLocation(
                    System.getProperty("java.home") + "/lib/rt.jar"))

mmh it is hard to tell what is the issue because WALA (external dependency) causes it. It might be caused by your given path. it might not point exactly to the jar. It might have problems to find the main method …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Akkyen
Comment options

Answer selected by Akkyen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants