Skip to main content

Developing a Free Implementation of the WTK

6 replies [Last post]
darkwave
Offline
Joined: 2006-11-30
Points: 0

hi,

I started this project:
https://freewtk.dev.java.net/

Somebody knows if I/We have to start from scratch or if we can access to original WTK source?

The aim is to create a multiplatform version (GNU/Linux, Windows and MacOSX) in order to let not-Windows developer to be able to work "out of the box". For this reason I would like to ask to the forum members: can you tell me why Sun decided to stop realising the Linux version? this would help :)

I hope this project will fill a big hole in the JavaME and that the community will partecipate!

Thank you in advance,
dw

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dovz11
Offline
Joined: 2006-02-23
Points: 0

Hi,

The approach that we are taking so far in the toolkits (Java ME SDKs) is to leverage the same stack targeted at devices. Typically, we unified one effort to develop the stack for both platfoms.

Also, there are a number of core native components in the area of media and graphics that can not be emulated on Java SE (e.g. 3d graphics, 3d sound)because Java ME funtionaly exceed SE in a number of areas.

Thanks,
Dov

ga24
Offline
Joined: 2004-01-18
Points: 0

Hi Dov:

> Hi,
>
> The approach that we are taking so far in the toolkits
> (Java ME SDKs) is to leverage the same stack targeted at
> devices. Typically, we unified one effort to develop the
> stack for both platfoms.

1. Ah.that makes sense.

So is it correct to say that the only part of the SDK that contains native code is the common part, the runtime/emulator?

And that, other than for the emulator, the SDK would work anywhere there is a decent Java implemention?

2. And the reason for the slow/intermittent progress on other development platforms is that the native code contains unfortunately highly platform specific and thus non portable code, particularly in the areas of sound, communications (to the extent supported by the emulator) and to a lesser degree, graphics?

>
> Also, there are a number of core native components in
> the area of media and graphics that can not be emulated
> on Java SE (e.g. 3d graphics, 3d sound) because Java ME
> functionality exceed SE in a number of areas.
>

Well, if that is only in the emulator, which already contains native code, I can live with that as long as the big 3 developer platforms are supported: OS X, Linux, Windows.

This would suggest that SE needs to be enhanced, but that is a separate issue. I recall a JSR that was to do something in that space.

> Thanks,
> Dov

Message was edited by: ga24

terrencebarr
Offline
Joined: 2004-03-04
Points: 0

DW,

Sorry for the delay. I've been able to find out more on the subject.

The good news is that we are working on getting an early access release of WTK for Linux out early next year. A more fully tested version is planned for April/May of 07. Note that this will *not* be an official product release at this point ... we see it as offering an optional platform to developers and to solicit feedback from the community for our future roadmap.

Hope this helps,

-- Terrence

ga24
Offline
Joined: 2004-01-18
Points: 0

Hi Terrence:

As, mihai_preda suggests, why not re-write the pieces that are not Java in Java? A lot of it is already Java, so this isn't as big a job as one might think.

This way, porting (but not testing) can be generally eliminated.

Plus, it looks bad that Sun isn't using Java for a cross platform application. It makes people suspect that Java is somehow deficient, when, of course, it isn't.

Glenn

terrencebarr
Offline
Joined: 2004-03-04
Points: 0

Hi,

Sun currently has no plans to make available the WTK as open source. There are several reasons for this, one of them being that the WTK uses 3rd party components that Sun does not have the right to open.

We are, however, investigating the possibility of supporting additional platforms beyond Windows. We understand that a good segment of the market would want a Linux or Mac OS X -based WTK (I'm a Mac user myself, so I know exactly what you mean ;-). Stay tuned.

Hope this makes sense.

-- Terrence

Terrence Barr
Evangelist, Java Mobile & Embedded Community
Sun Microsystems, Germany
www.mobileandembedded.org

mihai_preda
Offline
Joined: 2006-11-17
Points: 0

Yes, Linux and MacOS WTK would be great.
I'm currently developing JavaME on Linux, and I'm using the old WTK 2.2 (which was the last version supporting both Windows and Linux).

Concerning the WTK, I've always wondered why it wasn't developed as a Java (SE) application. If it were built over JavaSE, there would be no difficulty for it to work on Linux, MacOS, etc. And I would expect Sun to favor a Java solution :)

cheers,
Mihai Preda