compile error

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
eus
Posts: 2
Joined: Fri Dec 02, 2005 10:04 pm

compile error

Post by eus »

iv just recently downloaded textpad and everything seems ok...the code compiles fine but when i go to run it i get this error message on the DOS screen:
"Exception in thread "main" java.lang.NoClassDefFoundError: 'file name'"

any help would be much appreciated..
wansley
Posts: 3
Joined: Wed Jan 25, 2006 8:53 pm

Re: compile error

Post by wansley »

eus wrote:iv just recently downloaded textpad and everything seems ok...the code compiles fine but when i go to run it i get this error message on the DOS screen:
"Exception in thread "main" java.lang.NoClassDefFoundError: 'file name'"

any help would be much appreciated..
Do you have QuickTime 7 installed on the PC you are trying this on? I just discovered that with QT7 installed, I get this error, while with QT 6.5, I do not. If possible, try uninstalling QT on the system in question and see if that fixes the problem.

--
William Ansley
agnul
Posts: 21
Joined: Tue Feb 10, 2004 9:42 am
Location: Italy

Post by agnul »

Same as here :wink:
itpurt
Posts: 1
Joined: Fri Jan 27, 2006 4:17 am

but... my itunes !!!!

Post by itpurt »

this is not a java question...but here it is
well, as you suggested, i removed quicktime from my computer. But, for my itunes to run i need quicktime...what should i do :cry:


also, why does quick time have anything to do with how text pad works? is quick time using programs that keep textpad form working properly? im just curious
User avatar
helios
Posts: 710
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

If you run a java application from the Command Prompt, you will get the same error, so this is not a TextPad problem.

When you install QuickTime 7 it messes up the Classpath, which you can find under: Start/Settings/Control Panel. Double click System. Click the Advanced tab and then the Environment Variables button.

I suggest that you install QuickTime 6.5 and then check that the Java functions are working correctly. Then go to the Classpath setting for the JDK, as described above, and insert a ;(semi colon) at the start of the path. You should then be able to install QuickTime 7, without it causing any problems.

If you are successful, please report the problem to Apple.

I hope this helps.
Helios Software Solutions
Post Reply