Hetaliawillliveon / jvmtop

Automatically exported from code.google.com/p/jvmtop
0 stars 0 forks source link

jvmtop.sh cannot be linked #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How to reproduce:
1. make symbolic link (ln -s) of jvmtop.sh
2. run jvmtop using that link

Output:
Error: Could not find or load main class com.jvmtop.JvmTop

Environment:
any linux

Reason:
DIR variable definition doesn't count with links, better would be for example
DIR=$(dirname `readlink -f $0`)

Original issue reported on code.google.com by i...@kruz.cz on 26 Jun 2014 at 9:02

GoogleCodeExporter commented 9 years ago
Duplicate of issue #41

Original comment by patric.r...@gmail.com on 18 Aug 2014 at 3:34