Thanks for your info and the description of how to "Run as administrator".
I was able to execute the mklink commands. The links now point to the right place, but that still did not fix the problem.
Hello Rube Goldberg!
I created a batch file, JavaJar.bat, and placed it in the C:\Java\jdk1.8.0_66 folder.
I modified the default program to run for .jar files to point to this batch file. The batch file contains:
C:\Java\jdk1.8.0_66\bin\Java.exe -jar %1
So the default program for.jar files is set to be this batch file. This batch file runs Java.exe explicitly stating the directory.
Now all I have to do is recall the batch file command so that it does not leave the Command window open.
I double-click on my Export.jar file and it runs.
I'm not proud of this solution, but it works. I would appreciate learning the correct way to solve the problem which was probably caused by my moving the Java stuff from C:\Program Files\Java to C:\Java.
Why did I move Java? I have a real old image-editing program that uses Java but does not like spaces in filenames. It has one function that I can't find anywhere else. I don't remember any details, but when you need it, it's really handy.
Thanks,
Barry.