This content has been marked as final. Show 5 replies
user1107924 wrote:Not unless the applet has been compiled with the target flag to target a lower version.
hello all.. my question is very simple.. if I compile and sign an applet with the jdk 1.6.0_37... can a user sees it without problems if he/she has a lower version of java?
I'm doing some tests and I can see the applet with a lower version (jdk 1.6.0_21) but .. there is any posible problem?Of course you'll always have the lower versions working with a newer one, but not the other way around.
EJP wrote:Well, not counting the many patches to security holes that Oracle introduced. Applets can work on one minor version and completely fail on a newer release depending on what they do.
Having said that, there should be no problems within a version, e.g. the two releases of 1.6 that you mention.
But since the OP mentions compiling and testing against the latest version, probably that will be a non-issue.
thanks you ;)... mmm, so that mean that to avoid any problems, I should compile the applet in the latest 1.7 version?
for what I understood for your replies, maybe if the user uses a newer version (and different number version) than the one I use to compile the applet (1.6.0_37), like any 1.7 version... maybe some problems could happen, am I wrong?
thanks in advance
The possibility is always there, but the risk should be minimal if the applet does nothing that can conflict with the Applet sandbox security model. What you should do is TEST your applet against both Java 6 and Java 7; I would target Java 6 for now if you can because many people simply do not have Java 7 installed.