see one thing there is no core java and advance java....in the industries
only j2se and j2ee and j2me
.....to execute the java program normally you must set the path....ok

--- Update ---

u...