Re: Jet Version 4.0 is out



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.

.



Relevant Pages

  • Re: cross-platform programs
    ... > a) Sun *do* licence the Java spec to other companies ... > b) Sun offer their JRE on multiple platforms already. ... > same codebase for both platforms, which certainly can't be said of Mono ... which resulted in a catastrophic absense of support for Java on Windows XP, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Does Eclipse has its internal Java JVM?
    ... Every year or so, Sun release a new version of Java, both the language itself, ... So users need a JRE, programmers need a JDK. ...
    (comp.lang.java.programmer)
  • Re: java2
    ... Sun refuses to acknowledge that the security of a system can/will most likely be compromised due to elevation of privleges in java applets. ... Also, when a system is updated with the latest JRE to resolve security issues the older, vulnerable version is left behind. ... Sun claims that files in the older, vulnerable versions are replaced, thus mitigating any security issues and that the vulnerable versions can not be called by malicious coders. ...
    (microsoft.public.windowsupdate)
  • Re: Serial Port API
    ... I am new to JAVA and thinking about using JAVA to control ... Can anyone comment on the current state of the API? ... The JavaComm API is no longer supported by Sun for Windows machines. ... Why Sun decided to drop support for serial I/O on Windows machines I don't know. ...
    (comp.lang.java.programmer)
  • Beware: Sun disabling the Microsoft VM
    ... I filed a bug report about Firefox hanging after running Java applets ... the problem occurs in JRE 1.6 Update 11. ... videos (Sun has never come close to the performance of the decade-old ...
    (comp.lang.java.programmer)