This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi there I extract the TableLayout.zip file in order to study it. Java files were already compiled. It runs ok, but when I tried to do minor changes (in fact, System.out.printl(....) ) and save it and then compiled. There were a compile error about the import statement which was: import layout.TableLayout; the error was no package was found with this name. I read about package and it needs to set it in CLASSPATH variable, but if this is the case, why it runs at the beginning without any setting to the CLASSPATH? Any idea?
Jose J.<br />SCJP<br />=============================<br />Good bye Stars, Good bye Moon
Welcome to JavaRanch! We ain't got many rules round these parts, but we do have one. Please change your display name to comply with The JavaRanch Naming Policy. Thanks Pardner! ---------------------------- Rather than try to first work out the details of what you are doing, I'd suggest you try a quick search on this forum for "classpath" and maybe "package". The search page link is at the top right of this page. I'm going to guess that your problem concerns the package structure (and consequently the directory structure of the compiled class files) as well as any classpath settings. If your search doesn't help you out much (and I'm fairly confident that it should), does your directory structure match your package structure? Good Luck.