Re: Jet Version 4.0 is out
- From: ldv@xxxxxxxx
- Date: 30 Sep 2005 05:02:40 -0700
This does not have to do anything with lawyers.
1. A Java program can load any Java platform API class. Just call
class.forName(argv[0]) in your main() method and you are all set.
2. Suppose there is a class A in the Java platform API that uses
reflection or has a native method. You cannot guarantee that it will
never load another class B. Now, run "java -verbose HelloWorld" and
you'll see how many API classes and internal JRE classes are loaded for
what looks like a trivial program. Some of them use reflection and many
of them have native methods.
So unfortunately it is not possible to safely approximate a Java API
subset sufficient for the given program to work. Therefore a compatible
Java implementation must include all Java API classes with any program.
What Excelsior JET could do is let you explicitly remove parts of the
Java API that you think your program will never use and bear full
responsibility for that. Imagine a third-party library bringing up an
AWT dialog if it cannot find its property file when you start your
server (I have seen this behavior in a server-side app developed by our
client.) But Excelsior needs to obtain Sun's permission first.
LDV
Roedy Green wrote:
> On 30 Sep 2005 00:03:08 -0700, ldv@xxxxxxxx wrote or quoted :
>
> >http://www.excelsior-usa.com/cgi-bin/yabb/YaBB.cgi?board=JET;action=display;num=1119552645
>
> Due to the Sun license, partial redistribution of JRE is prohibited
>
> Fine. but what Jet is redistributing is not the JRE, it is an omnibus
> *.DLL program that contains a lot of the JRE code in compiled form.
> It has no java.exe, no *.jars.. It can't in any way impact Sun
> customers or be confused with a JRE.
> .
> Perhaps a lawyer could argue the DLL is effectively a sample program
> the demonstrates each the JRE methods, but that does not make the same
> as the JRE.
>
> Another lawyer might argue that Sun needs to define the JRE. It
> consists of source, rj.jar java.exe etc. The thing Jet wants to
> distribute has a similar function, but has none of those elements.
>
> Another lawyer might argue the common sense case. WHY is this
> restriction there? Sun obviously sensibly does not want anyone
> distributing partial JREs. These will cause other unrelated apps to
> fail causing headaches for users, Sun and other Sun customers. What
> Jet wants to do has no such problem. Has Sun any other reason for the
> restriction?
>
> --
> Canadian Mind Products, Roedy Green.
> http://mindprod.com Again taking new Java programming contracts.
.
- Follow-Ups:
- Re: Jet Version 4.0 is out
- From: Roedy Green
- Re: Jet Version 4.0 is out
- References:
- Jet Version 4.0 is out
- From: Roedy Green
- Re: Jet Version 4.0 is out
- From: Roedy Green
- Jet Version 4.0 is out
- Prev by Date: Re: Localhost isn't localhost
- Next by Date: SCJP Free Question & Answers at www.certification-tips.com
- Previous by thread: Re: Jet Version 4.0 is out
- Next by thread: Re: Jet Version 4.0 is out
- Index(es):
Relevant Pages
|