On Fri, Apr 27, 2012 at 3:48 PM, Timothy Field <timafi...@gmail.com> wrote:
> So I've tried to set the JAVA_HOME correctly, I found some great help here:
>
> http://decoding.wordpress.com/2010/02/26/how-to-set-the-java_home-variable-in-mac-os-x-snow-leopard/
>
> JAVA_HOME should now be set to
> '/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home' (Which I
> confirmed as the directory to the home for JDK), but I still get the same
> errors when I uninstall and try to reinstall the package.
>
> I've also tried 'setenv ("JAVA_HOME",
> "/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home");'
>
> Could you walk me through JAVA_HOME? Am I looking for a file or folder
> called something similar to JVM or JRE? Because if so I cannot find anything
> in the directory above, or in '/Developer/usr/bin'. Where should I be
> looking?

Look at 
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/java/src/configure.base?revision=8029&view=markup
starting at line 362. Basically, the configure script looks for a
directory called $JAVA_HOME/jre/lib/<ARCH> where <ARCH> stands for the
architecture (the configure script uses various ones, but I guess the
relevant ones in your case are "mac" and "maci").

A few lines later, the configure script also sets the JDK include
paths, in your case it would be $JAVA_HOME/include and
$JAVA_HOME/include/linux

Michael.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to