P
priya
HI All,
I have java code in the following path
D:\test\mypackage\sample\check.java
i have include package in my java code
package mypackage.sample
I have set Classpath: D:\test
Compiling the java code :\test\mypackage\sample>javac -g check.java
Generating Jni header files : D:\test\mypackage\sample>javah -jni check
error: cannot access check
bad class file: .\check.class
class file contains wrong class: mypackage.sample.check
Please remove or make sure it appears in the correct subdirectory of
the classpa
th.
I am using Jdk1.5 version....I have got the above error ..
But when i use jdk1.4 version..everything is working fine...
Dont have idea how it varies from version to version....
plz someone help me to solve the issues..
I have java code in the following path
D:\test\mypackage\sample\check.java
i have include package in my java code
package mypackage.sample
I have set Classpath: D:\test
Compiling the java code :\test\mypackage\sample>javac -g check.java
Generating Jni header files : D:\test\mypackage\sample>javah -jni check
error: cannot access check
bad class file: .\check.class
class file contains wrong class: mypackage.sample.check
Please remove or make sure it appears in the correct subdirectory of
the classpa
th.
I am using Jdk1.5 version....I have got the above error ..
But when i use jdk1.4 version..everything is working fine...
Dont have idea how it varies from version to version....
plz someone help me to solve the issues..