Is there any way to reenable javaws with Java 6 on OSX Lion? [closed]

这一生的挚爱 提交于 2019-12-04 03:34:16

i fixed the same problem. After updating yesterday to the latest 1.6.0_37 my javaws did not start anymore (same message as yours).

So let's check first where your javaws is taken from:
which javaws It will answer you either with nothing (then it is not set at all) or it might point to a symlink (just like on my PC;) which starts a wrong javaws. e.g. from the folder /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands

Try to start your javaws from all folder(s) you find javaws: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/ /System/Library/Java/Support/Deploy.bundle/Contents/MacOS

(use sudo for testing, e.g. sudo /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws )

For me it worked from the 2nd folder...

Then you may point a javaws (e.g. /usr/bin/javaws) executable to that javaws (sudo link /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws /usr/bin/javaws)

P.S. At other forums i found that you may have to give additional read (maybe write) rights to your JAVA folders in case the javaws does not start without sudo.

P.S.2: you might want to use a tool like EasyFind to find "hidden" content (which you do not see with Finder)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!