Computer Science Canada

Ugh. Now problems running...

Author:  Aziz [ Fri Jul 08, 2005 10:01 pm ]
Post subject:  Ugh. Now problems running...

Okay, well I made this program to store information about characters for my lovely ladyfriend (shes a writer) (I still haven't solved one problem but it's a small error and i wanted to show her it) and I downloaded the JRE5 while i was at her house tonight, and I downloaded update 4 (i have JDK5 update 2) to run it, then sent it to her tonight, and it's not running Shocked it gives her a "main method not found" error. also, i tried running the jarthrough JSmooth but it gives me a compilation null error, something like that. Anyone know ANYTHING that could help? here's the EXACT file i sent her:

EDIT: Attachment removed, updated & finished version added to submissions!

Author:  Spartan_117 [ Sat Jul 09, 2005 8:59 am ]
Post subject: 

look at my topic, i get the exact same error:
Exception in thread "main" java.lang.NoSuchMethodError: main

Author:  Aziz [ Sat Jul 09, 2005 9:30 am ]
Post subject: 

yeah, thats the exact error :'(

EDIT: No, my problem isn't the same as yours Sad The program runs on my computer! The jar and everything!

EDIY: nevemind, WEE IT'S FIXED

Author:  rizzix [ Sat Jul 09, 2005 1:13 pm ]
Post subject: 

Spartan_117 wrote:
look at my topic, i get the exact same error:
Exception in thread "main" java.lang.NoSuchMethodError: main


hey i've experienced such issues with windows lately.. the way i fixed it was fixing the permissions issues on the jar file.. that could be ur problem.. give ur self read and execute privileges.

Author:  Aziz [ Sat Jul 09, 2005 1:47 pm ]
Post subject: 

The problem was that my girlfriend (who was trying to run it) had jre 1.4 installed...i had downloaded jave 5 re but it didnt get installed Sad her stupid sister said she was installing it but she was installing Java Web Start. So I had my girlfriend install JRE 5 Razz But thanks for the help Very Happy

Author:  Spartan_117 [ Sun Jul 10, 2005 2:52 pm ]
Post subject: 

Im pretty sure i hav read and write permissions cuz im the administrator, but how would u check anyways?

Author:  rizzix [ Sun Jul 10, 2005 6:54 pm ]
Post subject: 

right click the jar file? click the security tab?


: