This discussion is archived
3 Replies Latest reply: Dec 14, 2012 1:43 AM by alabala_kiril RSS

JRE detection error on MacOs

940107 Newbie
Currently Being Moderated
Hi,

I installed jre1.7.0_10 on macOS 10.7.5

Installation is fine, and java for navigator is activated from Java system configuration.

On Firefox :
Java applet plug-in Java 7 update 10 is activated.
the result of "www.java.com/en/download/testjava.jsp" is fine "Java is ok with Java SE 7 update 10 on MacOs X 10.7.5"

But when I launch an applet, jre is not detected :

test1:
var platform = new dtjava.Platform(
     {
          jvm : '1.7.0_10',
          javafx : '2.2.4+',
}
);
alert(dtjava.validate(platform));

gives : os=false, browser=false, jre=old, fx=ok,relaunch=false,Platform==Platform[jvm=1.7.0_10,javafx=2.2.4+,plugin=*,jvmargs=null]

test2:
var platform = new dtjava.Platform(
     {
          jvm : '1.7+',
          javafx : '2.2.4+',
}
);
alert(dtjava.validate(platform));

gives : os=false, browser=false, jre=old, fx=ok,relaunch=false,Platform==Platform[jvm=1.7+,javafx=2.2.4+,plugin=*,jvmargs=null]

test3:
var platform = new dtjava.Platform(
     {
          jvm : '1.6+',
          javafx : '2.2.4+',
}
);
alert(dtjava.validate(platform));

gives : os=false, browser=false, jre=none, fx=ok,relaunch=false,Platform==Platform[jvm=1.6+,javafx=2.2.4+,plugin=*,jvmargs=null]

On Safari: Always jre=none

Do you know what happens with jre detection ?

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points