Sign in to follow this  
Followers 0
CraigA

Running a Cached Java Web Start Application

1 post in this topic

I had a shortcut to an application cached by Java Web Start and wanted to automate the login process.

It took me way to long to figure out the correct format for the second parameter. Maybe this post will save you some time.

ShellExecute("C:\Program Files\Java\j2re1.4.2_05\javaws\javaws.exe", '"@C:\Program Files\Java\j2re1.4.2_05\javaws\cache\indirect\indirect14878.ind"')

The second parameter is a bit hard to read. It is:

[single quote, double quote, (the parameter as shown in the orignal Shortcut Target properties),double quote, single quote]

The tricky part is that javaws requires this parameter in quotes as does SellExecute().

When my Java version was upgraded last week, the ShellExecute() failed.

I fixed it by changing paramer 1 from "javaws" to what is shown above to use the correct, older version of javaws.

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0