Using Terminal IDE, I am trying to create a custom class with some variables and methods. I went about trying this by creating the custom class as a separate .java file. I then created a second .java file with the main method to test the custom class. Main idea is that after compiling both .java files successfully, and then converting both .class files to DEX format succesfully, when I try to run the java file containing the main method to test the custom class, I get a list of error messages beginning with:
java.lang.ClassNotFoundException: TesterClass in loader com.spartacusrex.spartacuside.external.dexloader.dexclassloader@4071b260...
Why am I getting this? Everything is compiling well and converting to DEX with no errors. I thought that in java in order to create custom classes, the custom class must be its own separate .java file which is exactly what I've done (I even tried putting both classes in the same .java file to see if this would fix the problem but even Terminal IDE gave me an error when I tried doing this saying that the custom class had to be in its own .java file).
If you're wondering, I'm using a Samsung Galaxy Tab 2 running Android 4.1.2 which within the Android versions that the developer says will work with Terminal IDE. If you want to see my code for both .java files, please let me know and I'd be happy to show you what it is I've done so far. Thanks for any help anyone can give.