Can't install Java 7 on Mac
I have followed the instructions on http://jdk7.java.net/macportpreview/.
The java command works from the bin directory where the executable is located,
but not from other directories and causes the following message:
-bash: bin/java: Bad CPU type in executable
I tried to set JAVA_HOME as follows, but does not make a difference.
$ export JAVA_HOME=/Library/Java/JavaVirtualMachines/JDK¥ 1.7.0¥ Developer¥ Preview.jdk/Contents/Home
My system is an Intel Core Duo Mac, OS X 10.6.8.
Any thought about it?
It might be a VERY basic question but I appreciate your help!
-- Naoya A.