This shouldn't be sent to help-octave anymore, sorry for the confusion.
> I've never used or tested the java package under OS X, the Java
>> detection code in the configure script was donated by a OS X user. The
>> best is to look at it (starts at line 322):
>> http://octave.svn.sourceforge.**net/viewvc/octave/trunk/**
>> octave-forge/extra/java/src/**configure.base?revision=8029&**view=markup<http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/java/src/configure.base?revision=8029&view=markup>
>>
>> So basically under OS X, it expects java to be located at
>> /System/Library/Frameworks/**JavaVM.framework
>>
>> But in this case, I think the most important message is the warning
>> about the Java version that is needed to be>= 1.5. Clearly the
>> configure test fails to detect your java version correctly.
>>
>> Michael.
>>
>
> ??
> Higher up in the messages I see:
>
> >> checking for Java version... 1.6.0_31
>
> ...so his Java version should be OK (it is even newer than mine).
>
> Let's just wait and see what happens if he sets JAVA_HOME properly.
>
> BTW Michael, do you think we could add preinstall.m with a check if
> JAVA_HOME points <in the end> to the proper jvm, and to abort the
> installation if it can't find it?
> If that would work it would save users a lot of frustration with
> half-baked Java package installations. Timothy (the OP) shows a fine
> example of this in his postings.
>
> Philip
>
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?
------------------------------------------------------------------------------
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