JDK-4777392 : Mantis b06:file type description for jnlp is not set to NS/IE on Win98 ja
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_98
  • CPU: x86
  • Submitted: 2002-11-12
  • Updated: 2002-12-18
  • Resolved: 2002-11-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Description
==================================================================
OS : Windows 98 japanese
JRE bundle : j2re-1_4_2-beta-bin-b06-windows-i586-06_nov_2002.exe
Browser : IE5, NS4.7, NS7
Test suite : http://i18n-u1-26c.sfbay.sun.com:8080/jaws-i18n/doc/jaws-141-ql.html
==================================================================


Installing j2re on Windows98 japanese, the description of file type for JNLP file is not added on the browsers' setting, so JaWS applicaion can't be launched through both of IE and Netscape and the daialog box comes up and asks me whether I save the file or launch it with other application.


To reproduce,

1. Install j2re with j2re-1_4_2-beta-bin-b06-windows-i586-06_nov_2002.exe on Windows98 japanese

2. Click one of the test case on the testsuite:
For example,
http://i18n-u1-26c.sfbay.sun.com:8080/jaws-i18n/test/bat/hello-i18n.jnlp 

3. You can see the problem.

- Trying the same test on other Windows japanese OSes(XP pro., 2K pro., ME and NT), this is not reproducible with b06.
- This is not reproducible with Mantis b03.
(* Jaws in b04 and b05 don't work due to other bug.)


Adding jnlp file type description manually on My computer->View->Folder Option->File Type as below, the problem is still reproducible.

===============================================
Mime type : application/x-java-jnlp-file
Action : Launch
Application : C:\program files\java\j2re1.4.2\javaws\javaws.exe
===============================================

However, when I select to open the applicaiton from its location directly with IE5, the application starts to be lauched, but an error occurs as below and it stops;

TooManyArgumentsException[ 
{C:\WINDOWS\Temporary, Internet, Files\Content.IE5\8F0VBC82\hello-i18n[1].jnlp }] at com.sun.javaws.Main.main(Unknown Source)

When I select to open the applciation from its location directly without adding the description manually, jaws is not launched and a window on which other applications on the machine are listed and I am prompted to select one of the application(it's a behavior on windows when the file type is not recogrined).

So this seems not to be a workaround.

[Note] 
I tried to install j2re on five Windows98 ja machines, but on three of them the installation was failed and j2re installer seems to have some problems on win98, though I've not confirmed if the problem has been filed as a bug already or not.
So you may also see the installtion problem on win98.



Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis VERIFIED IN: mantis-beta
31-08-2004

EVALUATION Fixing for Mantis. ###@###.### 2002-11-12 We were using a Win32 Registrar functionality that was unsupported on some versions of Win98. Specifically, we were trying to create a binary registry value from a .rgs file. I removed the offending instruction from the .rgs file, now we just create the binary value programatically, which works on all versions of Windows. ###@###.### 2002-11-12
12-11-2002