> I would like to fetch CPU id. Could i get any
> algorithm to Fetch.
I wouldn't call it an algorithm. Anyway, in pure Java, you can't. System properties you can get from Java are these:
http://java.sun.com/docs/books/tutorial/essential/system/properties.html
What you could do is write some C code (probably with some Assembly in it as well) that get's the processor ID and call that code from Java through the JNI. A JNI tutorial can be found here:
http://java.sun.com/j2se/1.5.0/docs/guide/jni/
Good luck.