Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10607 > unrolled thread

Silly simply question

Started byjustaguy <donli@yahoo.com>
First post2011-12-08 08:42 -0800
Last post2011-12-08 23:03 -0800
Articles 4 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Silly simply question justaguy <donli@yahoo.com> - 2011-12-08 08:42 -0800
    Re: Silly simply question Tom Anderson <twic@urchin.earth.li> - 2011-12-08 17:17 +0000
      Re: Silly simply question justaguy <donli@yahoo.com> - 2011-12-08 09:46 -0800
    Re: Silly simply question Roedy Green <see_website@mindprod.com.invalid> - 2011-12-08 23:03 -0800

#10607 — Silly simply question

Fromjustaguy <donli@yahoo.com>
Date2011-12-08 08:42 -0800
SubjectSilly simply question
Message-ID<a74b56f6-a4c1-425c-a6d0-1d7b0ec14459@z12g2000yqm.googlegroups.com>
First, I'm not a java programmer.  But the app server (open source)
that my app runs on requires java, and it comes with two versions of
with jre or without jre, and I'm porting my app to Mac, the jre is
78MB, pretty big file size wise, question, so, if most Mac computers
have java installed already I don't need to bundle it with jre and if
not I need to, your thoughts?  Thanks.

[toc] | [next] | [standalone]


#10608

FromTom Anderson <twic@urchin.earth.li>
Date2011-12-08 17:17 +0000
Message-ID<alpine.DEB.2.00.1112081712200.15036@urchin.earth.li>
In reply to#10607
On Thu, 8 Dec 2011, justaguy wrote:

> First, I'm not a java programmer.  But the app server (open source) that 
> my app runs on requires java, and it comes with two versions of with jre 
> or without jre, and I'm porting my app to Mac, the jre is 78MB, pretty 
> big file size wise, question, so, if most Mac computers have java 
> installed already I don't need to bundle it with jre and if not I need 
> to, your thoughts?  Thanks.

I think all versions of OS X come with Java; the question is, what 
version.

What you'll need to do is find out what versions of the JRE your app 
server is compatible with; both the lowest version it will work with, and 
perhaps the highest version. Then you'll need to decide what versions of 
OS X you want to support. Then you'll need to find out what versions of 
Java shipped with each of those versions of OS X. Then, you'll be able to 
see if there are any versions of OS X that have versions of Java that your 
app server won't work with.

If there are, you can make a choice between (a) not supporting those 
versions, (b) shipping the JRE as part of your app, (c) requiring users of 
those versions to install a separate JRE, or (d) requiring users to 
download a different version of your app which includes its own JRE.

I know early version of OS X lagged far behind in their Java releases. 
It's been pretty good in the last few years, though.

tom

-- 
The best way I know of to win an argument is to start by being in the
right. -- Lord Hailsham

[toc] | [prev] | [next] | [standalone]


#10609

Fromjustaguy <donli@yahoo.com>
Date2011-12-08 09:46 -0800
Message-ID<d46a2b0c-ce4d-4fdc-a641-c08ee711d080@c18g2000yqj.googlegroups.com>
In reply to#10608
On Dec 8, 12:17 pm, Tom Anderson <t...@urchin.earth.li> wrote:
> On Thu, 8 Dec 2011, justaguy wrote:
> > First, I'm not a java programmer.  But the app server (open source) that
> > my app runs on requires java, and it comes with two versions of with jre
> > or without jre, and I'm porting my app to Mac, the jre is 78MB, pretty
> > big file size wise, question, so, if most Mac computers have java
> > installed already I don't need to bundle it with jre and if not I need
> > to, your thoughts?  Thanks.
>
> I think all versions of OS X come with Java; the question is, what
> version.
>
> What you'll need to do is find out what versions of the JRE your app
> server is compatible with; both the lowest version it will work with, and
> perhaps the highest version. Then you'll need to decide what versions of
> OS X you want to support. Then you'll need to find out what versions of
> Java shipped with each of those versions of OS X. Then, you'll be able to
> see if there are any versions of OS X that have versions of Java that your
> app server won't work with.
>
> If there are, you can make a choice between (a) not supporting those
> versions, (b) shipping the JRE as part of your app, (c) requiring users of
> those versions to install a separate JRE, or (d) requiring users to
> download a different version of your app which includes its own JRE.
>
> I know early version of OS X lagged far behind in their Java releases.
> It's been pretty good in the last few years, though.
>
> tom
>
> --
> The best way I know of to win an argument is to start by being in the
> right. -- Lord Hailsham

Tom, thank you for the excellent answer, it got me started on the
right track with Mac and Java.  Much appreciated.  Don

[toc] | [prev] | [next] | [standalone]


#10616

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-12-08 23:03 -0800
Message-ID<kjc3e7phjbnfiv9psctb05a88cpdmt479i@4ax.com>
In reply to#10607
On Thu, 8 Dec 2011 08:42:39 -0800 (PST), justaguy <donli@yahoo.com>
wrote, quoted or indirectly quoted someone who said :

>that my app runs on requires java, and it comes with two versions of
>with jre or without jre, and I'm porting my app to Mac, the jre is
>78MB, pretty big file size wise, question, so, if most Mac computers
>have java installed already I don't need to bundle it with jre and if
>not I need to, your thoughts?  Thanks.

See http://mindprod.com/jgloss/jre.html
http://mindprod.com/jgloss/jdk.html

App servers typically generate little Java programs and compile them
on the fly.  They would require the JDK which contains the javac.exe
compiler.  Normally you do not include the JRE or JDK in your package.
Just include a note and url that it must be installed first.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
For me, the appeal of computer programming is that
even though I am quite a klutz,
I can still produce something, in a sense
perfect, because the computer gives me as many
chances as I please to get it right.
 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web