Re: 5.40 'javaws.exe' shortcut problem ?
Sorry, I missed that you had moved up to 5.40.
The answer is "you can't " which is why they don't.
MPLABX v5.40 requires 64 bit tools, and MC can't be bothered doing a 64 bit version of MPASM. That's why it is no longer installed, so you have no hope of manually installing it.
To get a useful answer, always state which PIC you are using!