JDK-4529999 : Problem with Install of "Notepad" Web Start Sample App
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.0.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-11-21
  • Updated: 2001-11-28
  • Resolved: 2001-11-28
Related Reports
Duplicate :  
Description

Name: nt126004			Date: 11/20/2001


java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C) Java HotSpot
(TM) Client VM (build 1.3.0-C, mixed mode)


After installing and running the JWS Notepad sample app, view source in IE5
became associated with the JWS Notepad app instead of Windows Notepad.  Each
time view source was selected, JWS would run.
(Review ID: 135683) 
======================================================================

Name: nt126004			Date: 11/21/2001


java version "1.3.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_03)
Java HotSpot(TM) Client VM (build 1.3.0_03, mixed mode)

I have installed Java Web Start using IE6. It appears to work fine, but when I
try to use the "View Source" on any WEB page, Java Web Start is executed. It
produces an error dialogue box "Unable to launch the specified application".

I did run the Java Notepad application, but I only noticed the problem with
IE later; so it could be either JWS or the Notepad application that produced
the problem.

When I do 'view->source', JWS starts and I get an error dialog "Unable to
launch the specified application". If I press the "details" button I get the
following text:

--------------------------
An error occurred while launching/running the application.

Category : Invalid Argument error

Too many arguments supplied: {D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\javaws2,
G:\temp\Temporary Internet
Files\Content.IE5\XKZ1T8DY\dgrayweb.compapp.dcu[1] }
--------------------------

I can start the Java Notepad Application from JWS or an appropriate WEB
page.

I have looked at "File Types" in "Folder Options" in the file explorer and
the only file type associated with JWS is JNLP; so any association for
editors with JWS appears to be within IE.

I have not used JWS on any other machine.
(Review ID: 135409)
======================================================================

Comments
WORK AROUND Name: nt126004 Date: 11/20/2001 After examining the registry we remembered Java Web Start had installed an app called Notepad. We had installed it from http://java.sun.com/products/javawebstart/demos.html We found we did not have a View Source Editor for IE5 specified in the Registry, but by following instructions on http://www.godel.com/lila/html/ievse.htm we were able to fix the problem by specifying MS Notepad's path. Yes we know MS products suck. ======================================================================
31-08-2004