Forum Stats

  • 3,839,017 Users
  • 2,262,438 Discussions
  • 7,900,836 Comments

Discussions

Microsoft JScript compilation error alert on initial load using IE7

882132
882132 Member Posts: 2
edited Aug 12, 2011 10:46AM in Java Applet Development
I have noticed that a javascript alert window is displayed whenever an Applet is initially launched using IE7.
This does not happen using IE8 (or FF, SF, Chrome, etc).

I thought it was our implementation, but the alert is also shown launching any Applet from the following;
http://java.sun.com/applets/jdk/

There are typically 2 alerts and after pressing OK, the Applets appear to run successfully.

The specific error is;
Alert title: Microsoft JScript compilation error.
Alert content: Expected ')' in regular expression.

I don't always remember this error using IE7.
Maybe it's related to the JRE?
I am currently using: (build 1.6.0_26-b03)

Any solution out there?
Tagged:

Answers

  • 793415
    793415 Member Posts: 7,279 Bronze Badge
    879129 wrote:
    ..I thought it was our implementation, but the alert is also shown launching any Applet from the following;
    http://java.sun.com/applets/jdk/
    I just had a look at the source of two of the pages from the 1.4 section of that page (Animator (1) & ArcTest) & saw some very questionable HTML for the <tt>applet</tt> element, as well as two seemingly unrelated scripts. What do you get for (instead of those), the GIF Animator (the applet form)? It uses <tt>deployJava.js</tt>, which is about the only deployment option that Oracle cares about at the moment.
  • 882132
    882132 Member Posts: 2
    I get the same 2 alerts when launching the Applet from http://pscode.org/gifanim/applet.html
    Is this the site you were referring to?
  • 793415
    793415 Member Posts: 7,279 Bronze Badge
    879129 wrote:
    I get the same 2 alerts when launching the Applet from http://pscode.org/gifanim/applet.html
    :(
    Is this the site you were referring to?
    Yes, that is the one.
This discussion has been closed.