jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michaelp <micha...@alcas.com>
Subject java.lang.ClassNotFoundException: org.apache.jmeter.JMeter
Date Tue, 13 Nov 2007 13:54:53 GMT

Trying to start JMeter and the JVM can not find the JMeter class. Here are
some specifics about the error and the environment. Can anyone help? Please.

Error
 [root@hollerith bin]# ./jmeter.sh
java.lang.ClassNotFoundException: org.apache.jmeter.JMeter
        at java.net.URLClassLoader.findClass(URLClassLoader.java:375)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:562)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:180)
JMeter home directory was detected as: /opt/JMeter

System Info

[root@hollerith bin]# pwd
/opt/JMeter/bin

[root@hollerith bin]# cat /proc/version
Linux version 2.4.21-27.0.2.ELsmp (bhcompile@tweety.build.redhat.com) (gcc
version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)) #1 SMP Wed Jan 12 23:35:44
EST 2005

[root@hollerith bin]# java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia321420-20040626 (JIT
enabled: jitc))

[root@hollerith bin]# echo $JAVA_HOME
/opt/WebSphere/AppServer/java

[root@hollerith bin]# env
TERM=xterm
WAS_BOOTCLASSPATH=/opt/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar
JAVA_HIGH_ZIPFDS=200
SSH_TTY=/dev/pts/0
QUALIFYNAMES=-qualifyHomeName
WEMPS_REGISTRY=/var/wemps/registry
USER=root
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;0         
                                   
1:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b         
                                   
tm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:         
                                   
*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*         
                                   
.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3         
                                   
5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
PATH=/root/bin:/opt/WebSphere/AppServer/java/bin/:/opt/WebSphere/AppServer/java/         
                                   
jre/bin:/opt/WebSphere/AppServer/bin:/opt/wemps/bin:/opt/WebSphere/AppServer/jav         
                                   
a/ibm_bin:/opt/WebSphere/AppServer/java/bin/:/opt/WebSphere/AppServer/java/jre/b         
                                   
in:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bi         
                                   
n:/usr/sbin:/usr/bin:/usr/X11R6/bin
WAS_CLASSPATH=/opt/WebSphere/AppServer/properties:/opt/WebSphere/AppServer/lib/b         
                                   
ootstrap.jar:/opt/WebSphere/AppServer/lib/j2ee.jar:/opt/WebSphere/AppServer/lib/         
                                   
lmproxy.jar:/opt/WebSphere/AppServer/lib/urlprotocols.jar:/opt/WebSphere/AppServ         
                                   
er/lib/urlprotocols.jar:/opt/WebSphere/AppServer/lib/urlprotocols.jar
INPUTRC=/etc/inputrc
PWD=/opt/JMeter/bin
WAS_LIBPATH=/opt/WebSphere/AppServer/bin:/opt/mqm/java/lib:/opt/wemps/lib
JAVA_HOME=/opt/WebSphere/AppServer/java
LANG=en_US.UTF-8
SHLVL=1
HOME=/root
LD_ASSUME_KERNEL=2.4.19
BASH_ENV=/root/.bashrc
WAS_HOME=/opt/WebSphere/AppServer
LOGNAME=root
CLASSPATH=./:/clients/scripts/classes:/opt/WebSphere/AppServer/installedApps/hol         
                                   
lerith/vcrolo.ear/vc.war/WEB-INF/classes:/opt/WebSphere/AppServer/installedApps/         
                                   
hollerith/vcrolo.ear/vc.war/WEB-INF/lib/jt400.jar:/opt/WebSphere/AppServer/insta         
                                   
lledApps/hollerith/vcrolo.ear/vc.war/WEB-INF/lib/classes12.jar:/opt/WebSphere/Ap         
                                   
pServer/installedApps/hollerith/vcrolo.ear/vc.war/WEB-INF/lib/rowset.jar:/client         
                                   
s/scripts/classes:/opt/WebSphere/AppServer/installedApps/hollerith/vcrolo.ear/ro         
                                   
lo.war/WEB-INF/lib/ocrs12.jar:/opt/WebSphere/AppServer/lib:/opt/WebSphere/AppSer         
                                   
ver/installedApps/hollerith/vcrolo.ear/vcrolo_common.jar:/opt/WebSphere/AppServe         
                                   
r/installedApps/hollerith/kabar.ear/kabar.war/WEB-INF/lib/Verisign.jar:opt/WebSp         
                                   
here/AppServer/installedApps/hollerith/kabar.ear/kabar.war/WEB-INF/classes
SSH_CONNECTION=10.1.19.122 2792 192.168.3.233 22
WAS_EXT_DIRS=/opt/WebSphere/AppServer/java/lib:/opt/WebSphere/AppServer/classes:         
                                   
/opt/WebSphere/AppServer/lib:/opt/WebSphere/AppServer/lib/ext:/opt/WebSphere/App         
                                   
Server/web/help:/opt/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.e         
                                   
jbdeploy/runtime:/opt/mqm/java/lib:/opt/wemps/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ITP_LOC=/opt/WebSphere/AppServer/deploytool/itp
CLIENTSAS=-Dcom.ibm.CORBA.ConfigURL=file:/opt/WebSphere/AppServer/properties/sas         
                                   
.client.props
STDINCLIENTSAS=-Dcom.ibm.CORBA.ConfigURL=file:/opt/WebSphere/AppServer/propertie         
                                   
s/sas.stdinclient.props
G_BROKEN_FILENAMES=1
_=/bin/env
OLDPWD

-- 
View this message in context: http://www.nabble.com/java.lang.ClassNotFoundException%3A-org.apache.jmeter.JMeter-tf4797837.html#a13726101
Sent from the JMeter - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message