I've got some classes and Packages in a .jar-file. Now I want to use this with the import funktion but on the NXT I get Error 16.
For Example:
The .jar-file contains the folder com.mysite.test. The test-folder contains the class testit.class.
My Programm has the following code:
- Code: Select all
import com.mysite.test.*;
class tester{
public static void main(String[] args){
testit test = new testit();
}}
When I import the package with eclipse, I can run the Programm on the NXT, but I get the Error 16.
When I use nxjlink -cp "path to pack", I get a Package not found Error.(nxjc works)
When I add the folder of the package to the classes.jar, I can use nxjlink, but I get Error 16.
Thanks, Jan
