I today bought the MBP 13" model. This is the older model as it came under a good discount.
Now, I would like to install Java / Maven / Ant / ActiveMQ / Tomcat / Eclipse
For the most it is plain vanilla installation. I downloaded all the softwares that I needed (the zip files) and extracted them to a folder that I created in my Users directory. How do I set the MAVEN_HOME, TOMCAT_HOME, ANT_HOME? JAVA_HOME was automagically set when I installed JDK. Ideas on how to set the other home variables?
I understand that Maven and Ant comes pre-installed in Mac OSX. Now how do I overwrite those with the new versions? I just downloaded the zip files and unpacked them to a folder called Softwares that I created in my Users folder.
The .bash_profile is a shell script that executes when you open a Terminal instance (or start up any bash shell). I tis there you can set up environment variables and aliases.
Just noticed that the Java that is already there was from the default OS bundled version. I would like to do a fresh install. I downloaded the jdk dmg file. But when I double clicked it, why the heck Mac OS won't ask me the location that I want to install it?
Joe Harry wrote:Just noticed that the Java that is already there was from the default OS bundled version. I would like to do a fresh install. I downloaded the jdk dmg file. But when I double clicked it, why the heck Mac OS won't ask me the location that I want to install it?
Because on a Mac there are default locations for Java, and you wouldn't want to put it somewhere else. Also Mac is never up to date on the latest Java as the Java that is supported on a Mac. So currently it is Java 6. I can't install Java 7 on my Mac.
Like I mentioned in my post above, I already have Java 7 which came as a default installation with the Mac. But I would like to have it installed on a different location. You guys say that it is impossible to do that which is a bit of letting down. Even though it is a Mac, it is a personal computer and I want to male it personal by installing the softwares that I want.
There should be some ways to do a custom java installation. I would try my luck with google to find any pointers on Java installation on a Mac.
Pat Farrell wrote:For some important programs, like NetBeans and the MAMP version of MySql, you need real system-wide environement variables, not shell specific ones.
Ah, yet another reason to add to my "this is why I don't use Netbeans" list.
Gregg Bolinger wrote:Ah, yet another reason to add to my "this is why I don't use Netbeans" list.
You can do that. but it makes sense to me, you start it from the app launcher, not from a shell. Nothing you do in a shell has any impact on other shells or programs started other ways.
IMHO, this is one thing that OS-X does right.
Gregg Bolinger wrote:Ah, yet another reason to add to my "this is why I don't use Netbeans" list.
You can do that. but it makes sense to me, you start it from the app launcher, not from a shell. Nothing you do in a shell has any impact on other shells or programs started other ways.
IMHO, this is one thing that OS-X does right.