`
astroxl
  • 浏览: 54485 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

Having Trouble with Java on Your Mac?

阅读更多
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

    "Having Fun with XML Hacking"可能是指通过探索和利用这些漏洞来学习和理解XML注入的原理和技术。 XML注入的常见类型包括: 1. **XXE (XML External Entity Injection)**:攻击者通过定义外部实体来读取服务器上...

    Having Fun with XML Hacking.docx

    XML(eXtensible Markup Language),可扩展标记语言,是一种基于标准通用标记语言(SGML)的子集,主要用于存储和传输数据。它的设计目的是为了促进数据交换的灵活性和独立性,使得不同平台和应用程序之间的数据...

    人教版八下英语语法.doc

    例如: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? ...

    JAVA面试题目 JAVA面试题目一览表

    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."例如:“可以将‘多态性’比作图书馆,...

    PS-Phwoar__v1.4_Android_Installer.zip

    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. ...

    源码+书Hands-on Data Structures and Algorithms with JavaScript

    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 ...

    Getting Started with Varnish Cache: Accelerate Your Web Applications

    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...

    Apache Spark 2.x for Java Developers

    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...

    Hands-On Programming With R

    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 ...

    Java邮件开发Fundamentals of the JavaMail API

    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...

    Java 9 Programming By Example

    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 ...

    Building Android Apps with HTML, CSS, and JavaScript

    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.zip

    "Having Fun with XML Hacking"这个主题可能会探讨如何利用XML的特性和潜在漏洞来进行创新和非传统操作,同时也可能涉及安全方面的内容。 XML的基本结构包括元素、属性、文本内容、注释、处理指令等。元素是XML文档...

Global site tag (gtag.js) - Google Analytics