How to run .jar file (java application) for generating SQABASIC Script and VU script?
User srinivas ankatha (firstname.lastname@example.org) posted:
1)Application is not being started when i try to
select the .jar file from "start application" or
"start java application" options while trying to
generated sqabasic script.
2) I am getting error like " it is not win32
application ", while trying to genarate vuscript?
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
Re: How to run .jar file (java application) for generating SQABASIC Script and VU script?
In the Robot function, you have to supply all the parmeters that you would otherwise supply on a commandline : For eg. if your are starting a java application (executing a java class Workclass) named "Workclass" located in jar file named "workclass.jar"
StartJavaApplication Class:="com.lethargy.wb.Workclass", CP:=".;C:\myfolder\workclass.jar;C:\Program Files\Rational\Rational Test\JavaEnabler\sqarobot.jar", Working:="C:\myfolder", JvmKey:="JavaSoft JDK 1.4.0_01"
THe CP is equiv to the the -classpath that your would supply on command line.