Sana_Ullah_Khalil wrote:What's the question ?
Hi all I am working on my final year Project " Designing Security Protocole for sensor network" I have designed an algorithm which identify and detect a compromised node in the sensor network.. to test my algorithm and develope I searched a simulator called JNS I have down loaded it on my machine and trying to figure out to make it work or do a default test on it... can any1 help me this please!!!!!!! I would be warmly welcome your ideas and help I am very thankful in advance....
DrClap wrote:Not to mention a network simulator is very advanced for a (not even) junior level programmer.
So this is your final year project, and you've just started with Java programming? Okay. The message you sort of mentioned there usually means your classpath isn't set up correctly when you compiled the code.
In future it would help if you provided details. The exact message, not a bad copy of it. And the code that the message is referring to.
Although I have to say, if you haven't ever programmed in Java before then trying to work with somebody else's code which you downloaded is going to be challenging. Good thing you have a whole year to work on it. But you might consider waiting until you have a little more experience with Java before diving right into this project. Good luck.
Sana_Ullah_Khalil wrote:Do you even read the replies you get ??
I would appreciate if i could get some help sorting the class path..... and in the error messages it is not recognizing the packages in the files thats why I get many errors.....
Sana_Ullah_Khalil wrote:No, it won't. It's going to take months or years before you can attempt this with any degree of confidence.
I Know java I have done it before I believe few days of bit practice will keep me on track
... and from your reply i think its my class path and I am trying to figure out......This is my point, setting the classpath is just about the first thing you learn to do in Java. In other words, you posting a classpath issue shows us you know next to nothing about Java. I'm not trying to be rude, just trying to bring you back to reality.