try to import myApp.Foo; in the GetJar class because the Foo.java is located in different package and because of that GetJar class cannot able to find the Foo class. I've tried this and it works fine..
preparing SCJP [ November 06, 2008: Message edited by: joseph gonzales ]
Better import the Package in which we have the Foo.java or else give the complete path of Foo after Extends statement as
public class GetJar extends myapp.Foo
or include import myapp;
the problem you are facing here is that the GetJar tries to extend Foo which GetJar supposes that it will be in the same package but there is no Foo avaialble in test; instead it is present in sub package myapp.