|
|
Back to UserFriendly Strip Comments Index
| JAVA help PLEASE! |
by daemon_poet |
2005-08-04 11:51:30 |
Just to let everybody know, I now hate JAVA even more than I ever did LISP!
Ok, here is the situation. We are doing out senior project, due tomorrow, and we cannot get an executable jar file to run. Here is what we have done.
First, the program runs perfectly using dir:>java package.class
Secondly, we are using a main file in the class to run in rather than creating a separate Main.class file.
Third, if I do a simple helloworld class file with a JOptionPane the executable jar file runs fine
Fourth, if I try to call the class that extends JFrame, ergo the one that starts the whole thing off, all of a sudden it cannot find the main.
I don't even have to do anything other than try to instantiate an instance of the object. No usage, no making it visible, nothing. Just go Class c = new Class(); and it dies. Any ideas to what I'm doing wrong? Remember, this is the same file that two seconds ago worked fine until I added the Class c = new Class(); line.
If anybody can tell me what might be going wrong I and my team would really, REALLY be eternally indebted. We would call you a programmer of extra ordinary magnitude. You'd have our gratitude! |
|
[ Reply ] |
|
Manifest Problem? | by TheEvil | 2005-08-04 12:28:34 |
|
Manifest | by daemon_poet | 2005-08-04 12:40:11 |
|
Missing lib? | by TheEvil | 2005-08-04 12:43:11 |
|
To be more exact | by TheEvil | 2005-08-04 12:46:09 |
|
Yea, that seems to be a problem now | by daemon_poet | 2005-08-04 12:51:14 |
|
Use Classpath | by TheEvil | 2005-08-04 12:58:28 |
|
But when I list the contents of the jar file | by daemon_poet | 2005-08-04 13:10:52 |
|
I'm not sure about that | by TheEvil | 2005-08-04 13:26:27 |
|
ClassPath again | by TheEvil | 2006-11-19 12:55:59 |
|
Okay, the last one | by TheEvil | 2006-11-19 12:55:59 |
|
If you are not using eclipse... | by s020597 | 2005-08-04 13:45:03 |
|
Tried net beans | by daemon_poet | 2005-08-04 13:49:25 |
|
I cannot believe that | by s020597 | 2005-08-04 14:03:19 |
|
Thx for the suggestion, though (n/t) | by daemon_poet | 2005-08-04 13:50:13 |
|
more info needed | by emlaabs | 2005-08-04 12:28:50 |
|
ok, no probs. :) | by daemon_poet | 2005-08-04 12:46:31 |
|
quick thoughts | by deadweasle | 2005-08-04 12:30:44 |
|
Neglecting work to answer this question? | by daemon_poet | 2005-08-04 12:48:01 |
|
We do have a manifest file, btw. | by daemon_poet | 2005-08-04 12:48:36 |
|
from your description | by spiffikins | 2005-08-04 12:57:31 |
|
Sorry, lacking lotsa sleep | by daemon_poet | 2005-08-04 13:09:51 |
|
can you run main outside of jar? n/t | by chijik | 2005-08-04 13:25:46 |
|
Yea, the program works perfectly (n/t) | by daemon_poet | 2005-08-04 13:29:43 |
|
ok, | by chijik | 2005-08-04 13:32:13 |
|
Heh, sorry. | by daemon_poet | 2005-08-04 13:38:17 |
|
hmmm, send me the jar? | by chijik | 2005-08-04 13:40:55 |
|
I cant. | by daemon_poet | 2005-08-04 13:45:37 |
|
some useful-looking suggestions here | by chijik | 2005-08-04 14:28:29 |
|
what happens | by spiffikins | 2005-08-04 14:18:40 |
|
i still don't know what the error is that you are | by spiffikins | 2006-11-19 12:55:59 |
|
|
[Todays Cartoon Discussion]
[News Index]
|
|