Bug 41414 - JMeter on Mac OS X (jmeter directory not found)
Summary: JMeter on Mac OS X (jmeter directory not found)
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.2
Hardware: Macintosh Mac OS X 10.4
: P3 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks: 41416
  Show dependency tree
 
Reported: 2007-01-19 08:31 UTC by Holger Isenberg
Modified: 2007-01-19 09:05 UTC (History)
0 users



Attachments
fix to start on Mac OS X (639 bytes, patch)
2007-01-19 08:32 UTC, Holger Isenberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Isenberg 2007-01-19 08:31:16 UTC
Jmeter on Mac OS X does not find its directory as Java on Mac adds an 
additional entry to the classpath while Jmeter expects only 1 JAR as 
classpath entry.


Error message:

test$ bin/jmeter
Jmeter-Dir: /Users/test/workspace
java.lang.Throwable: Could not access /Users/test/workspace/lib
        at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:80)
java.lang.Throwable: Could not access /Users/test/workspace/lib/ext
        at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:80)
java.lang.Throwable: Could not access /Users/test/workspace/lib/junit
        at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:80)
java.lang.ClassNotFoundException: org.apache.jmeter.JMeter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:175)
Comment 1 Holger Isenberg 2007-01-19 08:32:16 UTC
Created attachment 19433 [details]
fix to start on Mac OS X
Comment 2 Sebb 2007-01-19 09:05:01 UTC
Thanks, now fixed in SVN, so will appear in the next nightly build in:

http://people.apache.org/builds/jakarta-jmeter/nightly/
Comment 3 The ASF infrastructure team 2022-09-24 20:37:38 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1849