I recently upgraded to STATA 17 and once I did so (without errors or obvious problems) then I was no longer able to able to Import text data (delimited csv). When I do (either in code or using GUI) I get the following error:
Following advice in other posts I tried to "query java" and received this output:
I then used
Which took some time to download, reinstalled and reset STATA and then it worked without a problem.
However, the next time I open STATA I get a "please wait while windows configures STATA 17" dialog box with progress bar and cancel button. When completed STATA opens but java error has returned.
Does anyone have any ideas?
Thanks!
Code:
java.lang.UnsatisfiedLinkError: 'java.lang.String com.stata.Resource.getResource(java.lang.String, java.lang.String)' at com.stata.Resource.getResource(Native Method) at com.stata.Resource.getUIEX(Resource.java:62) at com.stata.plugins.imports.StImportDelimitedUI.<clinit>(StImportDelimitedUI.java:156) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.stata.Javacall.load(Javacall.java:162) at com.stata.Javacall.load(Javacall.java:103)
Code:
Java settings set java_heapmax 4096m set java_home C:\Program Files\Stata17\utilities\java\windows-x64\zulu-jdk17.0.5\
Code:
update all, force
However, the next time I open STATA I get a "please wait while windows configures STATA 17" dialog box with progress bar and cancel button. When completed STATA opens but java error has returned.
Does anyone have any ideas?
Thanks!
Comment