Is there any way to auto download the JEP on to clients machine, if JEP was not already installed ?
Or atleast tell the user to download JEP and install. Actually the applet tag can put the text provided in the applet tag if there is no JRE installed. But on mac with version 10.3.9 I have two versions of JRE 1.3.1 and 1.4.2. Without the JEP the browsers other than safari are finding 1.3.1 and throwing this exception..
java.util.MissingResourceException: Can't find resource for bundle sun.applet.resources.MsgAppletViewer, key appletpanel.badattribute.exception
at java.util.ResourceBundle.getObject(ResourceBundle.java:377)
at java.util.ResourceBundle.getString(ResourceBundle.java:349)
at sun.applet.AppletMessageHandler.getMessage(AppletMessageHandler.java:37)
at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:699)
at sun.applet.AppletPanel.init(AppletPanel.java:180)
at sun.plugin.AppletViewer.init(AppletViewer.java:498)
at com.apple.mrj.JavaEmbedding.JE_AppletViewerPanel.init(JE_AppletViewerPanel.java:48)
at com.apple.mrj.JavaEmbedding.JE_AppletViewer.<init>(JE_AppletViewer.java:152)
at com.apple.mrj.JavaEmbedding.JE_AppletViewerFactory.createAppletViewer(JE_AppletViewerFactory.java:81)
at com.apple.mrj.JavaEmbedding.JE_AppletViewer.createWithAttributes(JE_AppletViewer.java:424)
at com.apple.mrj.JavaEmbedding.JavaEmbedding.createApplet(JavaEmbedding.java:429)
java.lang.NullPointerException
java.lang.NullPointerException
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There currently isn't any way to autodownload the Java Embedding
Plugin. And I'm not sure there ever will be, or whether it's really
desirable (or even possible).
As you're probably aware, even autodownloading of the Java plugin via
the APPLET tag (or OBJECT tag) doesn't work on the Mac -- because
Apple has decided not to support it. And if Apple ever _did_ decide
to support it, they would have to deal with a lot more complexity than
Sun does. As you noted, currently Mac OS X always has at least two
Java versions already installed (Tiger can have three, if you've
downloaded J2SE 5.0/1.5). And many Java versions are only available
for a particular version of Mac OS X.
That said, I will keep in mind the possibility of autodownloading the
Java Embedding Plugin. There is a _very_ small possibility that, in
the distant future, I might be able to pull it off.
As for the error message you report, it sounds like you're trying to
do something that's only supported in later Java versions than Java
1.3.1. Does it work in Java 1.3.1 on other platforms (like Windows or
Linux)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The applet works fine on Windows with JRE1.3.1_03.
The automatic download for java on firefox (on mac) works but obviously the downloaded file is not compatible with mac os. On netscape nothing happens. Safari ignores the download thing and uses 1.4.2_05.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> The applet works fine on Windows with JRE1.3.1_03.
Then maybe the problem is specific to Apple's version of Java 1.3.1.
In any case, I won't be making any effort to fix this -- I don't have
time to provide more than minimal support for Java 1.3.1.
Thanks for checking, though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This error actually caused by using the % in the width and height attributes of applet, the problem is gone when used fixed width and height in the applet tag. I found by googling, that this problem exists in jdk 1.3.1.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there any way to auto download the JEP on to clients machine, if JEP was not already installed ?
Or atleast tell the user to download JEP and install. Actually the applet tag can put the text provided in the applet tag if there is no JRE installed. But on mac with version 10.3.9 I have two versions of JRE 1.3.1 and 1.4.2. Without the JEP the browsers other than safari are finding 1.3.1 and throwing this exception..
java.util.MissingResourceException: Can't find resource for bundle sun.applet.resources.MsgAppletViewer, key appletpanel.badattribute.exception
at java.util.ResourceBundle.getObject(ResourceBundle.java:377)
at java.util.ResourceBundle.getString(ResourceBundle.java:349)
at sun.applet.AppletMessageHandler.getMessage(AppletMessageHandler.java:37)
at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:699)
at sun.applet.AppletPanel.init(AppletPanel.java:180)
at sun.plugin.AppletViewer.init(AppletViewer.java:498)
at com.apple.mrj.JavaEmbedding.JE_AppletViewerPanel.init(JE_AppletViewerPanel.java:48)
at com.apple.mrj.JavaEmbedding.JE_AppletViewer.<init>(JE_AppletViewer.java:152)
at com.apple.mrj.JavaEmbedding.JE_AppletViewerFactory.createAppletViewer(JE_AppletViewerFactory.java:81)
at com.apple.mrj.JavaEmbedding.JE_AppletViewer.createWithAttributes(JE_AppletViewer.java:424)
at com.apple.mrj.JavaEmbedding.JavaEmbedding.createApplet(JavaEmbedding.java:429)
java.lang.NullPointerException
java.lang.NullPointerException
There currently isn't any way to autodownload the Java Embedding
Plugin. And I'm not sure there ever will be, or whether it's really
desirable (or even possible).
As you're probably aware, even autodownloading of the Java plugin via
the APPLET tag (or OBJECT tag) doesn't work on the Mac -- because
Apple has decided not to support it. And if Apple ever _did_ decide
to support it, they would have to deal with a lot more complexity than
Sun does. As you noted, currently Mac OS X always has at least two
Java versions already installed (Tiger can have three, if you've
downloaded J2SE 5.0/1.5). And many Java versions are only available
for a particular version of Mac OS X.
That said, I will keep in mind the possibility of autodownloading the
Java Embedding Plugin. There is a _very_ small possibility that, in
the distant future, I might be able to pull it off.
As for the error message you report, it sounds like you're trying to
do something that's only supported in later Java versions than Java
1.3.1. Does it work in Java 1.3.1 on other platforms (like Windows or
Linux)?
The applet works fine on Windows with JRE1.3.1_03.
The automatic download for java on firefox (on mac) works but obviously the downloaded file is not compatible with mac os. On netscape nothing happens. Safari ignores the download thing and uses 1.4.2_05.
Thanks
> The applet works fine on Windows with JRE1.3.1_03.
Then maybe the problem is specific to Apple's version of Java 1.3.1.
In any case, I won't be making any effort to fix this -- I don't have
time to provide more than minimal support for Java 1.3.1.
Thanks for checking, though.
This error actually caused by using the % in the width and height attributes of applet, the problem is gone when used fixed width and height in the applet tag. I found by googling, that this problem exists in jdk 1.3.1.