
-----------------------------------
Aziz
Fri Jul 08, 2005 10:01 pm

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 [url=http://www.compsci.ca/v2/viewtopic.php?t=9453]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 :shock: 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!

-----------------------------------
Spartan_117
Sat Jul 09, 2005 8:59 am


-----------------------------------
look at my topic, i get the exact same error:
 Exception in thread "main" java.lang.NoSuchMethodError: main

-----------------------------------
Aziz
Sat Jul 09, 2005 9:30 am


-----------------------------------
yeah, thats the exact error :'(

EDIT: No, my problem isn't the same as yours :( The program runs on my computer! The jar and everything!

EDIY: nevemind, WEE IT'S FIXED

-----------------------------------
rizzix
Sat Jul 09, 2005 1:13 pm


-----------------------------------
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.

-----------------------------------
Aziz
Sat Jul 09, 2005 1:47 pm


-----------------------------------
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 :( her stupid sister said she was installing it but she was installing Java Web Start. So I had my girlfriend install JRE 5 :P But thanks for the help :D

-----------------------------------
Spartan_117
Sun Jul 10, 2005 2:52 pm


-----------------------------------
Im pretty sure i hav read and write permissions cuz im the administrator, but how would u check anyways?

-----------------------------------
rizzix
Sun Jul 10, 2005 6:54 pm


-----------------------------------
right click the jar file? click the security tab?
