Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

dumb error

Name: Anonymous 2011-07-01 1:46

I've been on this for about an hour. I've been doing very basic programming for awhile now, and I'm about to try to step up my game. I am using TextPad and the Windows command prompt (windows 7 x64). I can compile the .class file fine (jar cf Test.jar Test.class) but when I try to run the .jar, i get the error "Could not find the main class: Test.class. Program will exit."

I've been pulling my hair out trying to figure this out... any help would be greatly appreciated. Thank you.

Name: Anonymous 2011-07-01 2:19

>>1
Sorry, but tech support is only available to Gold Members or higher. Please purchase a support plan appropriate to your needs.

Name: Anonymous 2011-07-01 2:27

I fixed it. Damn that was dumb.

In the manifest file I had "Test.class"

I was supposed to have just "Test"

Don't change these.
Name: Email:
Entire Thread Thread List