>>>I was wondering if you were affected by this too

No, I wasn't.  The moment my JDK was set correctly in NB16 I was able to select the same list of remote connections I had before with NB12.5 and they worked immediately.

FYI: when selecting Tools -> Java Platforms I've always seen the remote sessions, irrespective of the JDK version I had selected in NB16.

--
Best rgds,
Geert

On 11/12/2022 13:42, Michael Bien wrote:

I see - good that it is working for you.

There is a related bug where the remote platform can be selected but it wouldn't do anything if you run the project. This would only happen if the remote platforms were imported from an older NB release. Since you mentioned importing them in the first mail I was wondering if you were affected by this too.

this should hopefully fix it:
https://github.com/apache/netbeans/pull/5067

best regards,
michael


On 10.12.22 17:53, Geert Vancompernolle wrote:

Follow this <https://netbeans.apache.org/kb/docs/java/javase-embedded.html> meticulously.

The most important thing you should take care of is that the JDK version selected for your Netbeans project on your Windows (or whatever) machine is the same as the one installed on the Raspberry Pi.  In my case, I overlooked the fact that the JDK for my Netbeans project on my Windows PC was defaulted to JDK17 (due to the switch to NB16) while the one on my Raspberry Pi was/is set to JDK11.  Changing the JDK for my Netbeans project on my Windows machine to JDK11 was in the end solving the issue.

Best rgds,
-- Geert


On 2022/12/10 16:31:42 Michael Bien wrote:
> how did you solve the issue?
>
> a similar issue just got filed which reports that the migration of
> remote platforms doesn't work:
>
> https://github.com/apache/netbeans/issues/5065
>
> Looks like the config import did work in your case or did you patch
> something?
>
> -mbien
>
>
>
> On 10.12.22 16:00, Geert Vancompernolle wrote:
> > Ok, found the issue myself.  Everything is working fine again, I can
> > see all my remote platforms.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
--

Reply via email to