Dude, I have solved the problem last week. It is actually due to the unable to write on the system drive. By allowing the system to be written at the setting, then header file can be generated.
@myteksp So sad, it is ok.. I am still trying =( but still having the same problem. By the way, may I ask something? what OS are you using? thank you.. by the way, the video is really helpful for me as newly in jni :D
Great tutorial, most of the questions I had about JNIs were covered, thank you.
The only problem I'm having is when I try to use the command "javah -jni MyJniClass" in the command prompt, I keep getting an error that says "can't recover from an I/O error."
However, if your class compiled properly and there are no problems like spaces in file patch, the only thing i can think about just now is that you are trying to use 64bit version of javah with class that was copiled by a 32bits java.
If i will find the exact answer - i'll let you know.
@halleyhardiman אבא של האתאיסטים ! שפת הגוף שלך משדרת נואשות - מוחצנות תאטרלית בשל חסך ומחסור עצום שפגע קשות בגבריות שלך - יש לך דימוי עצמי נמוך מאד - בשל אבר מין מאד מאד קטן - מה קטן -פיצי !!! ובשל כך אתה מקצין במופרעות כדי לא להחשף ! כמה מדוייק - אהה?נו באמת
Dude, I have solved the problem last week. It is actually due to the unable to write on the system drive. By allowing the system to be written at the setting, then header file can be generated.
sanniezhuo 6 months ago
@sanniezhuo
Wait a minute... are you working on linux?
myteksp 6 months ago
I have the same problem. How did you guys solve this problem?
sanniezhuo 6 months ago
@sanniezhuo
I did not resolve it, because i never had it. :\
sorry...
myteksp 6 months ago
@myteksp So sad, it is ok.. I am still trying =( but still having the same problem. By the way, may I ask something? what OS are you using? thank you.. by the way, the video is really helpful for me as newly in jni :D
sanniezhuo 6 months ago
I did this video when i was a student. Happy to see its steal relevant and actually helps people :)
For this vid i used windows 7...
BTW if you figure out what was the problem, could you let me know?
myteksp 6 months ago
@myteksp I see.. Hmm, I am using windows 7 as well :(
yeap, sure, if I figure it out, definitely I let you know^^
sanniezhuo 6 months ago
to help, the full error is : "Error: can't recover from an I/O error with the following message: MyJniClass.h (access is denied)"
halleyhardiman 1 year ago
That might be my problem, I'm running on Vista 32bit.
If that's my problem, do you know what I'd have to do to not have this problem anymore?
thank you again
halleyhardiman 1 year ago
Great tutorial, most of the questions I had about JNIs were covered, thank you.
The only problem I'm having is when I try to use the command "javah -jni MyJniClass" in the command prompt, I keep getting an error that says "can't recover from an I/O error."
Do you have any idea why that is happening to me?
Thank you for the video again
halleyhardiman 1 year ago
@halleyhardiman
I have never seen this error.
However, if your class compiled properly and there are no problems like spaces in file patch, the only thing i can think about just now is that you are trying to use 64bit version of javah with class that was copiled by a 32bits java.
If i will find the exact answer - i'll let you know.
myteksp 1 year ago
This has been flagged as spam show
@halleyhardiman אבא של האתאיסטים ! שפת הגוף שלך משדרת נואשות - מוחצנות תאטרלית בשל חסך ומחסור עצום שפגע קשות בגבריות שלך - יש לך דימוי עצמי נמוך מאד - בשל אבר מין מאד מאד קטן - מה קטן -פיצי !!! ובשל כך אתה מקצין במופרעות כדי לא להחשף ! כמה מדוייק - אהה?נו באמת
mymenora 1 year ago