Jmeter没有在mac osx 10.10中启动

时间:2014-11-24 06:14:41

标签: macos jmeter osx-yosemite java-6

im java 6用户,当我尝试启动jmeter2.12时,我尝试开始使用$sh jmeter$sh jmeter.sh的2个命令并失败。我在两次尝试中都克服了以下错误:

thushara@Thusharas-MacBook-Pro: ~/Documents/greg/apache-jmeter-2.12/bin $ sh jmeter

dyld: lazy symbol binding failed: Symbol not found: _CGContextSetAllowsAcceleration
  Referenced from: /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Libraries/libawt.jnilib
  Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices

dyld: Symbol not found: _CGContextSetAllowsAcceleration
  Referenced from: /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Libraries/libawt.jnilib
  Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices

jmeter: line 136: 38351 Trace/BPT trap: 5       java $ARGS $JVM_ARGS $JMETER_OPTS -jar "$PRGDIR/ApacheJMeter.jar" "$@"

我应该如何在新的mac osx 10.10中启动jmeter?

1 个答案:

答案 0 :(得分:1)

这是新操作系统上Java的一个问题。

根据邮件列表中的答案,重新安装java:

另见: