新手求助,LoadRunner 创建Java Vuser时出的错误
import lrapi.lr;import Johnson.lr.test.*;
public class Actions
{
public int init() throws Throwable {
return 0;
}//end of init
public int action() throws Throwable {
return 0;
}//end of action
public int end() throws Throwable {
return 0;
}//end of end
}
------------------------------------------------------------------------------------------
Notify: Found jdk version: 1.7.0.
Warning: Warning: Failed to find Classes.zip entry in Classpath.
Notify: classpath=C:\Users\Administrator.PC-20120915THVU\AppData\Local\Temp\noname4\;d:\loadrunner\loadrunner2\安装位置\classes\srv;d:\loadrunner\loadrunner2\安装位置\classes;;.;C:\Program Files\Java\jdk1.7.0_07\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_07\lib\tools.jar;;;d:\loadrunner\loadrunner2\安装位置\lib\xstream-1.3.jar;d:\loadrunner\loadrunner2\安装位置\lib\xpp3-1.1.4c.jar
Notify: Path=D:\LOADRU~1\LOADRU~2\安装位置\bin;D:\LOADRU~1\LOADRU~2\安装位置\bin\gecko;D:\LOADRU~1\LOADRU~2\安装位置\bin\tulip\bin;D:\LOADRU~1\LOADRU~2\安装位置\bin;C:\Program Files\AMD APP\bin\x86;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.7.0_07\bin;D:\SQL\bin;D:\bin\win32;d:\quarters\quartus\bin;C:\strawberry\c\bin;C:\strawberry\perl\bin;
Notify: VM Params: .
Error: Java VM internal error:Error Loading javai.dll.
.
Warning: Extension java_int.dll reports error -1 on call to function ExtPerProcessInitialize
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.
我用的是LoadRunner11,为什么有错啊,求助 附图 貌似是你jdk版本太新导致的。。。猜测 回复 3# 云层
我也看不百度,一定要用JDK5.0的 吗? 1.6和11是可以的,不过我这样匹配仍然是有问题的,报下面这个错误,已知jdk没有问题,真奇怪
Error: Failed to find java.exe.
Please add the <JDK>\bin to the path and try again.
Warning: Extension java_int.dll reports error -1 on call to function ExtPerProcessInitialize
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread. 问题已解决,lr只支持32位jdk new_lio 发表于 2013-9-19 11:41
1.6和11是可以的,不过我这样匹配仍然是有问题的,报下面这个错误,已知jdk没有问题,真奇怪
Error: Faile ...
我也出现相同的问题,检查了几次JDK都木有问题,64位的支持哪个版本的jdk呢求解.... new_lio 发表于 2013-9-23 16:12
问题已解决,lr只支持32位jdk
我试了一下安装32位的jdk,当时运行是可以的,重新打开又报同样的错误.....
页:
[1]