Anchal Bhargava wrote:I have to submit my final year project in Java, but I don't want it to be regular project like other students do. So I wanted to create a program in which my system(or other who use it) will boot only and only if I insert my pen drive in it. But I have no clue how to do it, so any suggestion would be a great help
In one
word you cannot do !
my answer has many grounds but let me tell you one for your knowledge
If you know Java then you would also know that Java code (.class) requires JVM to run ....so when you boot your OS(no matter what os you use) after certain steps "Kernal" is the thing which gets started ...so you cannot stop kernal from loading atleast not from your Java code
I can give you quick work around but if you are not c/c++ guy then change your project topic ....at-least than you can score good marks