Java JNI javah: cannot access utils.myUtils.Find

Hi all,

I've got the same problem as in this topic:

http://forum.java.sun.com/thread.jspa?threadID=709403

but the given fix doesn't work for me :'(

Here is my class:

~/workspace $ ll /home/tom/workspace/utils/myUtils/Find.class

-rw-r--r-- 1 tom tom 2,2K d閏 01 18:38 /home/tom/workspace/utils/myUtils/Find.class

The command line:

~/workspace $ javah -jni -classpath /home/tom/workspace/ utils.myUtils.Find

error: cannot access utils.myUtils.Find

file utils/myUtils/Find.class not found

javadoc: error - Class utils.myUtils.Find not found.

Error: No classes were specified on the command line. Try -help.

Am'I doing something wrong ? please HEEEEEEEEEELP

PS: Even if you don't have the answer please could you tell me if you think this should work

Message was edited by:

crazyBear

[887 byte] By [crazyBeara] at [2007-11-26 12:48:25]
# 1

Does the following line work to find the class? (If it returns a no such method error then that still means it found the class.)

java -classpath /home/tom/workspace/ utils.myUtils.Find

If not then it means that something is wrong with the class file and it has nothing to do with javah.

jschella at 2007-7-7 16:31:31 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
ok I got it .... utils was the project folder and not a package :(
crazyBeara at 2007-7-7 16:31:31 > top of Java-index,Java HotSpot Virtual Machine,Specifications...