Re: Building packages to use Java-1.7+ (or handling Java in general)

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Organization Fink Core Team
Message-ID <[email protected]>
On 5/21/14, 2:34 PM, Benjamin Reed wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Oop, did more digging, and I was wrong.  There *are* some header
> things that change, so the rules for linking a jnilib should be the
> same for jars; if you build it on any 1.6 JDK, it should load on any
> later JDK, and so on.  You can't build a jnilib with 1.6 and have it
> run on 1.5.
>
> That said, as far as libjvm.dylib goes, you shouldn't be linking
> against it at all, so the rest of my last email is still relevant.  :)
>
> - --
> Benjamin Reed a.k.a. Ranger Rick a.k.a. Raccoon Fink
> Open Source and Mac OS X development
>
> Blog: http://me.raccoonfink.com/
> Music: http://music.raccoonfink.com/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iD8DBQFTfRvJUu+jZtP2Zf4RAvQsAJ0Yn5KthdQp3JdXhAJHfiVLX+V5uQCfSPB3
> uYM6W9ioONAqLXdEqpqNwFA=
> =Rj/N
> -----END PGP SIGNATURE-----
>

Thanks for the info!

The context here is that I was trying to be future-proof on a package 
(Octave-3.8.1 for anybody who cares).  When Java support is enabled, one 
of the dylibs links to a Java lib.  By default the build uses Apple's 
Java framework, but I wasn't sure how much longer that was going to be 
available.

Maybe upstream oughtn't be linking it then?
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.