Alexander Hansen wrote:
> On 7/6/12 2:26 PM, Philip Nienhuis wrote:
>> Alexander Hansen wrote:
>>> On 7/6/12 7:57 AM, Philip Nienhuis wrote:
:
<snip>
:
>> Anyway, would you be able to tell if given a proper JAVA_HOME setting,
>> pre_install.m's magic would correctly detect it? and arror out if not
>> set properly?
:
<snip>
:
> But with JAVA_HOME set to what my OS X version calls for it errors out
> for a different reason.
>
> $ /usr/libexec/java_home
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> $ env JAVA_HOME=`/usr/libexec/java_home` octave
> ...
> octave:1>  getenv('JAVA_HOME')
> ans = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> octave:2>  pre_install
>
> Error while trying to install Java package:
> JAVA_HOME environment variable does not properly point to a JDK
:
<snip>
:
> There's no jre/ directory within my $JAVA_HOME.

Thanks.

So, where in <JAVA_HOME>/ is the libjvm.so located?

I could then patch it into pre_install.m.

 > Since the Java package doesn't work on OS X right now that's probably
 > OK.

I see what you mean, yrt I wouldn't call it OK  ;-)

Philip

------------------------------------------------------------------------------
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