JAVA_HOME doesn’t have a home!

Long ago, I had setup Openbravo ERP on my Mac that runs Snow Leopard. In short, it wasn’t as easy as a sudo apt-get openbravo 😉

Now, I wanted to get my development environment built using eclipse. Assembling the plug-ins for Mecurial, HQL and the likes was a snap. When I got the point of executing a “compile.complete.deploy”, the compile errored out with two complaints:

1. Cannot find executable “hg”

2. Cannot find JAVA_HOME.

Apparently, ant couldn’t seem to find a java home. On my mac, an “echo $JAVA_HOME” neatly printed out the location, which is /Library/Java/Home.  Moreover, I had earlier used ant to install Openbravo itself, which confirms that ant does know where the JAVA_HOME is. So, the problem domain is restricted to within eclipse.

Several search results in google advised the use of eclipse.ini, so that eclipse know which JAVA_HOME to work on, even while it starts up. Nope, it didn’t help.

I also tried using different JRE versions under “Run > External Tools > External Tools Configuration > JRE”, none of which seemed to resolve the issue.

Finally, under the “Environment” tab, I created a JAVA_HOME variable and pointed it to /Library/Java/Home.

Well, compile.complete.deploy was well under its way 🙂

ERP Education Series – The Beginning

When wealth is shared it is divided, when knowledge is shared it is multiplied

Enterprise Resource Planning (ERP) is a much bandied phrase with different connotations for different people. Some think it to be this collosal titan which needs to be tamed as an imperative for doing business, while others think it is an IT initiative where they are mere participants while still some others confuse it be nothing more than glorified accounting. As in most things in life the truth lies somewhere in between.

With so much confusion and cloudiness (I refer to the English word here rather than the other over-hyped and over-marketed monster) prevelant, we at Fugo thought it was best if we help people new to ERP recognize its true power and potential. Towards this desire to spread the knowledge we have started this “ERP Education Series“ on our blog where we will be covering a variety of topics on ERP in general and some on our product(s).

The topics we hope to cover in this series are:

  • ERP Education Series – The Beginning (this post)
  • ERP Education Series – ERP Basics
  • ERP Education Series – How will an ERP help me
  • ERP Education Series – How to select the right ERP
  • ERP Education Series – Steps to consider during implementation

Please note that the list of topics is quite dynamic and will change based on your feedback.

Obviously we are touching just the tip of the iceberg. But we do hope this series will help you in your quest. Do pipe in with your thoughts and comments on this series and in general.

(Need to move forward on your ERP needs? Let us help you. Reach us at or call us on +91-80565-75540)