User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Problem signing a Java Applet

  1. #1
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem signing a Java Applet

    Hey, folks!

    I am trying to sign a Java Applet that uses a File object and Download object in it. After following Game_Master's instructions on how to sign a Java Applet, I downloaded and installed "java_ee_sdk-6u2-jdk-windows.exe".

    I went through the process of creating a key and creating a signed iteration of my Java Applet without any problems.

    However, when I try to test the signed Java Applet on my local computer through an HTML file, I get a Java message that states "Cannot run a Java Web Start application in standard mode."

    What am I doing wrong here?

    Thank you for your help!



    Most appreciatively...

    RGBreality

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem signing a Java Applet

    Are you trying to open the JAR file instead of the HTML file?

    EDIT: And you should build a Java Internet Applet, not Web Start.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem signing a Java Applet

    Hey, Jamie! Thanks for your reply!

    I am indeed trying to open the JAR file via an HTML file (and not the JAR file directly). I took the MMF2-produced HTML file and edited the name of the signed JAR file.

    And I am indeed producing a Java Internet Applet.

    I would upload the MFA file to MFArepository, but I can't seem to upload to it presently.



    RGBreality

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem signing a Java Applet

    There is always the File Archive here on the forums that you could upload to.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem signing a Java Applet

    Hey, Nivram!

    I'm afraid that my MFA file is just a tad larger than 1 MB, so I can't upload it to the File Archive forum.

    Let me see if I can share my MFA this way:

    MFA File In Which Its Digitally Signed JAR Output Cannot Be Viewed

    Thanks for your help, as always!


    Most appreciatively...

    RGBreality

  6. #6
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem signing a Java Applet

    I'm afraid I'm still having problems being able to open a signed JAR file originally produced from MMF2.

    Could it be something wrong I've set up inside the MFA file? It seems that I am able to produce a signed JAR file without problems, so I'm at a loss.

    Thank you for your assistance, as always!



    Most graciously...

    RGBreality

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Problem signing a Java Applet

    Have you tried to follow the method describe in MMF documentation? (section distributing / Java).
    One never knows, it might work.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem signing a Java Applet

    Hey, Francois!

    Actually, producing the JAR file isn't the problem, nor is it signing it (following the post in this forum how to do so). Once the JAR has been signed, I cannot open it via the JAR's HTML file.



    RGBreality

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Problem signing a Java Applet

    What error message do you get?
    Just a question : do you use the window control object in your application? It is not compatible with Applets...

  10. #10
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem signing a Java Applet

    Hey, Francois!

    No, I don't use the Window Control object. (I found that when I first tried using one, the unsigned JAR file wouldn't open.)

    Just to reiterate, I am able to successfully produce an unsigned JAR file from MMF2 (and view it), as well as use Sun's JDK to produce a signed JAR file. However, it is the signed JAR file I cannot open.

    The error message I get is "Cannot run Java Web Start application in Standard mode." However, in MMF2, I am developing a Stand-Alone Java Internet Applet (not a Stand-Alone Web Start).

    Here is a download link to the MFA file: Download

    And here is a download link to the signed JAR file I cannot open: Download

    Thanks again for your help, Francois! I really appreciate it!


    RGBreality

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •