Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked
Trouble loading Java
#java
I'm helping a friend with updating his JMRI from 4.2 to 5.8. I made the mistake of not doing the update in the steps suggested when doing so. I removed Java and now, his machine will not load Java 1.8 again. It hangs with an error code and the Java site states they don't know why this happens and the workarounds don't work for me. Java 11 loads just fine. I'm wondering if I just copy his roster and panel folders onto a flash drive, remove JMRI and then load Java 11 and then JMRI version 5.8. I then should be able to just pop in the roster and panel folders and life should be good again. Thoughts??
Thanks
Inspectordave |
|
I suggest you remove JMRI and any existing JAVA versions. Load Azul Java 8 and then JMRI 4.26. Run it. Then you can do the upgrades per instructions. Changes happen to the panels that prevent you from jumping them right into JMRI 5.x.
--
Ken NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959) Loconet * JMRI 5.9.3 * OSX,Win10,Ubuntu Blog: ?
|
|
Inspectordave:
I'd need to read what data layout changes have occurred with that large jump in revs... But, if you have the time I'd go for it if only for the learning experience. Assuming Win10/11..? What is the Java source? Azul? If so what file format did you download the <dot>MSI? That's the one you need. Jim Albanowski |
|
Hi Ken and thanks for your reply
Here are the two Java's I've tried to load on that machine.
jre-8u421-windows-i586 this is for a remote computer not internet connected
jre-8u421-windows-x64 The other failed to load so I also tried this one after removing Java from the computer.
?
zulu11.60.19-ca-jdk11.0.17-win_x64 this one loads but because I skipped the steps when going from 4.2 to 5.8 nothing worked so I removed this Java and just tried to load up the 1.8 version from the Java for a remote computer.?
?
You suggested loading Azul Java 8. Is this a file that can be copied onto a flash drive and loaded onto a remote computer and I'm assuming it is different than the jre-8u421??
?
Thank you
Inspectordave
? |
|
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.
Thoughts are appreciated.
later
Inspector Dave |
|
I Dave,
For Windows systems, you must run the standalone installer if the computer isn't on the internet. In the fine print you will see one of the download options is 'standalone' meaning offline install. That file is usually 150M or greater. At this point, I'd suggest getting the Java removal tool from Oracle to see if it can find stray parts and make sure all of those are removed. Sometimes a broken install can confuse the new install. On a Windows system, parts get put in a number of different places and things get set here and there and the installer knows all those places. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com |
|
Dave, 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=[email protected]> wrote:
--
John Griffin Model Railroading Topics |
|
Ken and John
I kinda thought so as far as just placing the Java folder in the other computer. John, I did use the offline Java, but it will not load on the computer there. Comes up with an error code that I do not have in my 73-year-old hard drive as I type this. Ken, the java I downloaded is, jre-8u421-windows-i586 and it is about 61KB so maybe this is not the correct version??
As always, thanks for both of your replies.
later
Inspector Dave |
|
Ken and John
The offline Java I'm finding is about 61 KB and not the 150 Ken thought is could be.
?
Error Code 1603. Java Update did not complete.
This is the error code I'm getting on the other computer.
?
But like I mentioned, I'm going to bring my USB WIFI adapter and just connect his computer to the internet for the java program the next time I'm over his way hoping that will take care of all of this stuff. Never had an issue loading offline java before this.
Thaks guys
Inspector Dave |
|
Dave,
Since this is a java 8 version, you would be limited to JMRI 4.26. If you want newer versions of JMRI, you would need to go elsewhere for a Java version. The version with i586 is the 32 bit version while the x64 is the 64 bit version. Depending on the version of Windows, you might need one or the other. For newer versions of JMRI, go here and read about other Java providers. I've been using the Asul source most of the times. I'd go with Java 17 right now. But Java 11 will do. We can't predict if you would have problems with Java 21. I'm using Java 21 but part of that is to see if I find any problems with that. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com |
|
Thanks to Dave Sand for diving into this Java Vista issue for me. He steered me to a java version with a 151 patch. He stated that 151 version had a patch for Windows 7 and earlier Windows. Vista was just before Windows 7 and I remembered the 151 showing in the java version on the welcome to JMRI welcome popup. I removed any Zulu files and searched for anything left in the program files. Once I was sure there was nothing left on the vista machine, I crossed my fingers and loaded the java 1.8 151. I watched the green progress line and shazam, it loaded. I opened PanelPro and DecoderPro and everything was back in place and fully accessible. The length of time from my last group reply is due to conflicting schedules between me and the other layout owner. So yes, Vista can run with java and the need is that patch of 151. He is only needing JMRI 4.26 and has no desire to try an update to 5.0.
Thanks again to all that gave suggestions. You are all appreciated.
later
Inspector Dave
? |
to navigate to use esc to dismiss