Stefan,
i dont think theres a prefered solution. i simply wasnt aware of that
macosx issue, so i just looked at maven.home/bin/maven script and this
issue is handled like this :
TOOLS_JAR=${JAVA_HOME}/lib/tools.jar
if $darwin; then
TOOLS_JAR=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes/classes.jar
fi
ill try to fix this mevenide issue asap. in the mean time if copying win
tools.jar in the correct location can make things work i guess this
cannot hurt. btw mevenide-user list and mevenide bug tracker is the
prefered places for mevenide bugs reporting.
thanks for reporting.
-- gd
Stefan Groschupf wrote:
Hi,
when i start maven with the mavenide i got this exception:
File or url
'/System/Library/Frameworks/JavaVM.framework/Home/lib/tools.jar' could
not be found
java.net.MalformedURLException: no protocol:
/System/Library/Frameworks/JavaVM.framework/Home/lib/tools.jar
at java.net.URL.init(URL.java:579)
at java.net.URL.init(URL.java:476)
at java.net.URL.init(URL.java:425)
at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:403)
at com.werken.forehead.Forehead.load(Forehead.java:322)
at com.werken.forehead.Forehead.config(Forehead.java:245)
at com.werken.forehead.Forehead.config(Forehead.java:131)
at com.werken.forehead.Forehead.main(Forehead.java:579)
It is a known issue that the mac os x java does not have a tools.jar
file.
This problem is fixable with different workarounds. (use win tools.jar
etc.)
However is there any preferred solution?
Thanks in advanced.
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]