> On Feb 11, 2016, at 07:17, Ebrahim Mayat <ebma...@me.com> wrote:
> 
> Dear all
> 
> I am unable to update octave382-atlas on 10.11.3:
> 
> $ fink update octave382-atlas
> Information about 8986 packages read in 1 seconds.
> The package 'octave382-atlas' will be built and installed.
> Reading build dependency for octave-atlas-3.8.2-10...
> WARNING: While resolving dependency "system-java16-dev" for package 
> "octave-atlas-3.8.2-10", package "system-java16-dev" was not found.
> Exiting with failure.
> 
> $ /usr/libexec/java_home -V
> Matching Java Virtual Machines (2):
>    1.8.0_66, x86_64:  "Java SE 8"     
> /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home
>    1.7.0_80, x86_64:  "Java SE 7"     
> /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home
> 
> /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home
> 
> $ java -version
> java version "1.8.0_66"
> Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
> Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
> 
> I do not wish to install java1.6.0 on El Capitan since Oracle has advised 
> against using legacy Java due to security loopholes. Would it be possible to 
> make octave depend on java1.8.0 instead ?
> 
> Thanks in advance,
> Ibrahim


Not easily.  

1)  Octave _links_ to a Java library, even though that isn’t a best practice.  
The default linkage for OS X in their build is to the legacy Java 1.6 framework.
2)  Oracle decided not to provided an unversioned convenience symlink for their 
Java releases to point at the current version, and Fink doesn’t currently have 
such a thing, so it’s nontrivial to come up with a scheme which will work with 
everybody’s Java setup.  The legacy Java 1.6 has a stable location.

Multiple Java versions coexist, and you’ll only be using a library from Apple’s 
Java 1.6.  Anything else you do with Java should use the current Oracle version 
on your system.

Or feel free to modify your build by copying octave-3.8.2.info and the relevant 
octave*.patch files to /sw/fink/dists/local/main/finkinfo, and add .1 to the 
Revision in octave-3.8.2.info.  The easiest thing to do is to add 
--disable-java to the ConfigureParams to disable Java, and then you can remove 
system-java16 and system-java16-dev from the dependencies.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to