[j2me] Bundled WTK2.5.2 seems to be completely different than original - why?

View: New views
3 Messages — Rating Filter:   Alert me  

[j2me] Bundled WTK2.5.2 seems to be completely different than original - why?

by Ulf Zibis-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?
Can I copy/overwrite the additional/different files from the netbeans
bundle to the originals folder?

In hope for detailed answers,

-Ulf




Re: [j2me] Bundled WTK2.5.2 seems to be completely different than original - why?

by Lukas Hasik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



Re: [j2me] Bundled WTK2.5.2 seems to be completely different than original - why?

by Ulf Zibis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Lukas,

I have problems to agree with you (see attached screenshots).
- most subfolders in WTK2.5.2\apps in the original have much different
size than in NB's edtition.
- All folders of WTK2.5.2\apps are copied to WTK2.5.2\apps\i18nDemo. Is
this necessary to run it in NetBeans
- Most jar's in bin, lib, and wtklib are a little bigger in the
original, than in NB's although they might don't include japanese/chinese.

Do you understand my question now:
Can I copy/overwrite the additional/different files from the netbeans
bundle to the originals folder?

Regards,

Ulf


Am 12.12.2007 11:31, Lukas Hasik schrieb:

> 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
>>
>>
>>




WTK2.5.2-apps.jpg (58K) Download Attachment
WTK2.5.2-apps-i18nDemo.jpg (96K) Download Attachment
WTK2.5.2-lib.jpg (181K) Download Attachment