[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[News.eclipse.foundation] Re: Open source JDK project

Sounds like a fine community opportunity...

Jeff

Marco Maccaferri wrote:

On 14/11/2006 23:14 Alex Blewitt ha scritto:

You can already ship an RCP with an embedded JRE, by placing the
 > runtime in a subdirectory called 'jre'. It shouldn't be too hard to
 > modify e.g. customTargets.xml to perform the copying for you if you
 > wanted to, and had a suitable JRE to hand.

Yes, I know that, however this has several problems. One is that the JVMs are shipped as installable executable that must be run on the target environment to have the files to package with the program, so you need one win32 machine, one win64 (when available), one linux x86, one linux x86_64, one Mac PPC, one Mac x86, one Solaris, etc. Another problem is that the JVMs are not consistent across OSes so you are not sure that the evironment is exactly what you expect.

I also believe that there are restrictions on the redistributable license for the JVMs (at least Sun's JVMs). This maybe has changed with the release of the source code, but you always have to deal with the OS installations.

What I would like to see is a 'JVM pack' like the RCP delta pack that can be used to automatically package the JVM compiled for the selected target OSes, so that you can build the application from whatever OS you are developing on and you are sure that the JVM is consistent to your expectations because compiled from the same source.

Additionally maybe it is possible to remove all unnecessary code from such VMs. For example an RCP application don't need the java plugin or webstart systems, and I also believe that it would be possible to remove Swing and AWT since we are using SWT (of course if you don't need the SWT_AWT bridge). In other words, build a JVM that is specifically optimized to be used with Eclipse and RCP applications.

Bye