On Fri, Mar 5, 2021 at 2:39 PM Tong Sun <[email protected]> wrote:
>
> On Fri, Mar 5, 2021 at 10:53 AM Vladimir Sitnikov
> <[email protected]> wrote:
> >
> > Hi,
> >
> > Have you tried ./gradlew runGui ?
> > An alternative option is to use ./gradlew createDist which would copy all
> > the dependencies, so you could launch JMeter with bin/jmeter.
> >
> > Please find the commands at
> > https://jmeter.apache.org/usermanual/jmeter_tutorial.html#building
>
> Thanks Vladimir,
>
> It works, for my Java 8.
>
> However, my JMeter scripts need Java 15, so I installed Java 15, following
>  https://mkyong.com/java/how-to-install-java-on-mac-osx/
>
> However this is what I got:
> (sorry, just realized that it is not jmeter's problem but Java15's, so
> marking OT in subject, as I have nowhere to turn to for help, because
> searching for that error message didn't give me much good hits)

NVM, this is really not a jmeter question, and I shouldn't have asked here.
Will ask somewhere else...

> $ /Applications/apache-jmeter-5.4/bin/jmeter
> /Applications/apache-jmeter-5.4/bin/jmeter: line 128: [: : integer
> expression expected
> dyld: Library not loaded: @rpath/libjli.dylib
>   Referenced from:
> /Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home/bin/java
>   Reason: image not found
> /Applications/apache-jmeter-5.4/bin/jmeter: line 199: 48130 Abort
> trap: 6           "$JAVA_HOME/bin/java" $ARGS $JVM_ARGS $JMETER_OPTS
> -jar "$PRGDIR/ApacheJMeter.jar" "$@"
>
> Here is more info, that I think relevant:
>
> $ sed -n '128p' /Applications/apache-jmeter-5.4/bin/jmeter
> if [ "$CURRENT_VERSION" -gt "$MINIMAL_VERSION" ]; then
>
> $ type java
> java is hashed (/usr/local/opt/openjdk/bin/java)
>
> $ java -version
> openjdk version "15.0.1" 2020-10-20
> OpenJDK Runtime Environment (build 15.0.1+9)
> OpenJDK 64-Bit Server VM (build 15.0.1+9, mixed mode, sharing)
>
> $ /usr/libexec/java_home
> /Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home
>
> $ echo $JAVA_HOME
> /Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home
>
> $ ls -l /Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home/
> total 4
> drwxr-xr-x 32 t admin 1024 2021-01-18 18:43 bin
> drwxr-xr-x  7 t admin  224 2021-01-18 18:43 conf
> drwxr-xr-x  5 t admin  160 2021-01-18 18:43 demo
> drwxr-xr-x  9 t admin  288 2021-01-18 18:43 include
> drwxr-xr-x 71 t admin 2272 2021-01-18 18:43 jmods
> drwxr-xr-x 71 t admin 2272 2021-01-18 18:43 legal
> drwxr-xr-x 56 t admin 1792 2021-01-18 18:43 lib
> drwxr-xr-x  3 t admin   96 2021-01-18 18:43 man
> -rw-r--r--  1 t admin 1152 2021-01-18 18:43 release
>
> $ groovy -v
> dyld: Library not loaded: @rpath/libjli.dylib
>   Referenced from:
> /Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home/bin/java
>   Reason: image not found
> Abort trap: 6

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to