Java applet does not work with XP home

T

Tuomo Leikkola

I have made java applets in the navigation bar with Front Page 2000. They
don't work with XP Home machines without downloading Java jre from Sun. They
work fine if the operating system is W2000 or W98 or XP Pro. Is the fault in
my code or in the operating system? Is it possible that the long file names
would cause this problem?
Here is a part of the code:
<html>

<head>

<meta http-equiv="Content-Language" content="fi">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<meta name="GENERATOR" content="Microsoft FrontPage 4.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<title>Kjk_navigointi</title>

<base target="alaoikealla">

</head>

<body background="images/vesileima.jpg" bgproperties="fixed">

<table border="0" width="100%" height="566">

<tr>

<td width="100%" height="1"><img border="0" src="images/pelaaja.gif"
width="100" height="100">

</td>

</tr>

<tr>

<td width="100%" height="28">

<applet code="fphover.class" codebase="./" width="120" height="24">

<param name="textcolor" value="#FFFFFF">

<param name="text" value="Ajankohtaista">

<param name="color" value="#0099FF">

<param name="hovercolor" value="#00FFFF">

<param name="effect" value="glow">

<param name="font" value="Dialog">

<param name="fontsize" value="14">

<param name="url" valuetype="ref" value="ajankohtaista.htm">

<param name="target" value="alaoikealla">

<param name="fontstyle" value="bold">

</applet>

</td>

</tr>

<tr>

<td width="100%" height="28">

<applet code="fphover.class" codebase="./" width="120" height="24">

<param name="textcolor" value="#FFFFFF">

<param name="text" value="Yhteystiedot">

<param name="color" value="#0099FF">

<param name="hovercolor" value="#00FFFF">

<param name="effect" value="glow">

<param name="url" valuetype="ref" value="yhteystiedot.htm">

<param name="target" value="alaoikealla">

<param name="font" value="Dialog">

<param name="fontstyle" value="bold">

<param name="fontsize" value="14">

</applet>

</td>

</tr>
 
R

Ronx

Windows XP (either version) does not come with a Java Virtual Machine (JVM).
Without the JVM the Java applets will not work. As you have found, the JVM
has to be downloaded from Sun.

Additionally, new installations of IE6 may remove any existing Microsoft JVM
from operating systems where this is already installed (Win98, WinME,
Win2000).

It is best to find some other method to replace Java applets, such as
JavaScript image rollovers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top