Help! Javaws Dies With Invalid Argument Exception
843802Sep 15 2006 — edited Oct 5 2006A few days ago using the JRE 1.5.0.6 of the JDK SE 1.5.0.6 distribution on Windows 2000 with the latest service packs, I successfully ran an installer jar file for a development tool using Java Web Start. Then I upgraded to JDK SE 1.5.0.8 and tried to reinstall the same jar. This time Java Web Start gave me an "Invalid Arguments Error" with the following details below. The javaws2 file mentioned below is approximately 66 Mbytes.
This is the first problem I have had with Java Web Start. I have tried falling back to JDK SE 1.5.0.6 but now I get the same error there as well when installing this particular jar file. Other web apps that I run (which have javaws2 files up to 45Mbytes) run okay.
Can someone tell me how to get around this error?
Thanks,
Will Warren
General Tab:
An error occurred while launching/running the application.
Category: Invalid Argument Error
Could not load file/URL specified:
C:\DOCUME~1\wwarren\LOCALS~1\Temp\javaws2
Exception Tab:
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\DOCUME~1\wwarren\LOCALS~1\Temp\javaws2]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)
Wrapped Exception Tab:
java.io.IOException: File too large
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)
Console Tab:
Java Web Start 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\wwarren
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
0-5: set trace level to <n>
----------------------------------------------------
#### Java Web Start Error:
#### Could not load file/URL specified: C:\DOCUME~1\wwarren\LOCALS~1\Temp\javaws2
Message was edited by:
wbw57