I used only few API of JDK, and as I am working in embedded Environment I have very less Space in Memory.
Can any one suggest if I can reduce the size of the JDK to an optimum position so that only my Used API will be available.
But one advantage we will get if we can reduce the size of the JDK is that. The look up for the class loading will be very fast.
My gut feeling is that you wouldn't even be able to measure the performance benefit you'd get out of this. (Of course, gut feelings are often wrong when it comes to performance, but I think this one is correct.)