的Java Applet的1.7.0_u25与调试日食 [英] Java 1.7.0_u25 Applet Debugging with eclipse
问题描述
我想现在调试2天一个小程序,我已经走了过来在网站上公布每一个解决方案,但我找不到我的错误。
I'm trying to debug an applet for 2 days now and I've gone over every solution posted on this site, but i can't find my mistake.
在我的Java运行时环境设置设置我所有的JRE的参数:
At my Java Runtime Environment Settings i set up all my JREs with the parameters:
-Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
当我运行在任何浏览器小程序,并确认从Java新的安全对话框,小程序启动 - 无一不精。
然而,当我跑我在Eclipse调试器的设置:
When I run the Applet in any browser, and confirm the new security dialog from Java, the Applet starts - all fine. However, when I run my Debugger in Eclipse with the settings:
- 连接类型:标准(套接字连接)
- 主机:本地主机
- 端口:8000
我得到这个错误:
启动小程序遇到了问题。无法连接到远程虚拟机。
'Launching Applet' has encountered a problem. Failed to connect to remote VM.
在详细信息窗格:
无法连接到远程虚拟机网络无法访问:连接
Failed to connect to remote VM Network is unreachable: connect
一平的输出为localhost是:
The output of an Ping to localhost is:
ping localhost
Pinging myhostename.mydomain [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
什么是我非常可笑的错误?
What is my awfully ridiculous mistake?
推荐答案
太阳已经固定的,和修补程序将包含在Java的1.7.0更新40(在八月下旬发布)
Sun already fixed that, and the fix will be included in Java 1.7.0 update 40 (released in late August)
下面是错误报告:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8016154
有是更新40月初访问:
http://jdk7.java.net/download.html
There is a early access for update 40: http://jdk7.java.net/download.html
我还没有试过,但也许它可以帮助别人那里。
I have not yet tried this but maybe it helps someone out there.
编辑:更新40现在被释放,我再次尝试它,但它仍然无法工作......
我会继续努力,也许我做错了什么。
Update 40 is now released, I tried it again but it still won't work... I will continue trying, maybe i did something wrong.
这篇关于的Java Applet的1.7.0_u25与调试日食的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!