【問題解決方案】之 jmeter啟動報錯:Not able to find Java executable or version. Please check your Java installation

來源:互聯網
上載者:User

標籤:虛擬   which   老師   root使用者   虛擬機器   ati   googl   登入   答案   

  • 故事發生在雲端運算實驗課上……
    ** 故事發生在雲端運算實驗課上……

Step 1 在Xshell中登入自己的cloud虛擬機器後,<sudo su ->切換到root使用者

Step 2 <~/tpcw/apache-tomcat-8.5.23/bin/startup.sh>啟動虛擬機器裝好的TPC-W(an e-commerce website, which supports online shopping and payment)

Step 3 Download Apache Jmeter from office website and unzip

Step 4 解壓後進入bin中找到 jmeter.bat 並雙擊(嗷,老師的文檔這麼寫的,double-click)

Not able to find Java executable or version. Please check your Java installation.

Step 5 google之,並從stackoverflow上找到了滿意的解決方案,即右擊用管理員身份運行.bat檔案即可成功啟動JMeter。

Step 6 又試了一下安裝jvm9的版本,確定一下到底是不是Java版本問題

原答案連結
https://stackoverflow.com/questions/20717051/i-am-trying-to-open-jmeter-by-the-batch-file-but-it-gives-me-a-windows-error

【問題解決方案】之 jmeter啟動報錯:Not able to find Java executable or version. Please check your Java installation

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.