G
greyham433
I'm having a problem with using javah for the simple hello world
program as given on the Sun tutorial site. I can compile my .java file
but then I enter at the prompt:
and it gives the error:
java.lang.Object not found: aborting
I've looked at other posts about this issue and a file classes.zip has
come up where they say to add the path to the file to the CLASSPATH but
it doesn't make any difference. Currently my CLASSPATH is:
..;C:\Documents and Settings\greyham\My Documents\
I have also tried the command:
but I get the error message:
Cannot open C:\WINNT\java\classes\Classes.zip for output
Thanks in advance.
program as given on the Sun tutorial site. I can compile my .java file
but then I enter at the prompt:
javah -jni HelloWorld
and it gives the error:
java.lang.Object not found: aborting
I've looked at other posts about this issue and a file classes.zip has
come up where they say to add the path to the file to the CLASSPATH but
it doesn't make any difference. Currently my CLASSPATH is:
..;C:\Documents and Settings\greyham\My Documents\
I have also tried the command:
clspack -auto
but I get the error message:
Cannot open C:\WINNT\java\classes\Classes.zip for output
Thanks in advance.