4
有没有人拉过这个窍门?Linux/OpenJDK/IcedTea:调试浏览器托管的小应用程序
我试图做类似
$ ICEDTEAPLUGIN_DEBUG=true; firefox
但没有侦听端口8787 The docs说,这应该为我工作。
请不要建议从OpenJDK切换到Oracle JVM:这是好的,但脱离主题。
我不知道正确的插件是存在的,但它应该是这样,因为我已经做了一些跟踪设置,看到正确的信息在
~/.icedtea/logs
我现在的JRE/JDK软件包列表如下( Ubuntu Maverick)。
$ dpkg -l "*jdk*" "*jre*" "*icedtea*"
un cacao-oj6-jre <none> (no description available)
ii default-jdk 1:1.6-40ubuntu1 Standard Java or Java compatible Development Kit
ii default-jre 1:1.6-40ubuntu1 Standard Java or Java compatible Runtime
ii default-jre-headless 1:1.6-40ubuntu1 Standard Java or Java compatible Runtime (headless)
ii gcj-4.5-jre-lib 4.5.2-8ubuntu1 Java runtime library for use with gcj (jar files)
un gcj-jre <none> (no description available)
ii icedtea-6-jre-cacao 6b22-1.10.2-0ubuntu1~11.04.1 Alternative JVM for OpenJDK, using Cacao
ii icedtea-6-jre-jamvm 6b22-1.10.2-0ubuntu1~11.04.1 Alternative JVM for OpenJDK, using JamVM
un icedtea-gcjwebplugin <none> (no description available)
ii icedtea-netx 1.1.1-0ubuntu1~11.04.1 NetX - implementation of the Java Network Launching Protocol (JNLP)
ii icedtea-plugin 1.1.1-0ubuntu1~11.04.1 web browser plugin based on OpenJDK and IcedTea to execute Java applets
un icedtea6-jre-cacao <none> (no description available)
ii icedtea6-plugin 6b21.1.1-0ubuntu1~11.04.1 web browser plugin to execute Java applets (dependency package)
un jre <none> (no description available)
un openjdk-6-dbg <none> (no description available)
un openjdk-6-demo <none> (no description available)
un openjdk-6-doc <none> (no description available)
ii openjdk-6-jdk 6b22-1.10.2-0ubuntu1~11.04.1 OpenJDK Development Kit (JDK)
ii openjdk-6-jre 6b22-1.10.2-0ubuntu1~11.04.1 OpenJDK Java runtime, using Hotspot JIT
ii openjdk-6-jre-headless 6b22-1.10.2-0ubuntu1~11.04.1 OpenJDK Java runtime, using Hotspot JIT (headless)
ii openjdk-6-jre-lib 6b22-1.10.2-0ubuntu1~11.04.1 OpenJDK Java runtime (architecture independent libraries)
un openjdk-6-jre-zero <none> (no description available)
ii openjdk-6-source 6b22-1.10.2-0ubuntu1~11.04.1 OpenJDK Development Kit (JDK) source files
un sun-java5-jre <none> (no description available)
un sun-java6-jdk <none> (no description available)
un sun-java6-jre <none> (no description available)
我已经通过本地IDE启动复制了我需要的参数。所以没有这个奖励,因为它不会烧我的屁股了。无论如何,我会欢迎并就此事投票反对任何理智的想法,因为其他一些可怜的开发者迟早会遇到这个问题。 –