Using URLs to specify the JAR files won't work as the Java VM doesn't
accept URLs to build the classpath. You'll have to download the
necessary JARs as a first step and then run the application locally.
Another option might be to pack Squiggle using a JNLP description and
use Java WebStart to invoke the application in which case the download
would be automatic.
On 06.12.2008 05:54:31 Noel Whiting wrote:
> I'm using batik Squiggle to print SVG models using the following Javascript
> in an .hta file
>
> var oShell = new ActiveXObject("Shell.Application");
> var commandtoRun;
> var commandParams;
>
> commandtoRun = "http://enet. ....../batik-squiggle.jar" ;
> commandParams = "http://enet...../s0000XXX.svg" ;
>
> oShell.ShellExecute(commandtoRun,commandParams);
>
> It works fine when the batik-squiggle.jar file & the batik lib subdirectory
> are on a network PC, but when they're loaded to the intranet site (iis) I get
> a 'Virtual machine launcher - Could not find the main class error'
>
> If anyone can help me with this I'd be most thankful.
>
> Cheers, Noel
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]