|
-
Sep 5th, 2003, 11:12 AM
#1
Thread Starter
Member
***?!?! *resolved*
Allright so i have the easyist java program in the world complete...
i compile it run it, and test it. Works fine.
I copy the .java to my laptop, (which has the same SDK set up and path var set), compile compleats fine, run it i get Exception in thread "main" java.lang.NoClassDefFoundError: SevenApp
what? it should work fine i copy the .class to my other computer and run it, it works!!! Someone help me i need java to work on my laptop.
if u really wana see the simple prgm source... here it is...
Code:
public class SevenApp {
public static void main(String[] args) {
for (int i=1; i<100; i++) {
if ((i % 7) == 0) {
System.out.println(i);
}
}
}
}
Last edited by awuh0; Sep 8th, 2003 at 09:29 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|