macosx-port-dev Digest, Vol 26, Issue 19

Kustaa Nyholm Kustaa.Nyholm at planmeca.com
Thu Feb 21 05:28:34 PST 2013


On 21.2.2013 15.03, "Emile Schwarz" <emile.schwarz at yahoo.com> wrote:

>Hi,
>
>consider me as a java 7 newbie.
>
>I upgraded my OS X from Lion to Mountain Lion. Then I go to Oracle and
>downloaded the latest available version.
>
>Then I wanted to execute the application JDownloader who asked for (Apple
>1.6 ?) java.
>
>Then, I fired the terminal, typed java -version and get:
>No Java runtime present, requesting install.
>
>And I promptl saw a new window that asked if I wanted to install java se
>1.6.
>
>What do I do wrong ?
>
>TIA,
>
>Emile
>

What are you trying to achieve?

Java 7 as delivered by Oracle is for Java inside browsers,
if you want to use it for running applications you need to
invoke it explicitly in the command line (never tried, but
I guess you can find the path to the JRE) or embed it
with your application.

If you use the command line tools or want to execute
an application that does not embed JRE you need the Java 1.6
from Apple.

I suppose JDownloader does not embed Java and it might be
difficult to point it to Java 7 so you need to install Java 1.6
from Apple.

At this point in time Java on Apple is moving away from
having a system wide JRE (like it used to be) towards
every application embedding their own version of JRE,
but Oracle JRE is not ready for prime time yet so I
suspect not many people use it and Apple is still
sort of tolerating and supporting java 1.6 so that's
what most application need, just my guess.

On the otherhand it seems that for Browser java version
7 is mandatory, but does not work with Chrome I think...
a bit of a hiatus atm.


BTW Java 1.6==Java 6 and 1.7==7

br Kusti







More information about the macosx-port-dev mailing list