NetBeans IDE 8.2安装完成无法正常使用的几种可能的情况(jdk问题&端口已被占)

01 jdk问题
不要版本太高了,用jdk8就行了,安装问题应该看别人的文章就能解决了。。
02 运行时候出现“无法启动GlassFish Server 4.1.1:服务器未运行时,HTTP或HTTPS监听程序端口已被占”
用这个方法(看第二个答案)http://www.javaear.com/question/38916558.html
我这里复制过来了(括号里加了我的建议)
I will tell you what worked for me, as I faced the same problem:
1.Open Services tab in your netbeans application (It was netbeans 8.2 for me).
2.After that Servers -> Glassfish Server 4.1.1.
3.Right click and select properties and see the http port written there(like 8080).
4.Open cmd.exe (win+r) and type netstat -ano. Then find the http port you have seen in previous step under local address.
5.See the pid code there and then open task manager and end that process having same pid code under details tab.(我在这一步的时候是看到pid有8080但是任务管理器找不到,所以我看了8080那一行最后一列有一串数字,在任务管理器就有,结束掉就好了!)
6.Run your program again (also add netbeans actions extension from chrome extensions, if not added. It was asked in my case.)

其实说了一堆废话,总结就是:端口被占用,结束占用端口那个程序就行了。

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值