HMahdikhani / PMQ

Privacy-preserving Multi Dot-Product Query in Fog-enhanced IoT
2 stars 2 forks source link

seek help again~ #1

Open 521wqn521 opened 4 years ago

521wqn521 commented 4 years ago

Hello, I have read your paper 'Achieving Privacy-Preserving Multi Dot-Product Query in Fog Computing-Enhanced IoT' , and similarly ,I faced a problem when running code PMQGUI.java. I used cmd to compile the code PMQGUI in the way which is included in the cmdcompile.txt. That is 'javac -classpath ".:jpbc-plaf-2.0.0.jar:jpbc-api-2.0.0.jar" PMQGUI.java -Xlint'. But I did not compile successfully. So I choosed a software named eclipse and I have configured JPBC on it. And I put file named '.classpath' and '.project' in my package in eclipse. I could run the code BGN.java successfully but could not run the code PMQGUI.java. The error showed 'java.lang.NullPointerException'. I could not solve it after I tried several methods. So I tried to seek your help again. It will help me a lot if you can give me some help when you are free. Best wishes for you! eclipse运行截图

HMahdikhani commented 4 years ago

Hello,

I have cloned the PMQ and unzipped the zip file, opened a terminal window in Ubuntu, just copied and executed javac statement from cmdcompile. You may receive a warning, it is okay, then try the next line (java statement). I did the above steps and it works without using eclipse. If you have eclipse, it could be helpful to open the whole project and trace it step-by-step.

Best, Hassan


From: 521wqn521 notifications@github.com Sent: 25 April 2020 11:35 To: HMahdikhani/PMQ PMQ@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [HMahdikhani/PMQ] seek help again~ (#1)

✉ External message: Use caution.

Hello, I have read your paper 'Achieving Privacy-Preserving Multi Dot-Product Query in Fog Computing-Enhanced IoT' , and similarly ,I faced a problem when running code PMQGUI.java. I used cmd to compile the code PMQGUI in the way which is included in the cmdcompile.txt. That is 'javac -classpath ".:jpbc-plaf-2.0.0.jar:jpbc-api-2.0.0.jar" PMQGUI.java -Xlint'. But I did not compile successfully. So I choosed a software named eclipse and I have configured JPBC on it. And I put file named '.classpath' and '.project' in my package in eclipse. I could run the code BGN.java successfully but could not run the code PMQGUI.java. The error showed 'java.lang.NullPointerException'. I could not solve it after I tried several methods. So I tried to seek your help again. It will help me a lot if you can give me some help when you are free. Best wishes for you! [eclipse运行截图]https://user-images.githubusercontent.com/58811082/80282618-04b9cc80-8745-11ea-85e6-3d9f73bf63ac.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/HMahdikhani/PMQ/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANFPFCP6YSJUORBKCYGTN3DROLYLRANCNFSM4MQYVYBA.