After reading through what I understand of the code, my naive guess is that there's a problem with the clever, but perhaps fragile update-suppression code that is implemented in JEP.
So, I figured the next step would be to try to enable the jep.debug.updates parameter, and see if I could identify a message that appears about a suppressed update -- then go and see if I could un-suppress that one, and at least narrow things down a bit.
<snip>
add the following to the Java Control Panel's "Runtime Parameters", and watch the messages scroll by in the Java Console:
-Djep.debug.updates=true
</snip>
But, 10.5.6 with J2SE 5 doesn't seem to have a JCP, and the "Java Preferences" app that it does come with doesn't seem to have a place to get the Runtime Parameters set.
b) So, I figured I'd enable it the old fashioned way -- hardcode it into a build. But, my problem now is that I've built the JavaEmbeddingPlugin, but when I try to replace the JavaEmbeddingPlugin.bundle that came with FF3 with this one (in /Applications/Local/Firefox.app/Contents/MacOS/plugins), applets silently fail to load. (just get blank white spaces where applets should be).
I've tried both the Release and Debug versions of build with XCode after opening JavaEmbeddingPlugin/i386/JavaEmbeddingPlugin.xcodeproj.
hmm, now that I'm writing this, I think I see what might be the problem -- the builds I have don't have the JavaEmbeddingPlugin.jar file, or the JavaEmbeddingPlugin.policy files..
I'll guess now that I copied that in, I'll try it out (unfortunately, I'm using the FF that I need to restart to test, so I'll post this now). In the meantime, any other hints to help debug?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welp, that didn't work either -- and there was one more piece also missing -- the PkgInfo file.
Maybe I'm building wrong?
I've tried the Debug (as it was when I first opened) and Release build flavors. The JavaEmbeddingPlugin binary is about half the size in my build as in the FF distribution, but the dist file is fat with PPC code, and my version seems to be i386 only..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Also note that there's update-filtering code in both the MRJPlugin
JEP (MRJPlugin.plugin) and JavaEmbeddingPlugin.bundle.
2) In their latest JVM for OS X 10.5.X, Apple has made it difficult to
specify runtime parameters for Java applets. You need to edit the
deployment.javapi.jre.1.5.0.args property in
~/Library/Caches/Java/deployment.properties.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm trying to dig a bit deeper into https://sourceforge.net/tracker/index.php?func=detail&aid=2144786&group_id=107955&atid=649116 (aka https://bugzilla.mozilla.org/show_bug.cgi?id=466666\).
After reading through what I understand of the code, my naive guess is that there's a problem with the clever, but perhaps fragile update-suppression code that is implemented in JEP.
So, I figured the next step would be to try to enable the jep.debug.updates parameter, and see if I could identify a message that appears about a suppressed update -- then go and see if I could un-suppress that one, and at least narrow things down a bit.
I ran into a couple of stumbling points though:
a) I can't figure out where, on 10.5.6 with J2SE 5, to set the parameter. http://javaplugin.sourceforge.net/KnownProblems.html says:
<snip>
add the following to the Java Control Panel's "Runtime Parameters", and watch the messages scroll by in the Java Console:
-Djep.debug.updates=true
</snip>
But, 10.5.6 with J2SE 5 doesn't seem to have a JCP, and the "Java Preferences" app that it does come with doesn't seem to have a place to get the Runtime Parameters set.
b) So, I figured I'd enable it the old fashioned way -- hardcode it into a build. But, my problem now is that I've built the JavaEmbeddingPlugin, but when I try to replace the JavaEmbeddingPlugin.bundle that came with FF3 with this one (in /Applications/Local/Firefox.app/Contents/MacOS/plugins), applets silently fail to load. (just get blank white spaces where applets should be).
I've tried both the Release and Debug versions of build with XCode after opening JavaEmbeddingPlugin/i386/JavaEmbeddingPlugin.xcodeproj.
hmm, now that I'm writing this, I think I see what might be the problem -- the builds I have don't have the JavaEmbeddingPlugin.jar file, or the JavaEmbeddingPlugin.policy files..
I'll guess now that I copied that in, I'll try it out (unfortunately, I'm using the FF that I need to restart to test, so I'll post this now). In the meantime, any other hints to help debug?
Welp, that didn't work either -- and there was one more piece also missing -- the PkgInfo file.
Maybe I'm building wrong?
I've tried the Debug (as it was when I first opened) and Release build flavors. The JavaEmbeddingPlugin binary is about half the size in my build as in the FF distribution, but the dist file is fat with PPC code, and my version seems to be i386 only..
Two things:
1) Read Building.txt from the JEP distro.
Also note that there's update-filtering code in both the MRJPlugin
JEP (MRJPlugin.plugin) and JavaEmbeddingPlugin.bundle.
2) In their latest JVM for OS X 10.5.X, Apple has made it difficult to
specify runtime parameters for Java applets. You need to edit the
deployment.javapi.jre.1.5.0.args property in
~/Library/Caches/Java/deployment.properties.