Dear All,
Sorry for posting a lot of questions lately but i still do not get it.
I have a
java file, but when i compile it it creates a folder then a it places the class file in it, unlike the normal compilations where the class file and the java file are in the same place.
Another thing, when i compile using the comand promt, it only creates the class file but then when i type java nameoffile it says not class definition found but if i write using the heirarichy of folders that are present when i complie using Jcreator it works althought i do not see the folders..like when i write java nameoffolder.nameoffile
please tell me what is that cause it is quite confusing
note: that program is based on an API and it creats folder with the same names of the folders in the API
example: i wrote package firstname.lastname
then i should type java firstname.lastname.nameoffile to run!!!
Thanks