Menu

#4 Detect Java and offer install

1.0
open
nobody
None
2014-07-30
2012-05-18
No

jCapture requires JRE7 now requires JRE6, but as of 2012-06-23, it doesn't offer to install if it's not present.

As of 2012-05-18, it doesn't properly detect the version. When attempting to use jCpature with JRE6, nothing happens (no error message)

Pavel explained: "I tried to use "the new way" to define the applet tag using JavaScript, as described here http://docs.oracle.com/javase/tutorial/deployment/applet/deployingApplet.html, jcapture.jnlp is the "remnant" of those efforts. It didn't work. I guess the reason is that applet.php is loaded by ajax and deployJava.js did not get executed. I didn't want to mess with DokuWiki internals to adjust sack to evaluate scripts on load and abandoned my efforts."

Discussion

  • Marc Laporte

    Marc Laporte - 2012-06-23
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -jCapture requires JRE7
    +jCapture <s>requires JRE7</s> now requires JRE6, but as of 2012-06-23, it doesn't offer to install if it's not present.
    
     As of 2012-05-18, it doesn't properly detect the version. When attempting to use jCpature with JRE6, nothing happens (no error message)
    
    • summary: Detect Java 6 and offer to upgrade to Java 7 --> Detect Java and offer install
     
  • jonny Bradley

    jonny Bradley - 2012-09-17

    The integration in Tiki doesn't use applet.php as it was too specific to DokuWiki. In Tiki the applet is defined in templates/jcapture/capture.tpl and it uses an < object > tag to embed it, which is supposedly the html5 valid way of doing this (but does still seem very fragile).
    I'll recheck and see if i can add a download URI as a parameter to that...

     
  • Marc Laporte

    Marc Laporte - 2013-11-25

    The Screensharing applet for BigBlueButton is a good example for how to make sure user has Java installed and up to date.

    A simple link to:
    http://www.java.com/en/download/installed.jsp

     
  • Marc Laporte

    Marc Laporte - 2014-07-30

    "This fixes the Java version detection in the
    deskshare applet so that desktop sharing will continue to work with
    newer Java updates (including Java 7 update 65 and Java 8)."
    https://groups.google.com/forum/#!topic/bigbluebutton-dev/db8VxAn_iaY

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.