Hiya, just a quick question.
Im using Textpad to write Java files at home but it fails to recognise the Animax package i need to use (imported using "import animax.*;" statement)
Does anyone know how to either get Textpad to look at these files or know where its looking so i know where to put them?
Thanks in advance
LP 8)
"Package animax does not exist"
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Nicholas Jordan
- Posts: 124
- Joined: Mon Dec 20, 2004 12:33 am
- Location: Central Texas ISO Latin-1
- Contact:
What do you mean: "fails to recognize (package name)" ?
Java works with imports, not the editor. It takes a lot of reading to acclimatize to just exactly how javac looks for packages, it has to do with directories and I have forgotten just exactly how I solved this problem ... but from memory it would be that I placed all source files for a package in a directory named exactly the same as the package name.
I tried to ignore or skip this way of doing things, then ended up using it for just exactly the reasons it was originally designed.
Score one, Old Codgers Coding Club
//eof
Java works with imports, not the editor. It takes a lot of reading to acclimatize to just exactly how javac looks for packages, it has to do with directories and I have forgotten just exactly how I solved this problem ... but from memory it would be that I placed all source files for a package in a directory named exactly the same as the package name.
I tried to ignore or skip this way of doing things, then ended up using it for just exactly the reasons it was originally designed.
Score one, Old Codgers Coding Club
//eof