Author Topic: Serial port not found  (Read 1611 times)

0 Members and 1 Guest are viewing this topic.

ridinshotgun

  • Crew
  • *
  • Posts: 475
  • Gender: Male
  • Respect: +82
Re: Serial port not found
« Reply #30 on: December 27, 2024, 01:33:48 PM »
0
Have you tried to uninstall and then reinstall the azul JDK?

I'd say the best course of action is to uninstall what ever java is on your machine first using the uninstall on the app list then using the available methods that are easily searched for which utilize the command prompt method to completely scrub any java that might be left.  Then reinstall the most current version of the azul JRE which is several iteration newer than what  you have on your machine with the azul JDK version.

I have a two month old version of the azul JRE on my 11 machine and it runs without any issue.  Is there a reason you want to stick with the JDK?

Mike C

  • Crew
  • *
  • Posts: 1059
  • Gender: Male
  • Respect: +169
Re: Serial port not found
« Reply #31 on: December 27, 2024, 05:45:07 PM »
0
  JRE does not exist anymore . the newest version of JMRI recomends JAVA 17, the ONLY version of java that exists for 17 is a JDK version . And yes I have uninstalled both programs multiple times .
« Last Edit: December 27, 2024, 05:48:13 PM by Mike C »

peteski

  • Crew
  • *
  • Posts: 33201
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5460
    • Coming (not so) soon...
Re: Serial port not found
« Reply #32 on: December 29, 2024, 12:45:02 PM »
0
  JRE does not exist anymore . the newest version of JMRI recomends JAVA 17, the ONLY version of java that exists for 17 is a JDK version . And yes I have uninstalled both programs multiple times .

So it appears that JDK now also included the JRE part. Maybe it always did . . .  Java can be a major pain in the butt, especially when they started maing it more and more "secure".

Are you installing Java as an Admin user?

It is still unclear to me if you see Java listed int he installed apps?  If not, I doubt you will get anywhere.  Like some of us mentioned, if in command line the "java -version" command is not recognized, JMRI will not work.

https://duckduckgo.com/?t=h_&q=ms+windows+11+how+to+check+if+java+is+installed&ia=web

https://duckduckgo.com/?q=ms+windows+11+how+to+install+Java&t=h_&ia=web
« Last Edit: December 29, 2024, 12:47:02 PM by peteski »
. . . 42 . . .

Mike C

  • Crew
  • *
  • Posts: 1059
  • Gender: Male
  • Respect: +169
Re: Serial port not found
« Reply #33 on: December 31, 2024, 05:39:12 PM »
0
  OK I finally got JAVA to work with JMRI . It took an expert on my laptop to get both programs talking to each other . Now I get to mess with serial ports . I at least know that Someone at NCE will be able to walk me through that .

peteski

  • Crew
  • *
  • Posts: 33201
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5460
    • Coming (not so) soon...
Re: Serial port not found
« Reply #34 on: December 31, 2024, 05:55:27 PM »
0
  OK I finally got JAVA to work with JMRI . It took an expert on my laptop to get both programs talking to each other . Now I get to mess with serial ports . I at least know that Someone at NCE will be able to walk me through that .

That's great Mike, but what needed to be done?  Hopefully that expert explained what he did to get Java installed as it could be helpful in the future to others having similar problem.
. . . 42 . . .

Mike C

  • Crew
  • *
  • Posts: 1059
  • Gender: Male
  • Respect: +169
Re: Serial port not found
« Reply #35 on: December 31, 2024, 06:03:09 PM »
0
From everything I was reading online there was no "PATH" for JMRI to find JAVA . He had to go into command line to do some of it , That's where it went too far above my pay grade .

peteski

  • Crew
  • *
  • Posts: 33201
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5460
    • Coming (not so) soon...
Re: Serial port not found
« Reply #36 on: December 31, 2024, 07:32:56 PM »
0
From everything I was reading online there was no "PATH" for JMRI to find JAVA . He had to go into command line to do some of it , That's where it went too far above my pay grade .

Fair enough.
Maybe I should have asked different question. Was your latest Java JDK install successful (the expert did not have to reinstall it)?  The last few posts in this thread were a bit confusing as to whether you got it to install successfully (and whether it showed up in installed programs).
. . . 42 . . .

ridinshotgun

  • Crew
  • *
  • Posts: 475
  • Gender: Male
  • Respect: +82
Re: Serial port not found
« Reply #37 on: December 31, 2024, 08:15:27 PM »
0
So it appears that JDK now also included the JRE part. Maybe it always did . . .  Java can be a major pain in the butt, especially when they started maing it more and more "secure".

Are you installing Java as an Admin user?

It is still unclear to me if you see Java listed int he installed apps?  If not, I doubt you will get anywhere.  Like some of us mentioned, if in command line the "java -version" command is not recognized, JMRI will not work.

https://duckduckgo.com/?t=h_&q=ms+windows+11+how+to+check+if+java+is+installed&ia=web

https://duckduckgo.com/?q=ms+windows+11+how+to+install+Java&t=h_&ia=web

JRE does still exist  and can be downloaded, it is only the parts of JDK that are needed and it very apparent between the two when you download them.  JDK is over 200 MB while the specific JRE download is just above 46 MB.  JRE shows it as the JDK but specifically says in the file name that it is JRE.

Mike C

  • Crew
  • *
  • Posts: 1059
  • Gender: Male
  • Respect: +169
Re: Serial port not found
« Reply #38 on: January 01, 2025, 05:59:09 PM »
0
  @peteski  I uninstalled the Java I downloaded B4 he started working . The Java was showing up in the download page but until the Tech was able to make a path to it it would not show up in the installed apps list . Interesting bit , I let the Tech download the JAVA it's from a company I never heard of and they had the JRE version . It came from Eclipse Temurin . I always have used Azul for Java .    Mike

peteski

  • Crew
  • *
  • Posts: 33201
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5460
    • Coming (not so) soon...
Re: Serial port not found
« Reply #39 on: January 01, 2025, 06:47:06 PM »
0
  @peteski  I uninstalled the Java I downloaded B4 he started working . The Java was showing up in the download page but until the Tech was able to make a path to it it would not show up in the installed apps list . Interesting bit , I let the Tech download the JAVA it's from a company I never heard of and they had the JRE version . It came from Eclipse Temurin . I always have used Azul for Java .    Mike

Thanks Mike.  Just showing up in the downloaded page does not mean the downloaded file is installed.  Sounds like the tech did download and installed Java.  Well, in the end the important thing is that you have Java and JMRI running.
. . . 42 . . .