This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes Installing IE7 broke my applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Installing IE7 broke my applet" Watch "Installing IE7 broke my applet" New topic
Author

Installing IE7 broke my applet

Lanny Gilbert
Ranch Hand

Joined: Jun 11, 2002
Posts: 103
My applet ran just fine with IE6. When our corporate IT group upgraded us to IE7, an error box like this pops up.

-----------------------------------------

Microsoft Visual C++ Runtime Library

Runtime Error!

Program C:\Program Files\Internet Explorer\iexplore.exe

abnormal program termination

-------------------------------------------

Anybody else seen this?? Here is my code for including the applet (I've changed the proprietary stuff)



<OBJECT classid="clsid:CAFEEFAC-0015-0000-0007-ABCDEFFEDCBA"
width="950" height="595" align="baseline"
codebase="http://<Internal Site for downloading JRE>/Sun_J2RE_1.5.0_07.EXE#Version=1,5,0,7">
<NOEMBED><XMP>

<APPLET code="AppName.class" align="baseline"
width="950" height="595">
</XMP>
<PARAM NAME="java_code" VALUE="AppName.class">
<PARAM NAME="java_type" VALUE="application/x-java-applet;jpi-version=1.5.0,7">
<PARAM NAME="scriptable" VALUE="true">
<PARAM name="name" value="AppName">
<PARAM name="id" value="AppName">

<PARAM name="archive" value="LIST OF JARS">

<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM name="cache_archive" value="LIST OF JARS">
No Java 2 SDK, Standard Edition v 1.5.0_07 support for APPLET!!

</APPLET></NOEMBED>
</OBJECT>



Here is an example of an internal applet that WORKS!, because it uses the IE default JRE of 1.4.2_06

<OBJECT
classid = "clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA"
codebase="/comp/javaplugin/j2re-1_4_2_06-windows-i586-p.exe#Version=1,4,2,6"
WIDTH = "600" HEIGHT = "336" NAME = "AppName" >
<PARAM NAME = CODE VALUE = "AppName" >
<PARAM NAME = NAME VALUE = "AppName" >
<PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.2,6">
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME="cache_archive" VALUE="ifxmsg.jar,ifxjdbc.jar,tts.jar">
<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM NAME="cache_version" VALUE="1.0.0.0,1.0.0.0,1.4.2.B">

<COMMENT>
<EMBED
type = "application/x-java-applet;jpi-version=1.4.2,6" \
cache_archive="LIST OF JARS" \
cache_option="Plugin" \
cache_version="1.0.0.0,1.0.0.0,1.4.2.B" \
CODE = "LIST OF JARS" \
JAVA_CODEBASE = "/comp/javaplugin/j2re-1_4_2_06-windows-i586-p.exe#Version=1,4,2,6" \
NAME = "JTTSApplet" \
WIDTH = "600" \
HEIGHT = "336" \
scriptable = false \
pluginspage = "/comp/javaplugin/index.html" >
<NOEMBED>

</NOEMBED>
</EMBED>
</COMMENT>
Either you have no JDK 1.4 support for the applet, or your JRE is
not installed correctly.
<a href="index2.html">Click here</a> for an alternative page that may work.
</OBJECT>
Lanny Gilbert
Ranch Hand

Joined: Jun 11, 2002
Posts: 103
I was able to fix this issue by removing the <NOEMBED> and </NOEMBED> tags. Hopefully, this will help someone else in the future.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing IE7 broke my applet
 
Similar Threads
JDK 1.5 Compiled Applet not working with JRE 1.4
JRE not installed on client system
Unable to load Applet in Tomcat 5.5.12
Unable to load Applet in Tomcat 5.5.12
Game Tutorials -->> Exploring Browser Support for Java 2