From: Lars Enderin on
Lew wrote:
> Mike Schilling wrote:
>> I read it differently: that the applet issues the error message
>> "Sorry, you need Java 1.5+ to run this Applet", but this makes no
>> sense to Lars because he has Java 1.6.
>
> I think I'm beginning to see what I'm missing. Apparently what Lars
> left out is that the applet refuses to run and complains that his
> version is not recent enough.
>
> The "applet refuses to run" part is what I didn't see in his post.
>
> Do I have that right?
>
I thought I had a recent Java installed in my browser (Firefox 3.5.7),
but it looks like I hadn't. I'm running Ubuntu 6.10 64-bit, and it also
appears that I need to have a 32-bit Java JRE if I want to be able to
run applets. I already had /usr/lib/jvm/java-6-sun-1.6.0.16/. In fact, I
have a lot of Java versions:
/usr/lib/jvm:
total used in directory 120 available 92249044
drwxr-xr-x 6 root root 4096 2009-11-15 17:38 .
drwxr-xr-x 256 root root 86016 2010-02-17 14:57 ..
lrwxrwxrwx 1 root root 24 2009-09-11 20:27 ia32-java-6-sun ->
ia32-java-6-sun-1.6.0.16
drwxr-xr-x 6 root root 4096 2009-09-11 20:27 ia32-java-6-sun-1.6.0.16
-rw-r--r-- 1 root root 3114 2009-08-28 23:38 .ia32-java-6-sun.jinfo
lrwxrwxrwx 1 root root 18 2009-10-30 15:09 java-1.5.0-gcj ->
java-1.5.0-gcj-4.4
drwxr-xr-x 6 root root 4096 2009-10-30 15:09 java-1.5.0-gcj-4.4
lrwxrwxrwx 1 root root 14 2009-10-30 15:09 java-1.6.0-openjdk ->
java-6-openjdk
drwxr-xr-x 8 root root 4096 2009-11-15 17:38 java-6-openjdk
-rw-r--r-- 1 root root 2313 2009-11-10 07:41 .java-6-openjdk.jinfo
lrwxrwxrwx 1 root root 19 2009-09-11 20:27 java-6-sun ->
java-6-sun-1.6.0.16
drwxr-xr-x 6 root root 4096 2009-09-11 20:27 java-6-sun-1.6.0.16
-rw-r--r-- 1 root root 2793 2009-08-28 23:37 .java-6-sun.jinfo
lrwxrwxrwx 1 root root 12 2009-10-30 15:09 java-gcj -> java-gcj-4.4
lrwxrwxrwx 1 root root 18 2009-10-30 15:09 java-gcj-4.4 ->
java-1.5.0-gcj-4.4

I have now installed java-6-sun-1.6.0,18, i586 version, and can run the
applet.
From: John B. Matthews on
In article <hlha9o$h2l$2(a)news.albasani.net>, Lew <noone(a)lewscanon.com>
wrote:

> Mike Schilling wrote:
> > Lew wrote:
> >> Mike Schilling wrote:
> >>> Lew wrote:
> >>>> Lars Enderin wrote:
> >>>>>>> The fontshower applet alone is enough to turn me off. I says:
> >>>>>>> Sorry, you need Java 1.5+ to run this Applet. I have Java
> >>>>>>> 1.6!
> >>>> Lew wrote:
> >>>>>> Why is that a problem? You meet the requirement.
> >>>> Mike Schilling wrote:
> >>>>> But the message says that he doesn't. Perhaps he has a 1.6 JDK
> >>>>> installed, but the JRE used by the browser is only at 1.4.
> >>>> That's not what the message says. It says that he has Java 6
> >>>> and doesn't even mention a JDK. It also doesn't actually say
> >>>> that he has a problem, only that the applet's requirement turns
> >>>> him off, an emotional response.
> >>> I read it differently: that the applet issues the error message
> >>> "Sorry, you need Java 1.5+ to run this Applet", but this makes no
> >>> sense to Lars because he has Java 1.6.
> >> That's how I read it, too, although both of us had to infer to
> >> make that interpretation. Especially because that objection
> >> doesn't make sense. According to that interpretation, Lars's
> >> system meets the requirement.
> >
> > Yes.
> >
> >> Leaving the question, "Why is that a problem?"
> >
> > Because the applet doesn't recognize that it does.
>
> How do you figure? It asks for Java 1.5+, and 1.6 is certainly above 1.5.

Here's Roedy's <applet> tag:

<applet
class="cmp"
archive="fontshower.jar"
code="com.mindprod.fontshower.FontShower.class"
width="720" height="660"
alt="You need Java 1.5+ to run this Applet."
>
Sorry, you need Java 1.5+ to run this Applet.
</applet>

Although the <applet> tag is deprecated,

<http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.4>

it is the browser that displays the message:

ALT = alternateText: This OPTIONAL attribute specifies any text that
should be displayed if the browser understands the APPLET tag but can't
run Java applets.

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
From: Roedy Green on
On Wed, 17 Feb 2010 10:39:33 +0100, Lars Enderin
<lars.enderin(a)telia.com> wrote, quoted or indirectly quoted someone
who said :

>Sorry, you need Java 1.5+ to run this Applet.
>I have Java 1.6!

I guess I will have to change that convention throughout the website.
JDK 1.5+ means JDK 1.5 or later.
--
Roedy Green Canadian Mind Products
http://mindprod.com

Nothing has really happened until it has been recorded.
~ Virginia Woolf (born: 1882-01-25 died: 1941-03-28 at age: 59)
From: Roedy Green on
On Wed, 17 Feb 2010 10:39:33 +0100, Lars Enderin
<lars.enderin(a)telia.com> wrote, quoted or indirectly quoted someone
who said :

>Sorry, but you are asking too much from me. I am sorry I commented at
>all. The fontshower applet alone is enough to turn me off. I says:
>Sorry, you need Java 1.5+ to run this Applet.
>I have Java 1.6!

Where did you find the message? All I could find were "1.5 or later"
messages.

Further, if you simply visit the page the Applet should start up
without ceremony.
--
Roedy Green Canadian Mind Products
http://mindprod.com

Nothing has really happened until it has been recorded.
~ Virginia Woolf (born: 1882-01-25 died: 1941-03-28 at age: 59)
From: Roedy Green on
On Wed, 17 Feb 2010 19:47:31 +0100, Lars Enderin
<lars.enderin(a)telia.com> wrote, quoted or indirectly quoted someone
who said :

>>
>I thought I had a recent Java installed in my browser (Firefox 3.5.7),
>but it looks like I hadn't. I'm running Ubuntu 6.10 64-bit, and it also

Most browsers need a 32-bit Java. I have both 32 bit and 64 bit Javas
installed on my machine. The Browsers select the 32 bit version and
applications select the 64-bit version.

If you look below the Applet, you should see this text:

1. This Java Applet (that can also be run as an application) needs at
least 32-bit (not 64-bit) Java 1.5. For best results use the latest
1.6.0_18. and a recent browser.

2. Firefox 3.6 requires Java 1.6.0_10 or later.

3. If you have Windows 7 64-bit and Internet Explorer 64-bit, you can
use 64-bit Java.
--
Roedy Green Canadian Mind Products
http://mindprod.com

Nothing has really happened until it has been recorded.
~ Virginia Woolf (born: 1882-01-25 died: 1941-03-28 at age: 59)