1、下载jar包并安装SPECjvm2008_1_01_setup.jar
#java -jar SPECjvm2008_1_01_setup.jar -i console
下载地址:http://www.spec.org/download.html
2、环境变量设置
#source /etc/profile使之生效
生效后#echo $JAVA_HOME应该会打印出设置的JDK路径。
3、在安装目录下找到run-specjvm.sh并设置执行权限。
SPECJVM是否安装成功
#./run-specjvm.sh startup.helloworld -ikv
startup.helloworld是SPECJVM中的一个测试例,成功后会显示如下内容:
SPECjvm2008 Base
Properties file: none
Benchmarks: startup.helloworld
WARNING: Run will not be compliant.
Properties file: none
Benchmarks: startup.helloworld
WARNING: Run will not be compliant.

本文档详细介绍了如何在Linux系统中搭建SPECjvm2008,包括从官方地址下载jar包,使用命令行进行安装,并讲解了环境变量配置的步骤。
最低0.47元/天 解锁文章
742

被折叠的 条评论
为什么被折叠?



