Convertor problem

Im trying to run the converter app on a small java app ive just built and im getting the following error

class VanTest1 does not belong to package VanTest1

My app VanTest1.class is in a folder called VanTest1.

Im totally new to java and havent got a clue what this error means . Could someone please help.

J

[346 byte] By [Jaykit] at [2007-9-26 21:36:51]
# 1

you have probably the package name same as your class name. Check your opt file out. It should look like:

-out EXP JCA CAP

-exportpath d:\jc211\api21

-applet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x6:0x1 vantest1.VanTest1 // this is the package.class

vantest1 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xC:0x6 1.0//This is the package

Another reason could be that your class file is not in the correct directory.

If your package is toto.vantest1, you should have the .class file in that path as well.

Just create the right path and copy you .class file into it.

bonnenbd at 2007-7-3 21:48:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
make sure you've *packaged* it using the package declaration in your java file( package VanTest1; )
DurangoVa at 2007-7-3 21:48:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...