I have been using collect export for a while now, but today my previous collect export command throws me a strange error. From the error tracing:
So the command pathresolve() in mata is the problem here. It complains about me not having Java, but I have never had Java and I have never experienced any problem with collect export before.
I have no idea of how to solve this.
Code:
- if "`builder'" == "" {
= if "" == "" {
- sreturn local collection `"`name'"'
= sreturn local collection `"T1"'
- sreturn local filename `"`file'"'
= sreturn local filename `"T1.xlsx"'
- }
- mata: (void) pathresolve(pwd(), `"`file'"', "path")
= mata: (void) pathresolve(pwd(), `"T1.xlsx"', "path")
Java installation not found
_pathresolve(): 9904 Stata returned error
pathresolve(): - function returned error
<istmt>: - function returned error
---------------------------------------------------------------------------------- end collect.collect__export ---
exit
}
---------------------------------------------------------------------------------------------------- end collect ---
r(9904);
end of do-file
r(9904);
I have no idea of how to solve this.
Comment