I just started with java 1.5 and I am not able to compile the following code:
It throws the following error:
I have not installed the jdk 5 but copied the "j2sdk1.5.0" folder from another machine. I earlier thought it to be a path problem so i copied my source file in to j2sdk1.5.0\bin folder and tried compiling it, which gave me the same error.
Can any body help me the silliest mistake i am making.