How do I run my application as superuser from Eclipse?

后端 未结 9 1592
闹比i
闹比i 2020-11-29 09:35

I\'m running in to an error when I try to run my server application from Eclipse. The error is java.net.BindException: Permission denied. I think this is be

9条回答
  •  鱼传尺愫
    2020-11-29 09:36

    Assuming you are on Linux (*nix), How about starting your eclipse session via a sudo command?

    Such as

    sudo ~/eclipse/eclipse
    

    Now whatever you do from eclipse will have the sudo context?

提交回复
热议问题