Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Help! Javaws Dies With Invalid Argument Exception

843802Sep 15 2006 — edited Oct 5 2006
A 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 2 2006
Added on Sep 15 2006
4 comments
957 views