Post the output that you get for your netbeans file here. You can use the chmod command to make the script executable (assuming you are the owner) if necessary
righ click on the file / properties / files types option
It display me theses software
kate
LibreOffice Writer
Okular
Right-click on the file, and select ‘Open With’ > ‘Other…’. Configure it to open with ‘/bin/sh’ and ‘Run in terminal’. You can enable the ‘Remember application association for all files…’ if you like. This will result in a custom .desktop file in ~/.local/share/applications/ so that when you next double-click and open this file it will launch a shell to run in.
First a general remark. Please do copy/paste complete, that is inclsuing the line with the prompt and the command and also the line with the prompt at the end. Only so others can see what you did to get that output. Also copy/paste that between CODE tags. You get CODE tags by clicking on the button with # in the tool bar of the post editor.
Then
Development/ide/netbeans10/bin/netbeans
This filename has noo suffix of .sh. So there is no way how KDE can associate this file with want you to do with that.
And it is contrary to what you say in your first post here: