Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4529999
Votes 0
Synopsis Problem with Install of "Notepad" Web Start Sample App
Category javawebstart:other
Reported Against 1.0.1
Release Fixed
State 11-Closed, duplicate of 4480656, bug
Priority: 3-Medium
Related Bugs 4480656
Submit Date 21-NOV-2001
Description




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) 
======================================================================




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)
======================================================================
Work Around




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.
======================================================================
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang