basedrhys / obfuscated-code2vec

Code for the paper "Embedding Java Classes with code2vec: Improvements from Variable Obfuscation" in MSR 2020
MIT License
31 stars 7 forks source link

Same error in all my source codes: Could not find or load main class Program Caused by: java.lang.ClassNotFoundException: JavaExtractor.app #7

Open Gueloi opened 4 years ago

Gueloi commented 4 years ago

Hello, I was trying to use the Dataset Pipeline. However, I am getting the same error in all files:

Could not find or load main class Program Caused by: java.lang.ClassNotFoundException: JavaExtractor.app

I have downloaded the repository from Github and followed all instructions. What should i do?

basedrhys commented 4 years ago

Thanks for checking this out and finding this bug - I found a .gitignore file that was leaving off the crucial .jar file.

Can you pull the most recent commits and try again?

wangdeze18 commented 4 years ago

@Gueloi Have you encountered the error message “error for method” when running create_datasets.sh?