I am trying to compile a small Java program in TextPad (4.7.0).
But, I am getting the following error:
Tool completed with exit code -529697949
I have installed Java JDK1.2.2. The tools have been confirgured in Textpad to access java.exe (run application), javac.exe (compile), and appletviewer.exe (run applet)
I am having no problems with my computer at work (Windows2000). It has the same version of Textpad and Java on it.
The computer that I am having problems has WindowsXP
Any sugestions on how to correct this error???
Thanks! Sara
Error in Textpad when trying to compile a Java program
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 1
- Joined: Fri Jul 18, 2003 1:23 am
Hey,
If you've installed the J2SDK but didnt have the application installed beforehand and the error keeps occurring it is probably because the .java files are not associated with the release of java your using. My advice, start again. Keep the editing applications installed but uninstall the J2SDK, get the very latest release and start over. At some point in the setup process (on an XP machine) the setup will ask you whether you want to associate .java files with the new SDK and you just press yes.
You should find that the files now compile without any problem, and this avoids faffing about with stuff like classpaths and things.
Hope this helps anyone.
SAM
If you've installed the J2SDK but didnt have the application installed beforehand and the error keeps occurring it is probably because the .java files are not associated with the release of java your using. My advice, start again. Keep the editing applications installed but uninstall the J2SDK, get the very latest release and start over. At some point in the setup process (on an XP machine) the setup will ask you whether you want to associate .java files with the new SDK and you just press yes.
You should find that the files now compile without any problem, and this avoids faffing about with stuff like classpaths and things.
Hope this helps anyone.
SAM