Use openjdk & openjfx snap in NetBeans

Hi: I have installed NetBeans 12 snap from Ubuntu Software and openjdk and openjfx snaps. Problem is Netbeans does not open so I looked at videos and installed openjdk 11 which is sudo apt install default-jdk so that installed and netbeans now opens and works great. A number of videos and instructions state this procedure. My question is how do I get netbeans and eclipse to work with the openjdk and openjfx snaps. The version of the snaps is 15 so I would really like to use them and get rid of openjdk 11. I have read up on the snaps but have not come across how to configure netbeans to use them. Please point me in the right direction. Thanks.


Go to Source of this post
Author Of this post: Mike G
Title Of post: Use openjdk & openjfx snap in NetBeans
Author Link: {authorlink}