Originally posted by Ulf Dittmer:
PatienceIsAVirtue
The JRE is sufficient, and it should not require any special setup. How are they trying to run this file? What is the exact error message?
thanks everyone for the response...i submitted it to someone as if it were good as gold and ready to be deployed, only to find out that the first person I tried it on did not work, so that i'm freaking out.
they have JRE installed for sure. the error is the infamous:""Could not find main class. Program will exit." " i just tried it on another work computer with the same JRE (1.4.2) and same error message. this means that every computer in the company can't run this executable JAR now most likely. all have windows XP.
again, it's an executable jar so i'm just having them double click it. i compiled it with jar cvfm.... works at home on 3 computers now (2 with sdk and one 1 jre) simply double clicking it. it has the manifest file in it and two class files. those 3 computers at home are also windows xp. the one 1 with only JRE MAy have had sdk installed at one point.
the two class files are not in packages and even if they were, why would it work at home and not at work if that were an issue??? manifest file is:
and that's it. new line of course. is it missing somethign that would only work on certain JRes? works got
java ver 1.4.2 and I got the new 1.6 update2 or whatever it's called now.
what's the deal here? why can't i run this at work? any ideas are welcomed.