http://mindsiview.wordpress.com/2009/07/15/having-trouble-with-java-on-your-mac/
I don’t know about you, but I’m constantly playing with (read messing up) my Mac loading new software, trying different things, etc. I spend a lot of time poking around in the BSD shell. After some recent mods, I began experiencing problems with Java…specifically related to Eclipse. I couldn’t get it to run. Instead, it returned “Cannot find executable for CFBundle … (not loaded)”.
After some fruitless searching and reinstalling Java, I found the problem. Somewhere along the way the symbolic folder “Current” (found under /System/Library/Frameworks/JavaVM.framework/Versions) was corrupted. Current should be pointing to the “A” folder (located in the same folder as Current). I used the following command to correct the problem:
sudo ln -fhsv A Current
If you find yourself in a similar situation, and according to my own internet searches many of you have, check the symbolic folders “Current” and CurrentJDK. Chances are your problem is there.
分享到:
相关推荐
"Having Fun with XML Hacking"可能是指通过探索和利用这些漏洞来学习和理解XML注入的原理和技术。 XML注入的常见类型包括: 1. **XXE (XML External Entity Injection)**:攻击者通过定义外部实体来读取服务器上...
XML(eXtensible Markup Language),可扩展标记语言,是一种基于标准通用标记语言(SGML)的子集,主要用于存储和传输数据。它的设计目的是为了促进数据交换的灵活性和独立性,使得不同平台和应用程序之间的数据...
例如:What’s the trouble with your car? (你的车出了什么问题?) - What happened (to sb.)? 例如:What happened to your arm? (你的手臂怎么了?) - Are you OK? 例如:Are you OK after the fall? ...
In JAVA, 'polymorphism' is like having different types of books (classes) that can fit on the same shelf (interface), making it easier to manage and access them."例如:“可以将‘多态性’比作图书馆,...
If you are having trouble installing the server on your phone, make sure you have allowed installing apk's from unknown sources and that you temporally disable google play protect on your phone. ...
which will provide you with a thorough discussion on the analysis and design of fundamental JavaScript data structuresGet a better understanding of advanced concepts such as space and time complexity ...
Varnish mimicks the behavior of your webserver, caches its output in memory, and serves the result directly to clients without having to access your webserver. If you’re a web developer familiar with...
Moving on, you will perform near-real-time processing with Spark streaming, Machine Learning analytics with Spark MLlib, and graph processing with GraphX, all using various Java packages. By the end...
This guide is ideal if you're a professional, manager, or student who wants practical knowledge of analyzing data, without having to get a PhD in statistics. It's also good for people who have a PhD ...
advantage of users having multiple folders on the server and these folders can be shared by multiple users. Due to the more advanced capabilities, you might think IMAP would be used by everyone. It...
Our example-based approach will get you started quickly with software programming, get you up-to-speed with Java 9, and improve your Java skills This book will show you the best practices of Java ...
This hands-on book shows you how to use these open source web standards to design and build apps that can be adapted for any Android device — without having to use Java. You’ll learn how to create...
"Having Fun with XML Hacking"这个主题可能会探讨如何利用XML的特性和潜在漏洞来进行创新和非传统操作,同时也可能涉及安全方面的内容。 XML的基本结构包括元素、属性、文本内容、注释、处理指令等。元素是XML文档...