Re: [Fink-users] Updating octave requires legacy java

2016-02-11 Thread Ebrahim Mayat

> On Feb 11, 2016, at 12:12 PM, Alexander Hansen  
> wrote:
> 
> 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

Good Afternoon Alexander

Many thanks for your prompt and comprehensive feedback. 

Apple has provided an installer which includes both the JRE and JDK for 1.6. I 
guess I could install that and then delete the JRE.

Or, as you indicated I could disable dependence on Java altogether.

Regards,
Ebrahim
--
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=/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


Re: [Fink-users] Updating octave requires legacy java

2016-02-11 Thread Ebrahim Mayat

> On Feb 11, 2016, at 2:06 PM, Ebrahim Mayat  wrote:
> 
> 
> Apple has provided an installer which includes both the JRE and JDK for 1.6. 
> I guess I could install that and then delete the JRE.

Oops, no this would not work because octave also has a runtime dependence on 
Java1.6
> 
> Or, as you indicated I could disable dependence on Java altogether.
> 
> Regards,
> Ebrahim

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


Re: [Fink-users] Updating octave requires legacy java

2016-02-11 Thread Ebrahim Mayat

> On Feb 11, 2016, at 12:12 PM, Alexander Hansen  
> wrote:
> 
> 
> 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

Good Afternoon Alexander

Many thanks for your prompt and comprehensive feedback. 

Apple has provided an installer which includes both the JRE and JDK for 1.6. I 
guess I could install that and then delete the JRE.

Or, as you indicated I could disable dependence on Java altogether.

Regards,
Ebrahim
--
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=/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


[Fink-users] Updating octave requires legacy java

2016-02-11 Thread Ebrahim Mayat
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,
Ebrahim
--
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=/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


Re: [Fink-users] Updating octave requires legacy java

2016-02-11 Thread Alexander Hansen

> On Feb 11, 2016, at 07:17, Ebrahim Mayat  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=/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


[Fink-users] Updating octave requires legacy java

2016-02-11 Thread Ebrahim Mayat
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,
Ebrahim
--
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=/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