desperately seeking Java [long]

D

Doug Young

Hi,

Background:
We are developing Java applications for a feature-rich
embedded environment under XPe. We therefore need an up-to-
date J2SE JRE from Sun wrapped as an XPe component
(with .sld file, etc).

Executive Summary:
There have been occasional postings to this newsgroup
about Java support under XPe. The answer is somewhat
complex, depending on your needs. If you simply want
support for Java applets encountered while browsing
particular web sites, then the jview.zip component on
xpefiles.com is probably adequate. If you are developing a
Java application for a small embedded or handheld device
that due to resource constraints requires the use of J2ME
(either CDC or CLDC), you will need to find a 3rd party
vendor that licenses the java runtime environment for your
particular processor and device (that is a subject unto
itself and requires research into which vendors provide
support for which version of J2ME for which processors;
Esmertec/Insignia, SavaJe, Skelmir and Tao are possible
vendors). But if you want support for a recent (i.e. 1.3.x
or later) J2SE JRE from Sun, you may have to install it
yourself and use Component Designer to wrap it as a
component. I leave it as an extant question to the group
whether anyone has already done this or is planning to do
so in the near future.

Long Explanation:
The jview.zip component downloadable from xpefiles.com is
apparently Microsoft's JVM (copyright 2000, version
5.00.3805; the latest version from Microsoft is 3810), not
a JVM from Sun, and is therefore somewhat suspect (non
java compliant) and definitely not up to date for versions
of Java that are currently in use, namely 1.3.x and 1.4.x
(according to their website,
http://support.microsoft.com/default.aspx?scid=kb;en-
us;q214828, the lastest MS JVM only supports Java 1.1.4).
As I recall, MS provided a barebones JVM that just
*barely* ran Java, for the degenerate case where you
surfed to a web site that had a java applet that needed a
JVM to run. Something which I know MS was trying to
discourage and ultimately eliminate in the long run.

From Microsoft's web site
http://www.microsoft.com/mscorp/java/ :
"Due to a settlement agreement in January 2001 that
resolved a legal dispute with Sun Microsystems, as of
January 2004 Microsoft will no longer be authorized to
support the Microsoft® Java Virtual Machine (MSJVM).
Microsoft will not be able to address potential security
issues, nor will the company be able to make any product
enhancements. In preparation for this change, Microsoft
began phasing out the MSJVM in its products after the
settlement was reached. Going forward, the MSJVM will not
be included in any future Microsoft products."

From JavaWorld, July 18, 2001,
http://www.javaworld.com/javaworld/jw-07-2001/jw-0718-
idgns-xpjava.html :
"Consumers who buy Windows XP will not get a JVM with the
operating system but will be able to download Microsoft's
JVM free from the company's Website. They can also choose
to download any other JVM, including Sun's, said
Balaprakash Kasiviswanathan, Windows XP product marketing
manager for Asia-Pacific, based in Singapore."

However, downloading their JVM free is easier said than
done, according to
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;163637 :
"Microsoft does not provide a downloadable version of the
Microsoft VM for computers that do not already have the
Microsoft VM installed. If you do not have the Microsoft
VM installed, you cannot install updates to the Microsoft
VM. Windows Update does not offer updates to the Microsoft
VM if the Microsoft VM is not installed on your computer."

Conclusion:
If you are looking for a version of Java J2SE to run rich
Java applications that you are currently developing, you
will need to wrap a current version of the Java J2SE JRE
yourself. I would be interested to hear from anyone who
has done this or is planning to do so.

Thanks,
Doug Young
 
S

Sean Liming \(eMVP\)

Doug,

Have you tried IBM's Java solution?
http://www.developer.ibm.com/websphere/workbench.html


Regards,

Sean Liming
www.a7eng.com
Author: Windows XP Embedded Advanced and Windows NT Embedded Step-By-Step



message Hi,

Background:
We are developing Java applications for a feature-rich
embedded environment under XPe. We therefore need an up-to-
date J2SE JRE from Sun wrapped as an XPe component
(with .sld file, etc).

Executive Summary:
There have been occasional postings to this newsgroup
about Java support under XPe. The answer is somewhat
complex, depending on your needs. If you simply want
support for Java applets encountered while browsing
particular web sites, then the jview.zip component on
xpefiles.com is probably adequate. If you are developing a
Java application for a small embedded or handheld device
that due to resource constraints requires the use of J2ME
(either CDC or CLDC), you will need to find a 3rd party
vendor that licenses the java runtime environment for your
particular processor and device (that is a subject unto
itself and requires research into which vendors provide
support for which version of J2ME for which processors;
Esmertec/Insignia, SavaJe, Skelmir and Tao are possible
vendors). But if you want support for a recent (i.e. 1.3.x
or later) J2SE JRE from Sun, you may have to install it
yourself and use Component Designer to wrap it as a
component. I leave it as an extant question to the group
whether anyone has already done this or is planning to do
so in the near future.

Long Explanation:
The jview.zip component downloadable from xpefiles.com is
apparently Microsoft's JVM (copyright 2000, version
5.00.3805; the latest version from Microsoft is 3810), not
a JVM from Sun, and is therefore somewhat suspect (non
java compliant) and definitely not up to date for versions
of Java that are currently in use, namely 1.3.x and 1.4.x
(according to their website,
http://support.microsoft.com/default.aspx?scid=kb;en-
us;q214828, the lastest MS JVM only supports Java 1.1.4).
As I recall, MS provided a barebones JVM that just
*barely* ran Java, for the degenerate case where you
surfed to a web site that had a java applet that needed a
JVM to run. Something which I know MS was trying to
discourage and ultimately eliminate in the long run.

From Microsoft's web site
http://www.microsoft.com/mscorp/java/ :
"Due to a settlement agreement in January 2001 that
resolved a legal dispute with Sun Microsystems, as of
January 2004 Microsoft will no longer be authorized to
support the Microsoft® Java Virtual Machine (MSJVM).
Microsoft will not be able to address potential security
issues, nor will the company be able to make any product
enhancements. In preparation for this change, Microsoft
began phasing out the MSJVM in its products after the
settlement was reached. Going forward, the MSJVM will not
be included in any future Microsoft products."

From JavaWorld, July 18, 2001,
http://www.javaworld.com/javaworld/jw-07-2001/jw-0718-
idgns-xpjava.html :
"Consumers who buy Windows XP will not get a JVM with the
operating system but will be able to download Microsoft's
JVM free from the company's Website. They can also choose
to download any other JVM, including Sun's, said
Balaprakash Kasiviswanathan, Windows XP product marketing
manager for Asia-Pacific, based in Singapore."

However, downloading their JVM free is easier said than
done, according to
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;163637 :
"Microsoft does not provide a downloadable version of the
Microsoft VM for computers that do not already have the
Microsoft VM installed. If you do not have the Microsoft
VM installed, you cannot install updates to the Microsoft
VM. Windows Update does not offer updates to the Microsoft
VM if the Microsoft VM is not installed on your computer."

Conclusion:
If you are looking for a version of Java J2SE to run rich
Java applications that you are currently developing, you
will need to wrap a current version of the Java J2SE JRE
yourself. I would be interested to hear from anyone who
has done this or is planning to do so.

Thanks,
Doug Young
 
G

Gerhard Schaden

i changed the reseal phase to 0, so it is possible to
install the original Sun JRE, and reseal afterwards.

-GES
 
D

Doug Young

Hi Sean,

I followed your reference and read IBM's documentation for
their Java offering, "WebSphere Studio Workbench".
However, I did not find any mention of JREs packaged as
components for Target Designer, nor did I find any mention
of XPe support. The IBM Workbench V2.1.1 supports the IBM
JRE 1.3.1, which doesn't include the optional class
libraries that are included in the J2SE JRE 1.4.x.

Thanks,
-dougy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top