Simon- The -I instead of --classpath worked, unfortunately i now get: undefined reference to 'test1::class$' ?