Hi Ulf,
the distribution of WTK is the same that you can download separately
(you call it original). The WTK team built the distribution that is
bundled in NB for us. The difference might be that we bundle Multi
Lingual version of WTK with the japanese/chinese documentation.
Ulf Zibis wrote:
> Hi mobility gurus,
>
> I'm wondering why the NB6-bundled WTK2.5.2 seems to be completely
> different than the original from java.sun.com.
>
> E.g. original (at "Program files\Java\WTK2.5.2"):
> - 3599 Files, 890 folder, 71,7 MB
> - folders docs: 28.810 kB, apps: 18.821 kB, bin: 12.552 kB, wtklib:
> 7.974 kB, lib: 4.832 kB
>
> E.g. NB6-bundled (at "Program files\Java\NetBeans
> 6.0\mobility8\WTK2.5.2"):
> - 4188 Files, 1089 folder, 72,9 MB
> - folders docs: 22.895 kB, apps: 25.885 kB, bin: 12.266 kB, wtklib:
> 8.407 kB, lib: 4.791 kB
>
> I'm interested in this, because I want to use the original, to only
> have one WTK on my system as I also have only one JDK.
> Also I want to use the same WTK with my different NetBeans versions
> (5.5, 6.0, 6.0_daily), as it saves persistent data (from RecordStore)
> from my J2ME applications.
>
> What are the risks to use the original instead of netbeans bundle?
The IDE doesn't care too much about what emulator platform is your
project using. It is definitely up to you what platform you decide to
use. As I said before NB provides you the same WTK 2.5.2 that you can
download. It has the same runtime, supports the same APIs etc
The WTK is UEI compliant therefore you can use the new 2.5.2 version
with Mobility Pack 5.5/6.0 etc. I newer noticed any problem when I was
sharing the same WTK in more version of NB.
There could be a problem with the project/visual design etc. because we
support only backward compatibility. It might happen that your NB6.0
project or visual design midlet cannot be open in NB5.5 but the code
will work, of course.
> Can I copy/overwrite the additional/different files from the netbeans
> bundle to the originals folder?
>
I don't see any reason for it.
HTH,
Lukas.
> In hope for detailed answers,
>
> -Ulf
>
>
>
[lukas_hasik.vcf]
begin:vcard
fn:Lukas Hasik
n:Hasik;Lukas
org:Sun Microsystems;Mobility Pack QE
email;internet:lukas.hasik@...
note;quoted-printable:Need a help with Mobility Pack/Java ME?=0D=0A=
Ask at <a href=3D"http://mobility.netbeans.org/servlets/SummarizeList?lis=
tName=3Dusers">users@...</a>
x-mozilla-html:TRUE
url:http://blogs.sun.com/lukas
version:2.1
end:vcard