Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.7
-
None
-
None
-
Linux Mint, Java 8
Description
When running the servicemix command from any directory other than bin, the following error message is shown:
Error: Could not find or load main class org.apache.karaf.main.Main
This does not happen in 6.1.1
Using the servicemix script from 6.1.1 solves the issue. 6.1.2 introduced the following change:
REALNAME=`readlink -e "$0" > /dev/null 2>&1`
if [ $? != 0 ]; then
REALNAME=$0
fi
DIRNAME=`dirname "$REALNAME"`
PROGNAME=`basename "$REALNAME"`
In 6.1.1 this was:
DIRNAME=`dirname "$0"`
PROGNAME=`basename "$0"`
Attachments
Attachments
Issue Links
- duplicates
-
KARAF-4865 Karaf startup no longer works on platforms without "readlink"
- Resolved