24-01-2008, 15:51 | #1 |
Bananaman
Join Date: Jul 2006
Location: Liverpool/Edinburgh
Posts: 4,817
|
Simple Java n00b help (hopefully seriously simple)
Were instructed to use eclipse for our java work, now on the uni lab comps they use 3.2 and 3.3 (but default is 3.2) i can't get 3.2, so i'm using 3.3.
Problem is I create a new project and load to simple ass java files into it, but i cannot for the life of my run it, when i KNOW it runs fine on the uni labs (3.2). I tried it on 3.3 on the lab comps today and it spat out the exact same error, about not being able to find the main class...: "java.lang.NoClassDefFoundError: BounceMain Exception in thread "main" " I'll upload the two java files now, but i know they're Ok. What should i be looking out for? Really getting to me this, becuase i need to start some real coding but if i can't rely on it to actually interpret or compile whats the point? |