If I understand correctly what you are doing, just copying the directory will not work. During the installation process Java writes registry entries that identify its location among other?things. You need to download the installable package and run it on the computer that requires Java. As far as getting the correct installable read this:
On Mon, Sep 16, 2024 at 4:38?PM Inspectordave via <inspectordave51=gmail.com@groups.io> wrote:
Still having trouble with the friend's computer not seeing java. Java kept saying it encountered an error and didn't complete the loading process. So, I took my flash drive and at my computer downloaded it into a folder on the flash drive I named Java. Today I placed that Java folder into the C; programs area, restarted the computer and tried loading JMRI 4.12. JMRI would load because it couldn't find Java. So what the heck, I placed the Java folder on the C drive and also the X86 folder, restarted and still JMRI cannot find Java. I've NEVER had any issues loading Java onto a computer that is not connected to the internet. I'm assuming placing a Java folder into the computer is not the same as having Java do it. I tried the Zulu 8 thing as well and that didn't work.
My friend is very happy I'm helping him update his JMRI, I'm saying sarcastically. Unless somebody has another suggestion, what I intend to do next is use my USB WIFI device and take it over there and download Java from the internet.