Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » MTJ 0.9.1 on Linux vs. Nokia Phones
MTJ 0.9.1 on Linux vs. Nokia Phones [message #30057] Sun, 24 May 2009 12:47 Go to next message
Eclipse UserFriend
Originally posted by: elwood.agouros.de

Hi,

I am using Eclipse 3.4.2 on Linux with MTJ 0.9.1. This is mostly working
fine, however I have two questions:

1.) Is it possible to import the Nokia Stuff from a Windows install so I
can use it developing under Linux?

2.) The Midlet I am writing is working fine on a Nokia E60 and E50.
However it refuses to install on my N90. I am using WTK 2.2 and set the
thing to CLDC-1.1 MIDP-2.0 so this should work or am I missing something?

Regards,

Konstantin

P.S.: Offtopic, but maybe someone has experienced this: The emulator on
Linux fails on my midlet with a nullpointer in setCurrent. It is working
fine on the Emulator version in Windows as well as on the actual device.
Somebody got a clue?
Re: MTJ 0.9.1 on Linux vs. Nokia Phones [message #30093 is a reply to message #30057] Sun, 24 May 2009 20:11 Go to previous messageGo to next message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hello Konstantin,

Follows some answers to your questions...

Konstantin Agouros wrote:

> Hi,

> I am using Eclipse 3.4.2 on Linux with MTJ 0.9.1. This is mostly working
> fine, however I have two questions:

> 1.) Is it possible to import the Nokia Stuff from a Windows install so I
> can use it developing under Linux?

I guess you would be able to use the jar files with the javame libraries
but all executables such as the emulator itself would not run on linux
since they are native windows applications.

> 2.) The Midlet I am writing is working fine on a Nokia E60 and E50.
> However it refuses to install on my N90. I am using WTK 2.2 and set the
> thing to CLDC-1.1 MIDP-2.0 so this should work or am I missing something?

Assuming the nokia n90 is CLDC-1.1 MIDP-2.0 it should not have any
problem. Maybe there is no kvm installed on your device?? Does the same
JAD/JAR install on other devices ??

> Regards,

> Konstantin

> P.S.: Offtopic, but maybe someone has experienced this: The emulator on
> Linux fails on my midlet with a nullpointer in setCurrent. It is working
> fine on the Emulator version in Windows as well as on the actual device.
> Somebody got a clue?

What do you mean by "a nullpointer in setCurrent" ?? Is is the method
Display.setCurrent(...) ??


Regards,

David Marques
Re: MTJ 0.9.1 on Linux vs. Nokia Phones [message #30130 is a reply to message #30093] Mon, 25 May 2009 07:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: elwood.agouros.de

See below

David Marques wrote:
> Hello Konstantin,
>
> Follows some answers to your questions...
>
> Konstantin Agouros wrote:
>
>> Hi,
>
>> I am using Eclipse 3.4.2 on Linux with MTJ 0.9.1. This is mostly
>> working fine, however I have two questions:
>
>> 1.) Is it possible to import the Nokia Stuff from a Windows install so
>> I can use it developing under Linux?
>
> I guess you would be able to use the jar files with the javame libraries
> but all executables such as the emulator itself would not run on linux
> since they are native windows applications.
Yes this is what I meant. Develop with Nokia extensions so it compiles
and I get a JarFile that installs. And different Nokia Devices show up
in the device list. How do I do that?
>
>> 2.) The Midlet I am writing is working fine on a Nokia E60 and E50.
>> However it refuses to install on my N90. I am using WTK 2.2 and set
>> the thing to CLDC-1.1 MIDP-2.0 so this should work or am I missing
>> something?
>
> Assuming the nokia n90 is CLDC-1.1 MIDP-2.0 it should not have any
> problem. Maybe there is no kvm installed on your device?? Does the same
> JAD/JAR install on other devices ??
As I mentioned it works fine on Nokia E60/E50. According to the
UserAgent the N90 is 1.1/2.0 But Symbian 2.8 not 3.0 as the two E-Series
models I have my hands on.
>
>> Regards,
>
>> Konstantin
>
>> P.S.: Offtopic, but maybe someone has experienced this: The emulator
>> on Linux fails on my midlet with a nullpointer in setCurrent. It is
>> working fine on the Emulator version in Windows as well as on the
>> actual device. Somebody got a clue?
>
> What do you mean by "a nullpointer in setCurrent" ?? Is is the method
> Display.setCurrent(...) ??
Yes. For whatever reason now it is working....
>
>
> Regards,
>
> David Marques
>
Re: MTJ 0.9.1 on Linux vs. Nokia Phones [message #30232 is a reply to message #30130] Mon, 25 May 2009 12:32 Go to previous messageGo to next message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi Konstantin,

The Unified Emulator Interface standard states that the SDKs must provide
an emulator executable (such as emulator.exe on Windows) that when
executed with the -Xquery option must list all available devices and it's
configurations so IDEs such as MTJ will retrieve the SDK's devices list.
As you only have the Windows emulator executable which can not be run on
Linux you will not be able to get integrated with MTJ.

Maybe you could try to run the 'emulator.exe -Xquery' on windows and get
the output then create a linux executable to print the same... It could
help you with getting the devices listed on MTJ. It is a *workaround*, i
have never done that... It is just a thought :) Still you will not be able
to run the emulator since it is a windows appliation :(

Maybe you should try other SDKs....

Regards,

David Marques

Konstantin Agouros wrote:

> See below

> David Marques wrote:
>> Hello Konstantin,
>>
>> Follows some answers to your questions...
>>
>> Konstantin Agouros wrote:
>>
>>> Hi,
>>
>>> I am using Eclipse 3.4.2 on Linux with MTJ 0.9.1. This is mostly
>>> working fine, however I have two questions:
>>
>>> 1.) Is it possible to import the Nokia Stuff from a Windows install so
>>> I can use it developing under Linux?
>>
>> I guess you would be able to use the jar files with the javame libraries
>> but all executables such as the emulator itself would not run on linux
>> since they are native windows applications.
> Yes this is what I meant. Develop with Nokia extensions so it compiles
> and I get a JarFile that installs. And different Nokia Devices show up
> in the device list. How do I do that?
>>
>>> 2.) The Midlet I am writing is working fine on a Nokia E60 and E50.
>>> However it refuses to install on my N90. I am using WTK 2.2 and set
>>> the thing to CLDC-1.1 MIDP-2.0 so this should work or am I missing
>>> something?
>>
>> Assuming the nokia n90 is CLDC-1.1 MIDP-2.0 it should not have any
>> problem. Maybe there is no kvm installed on your device?? Does the same
>> JAD/JAR install on other devices ??
> As I mentioned it works fine on Nokia E60/E50. According to the
> UserAgent the N90 is 1.1/2.0 But Symbian 2.8 not 3.0 as the two E-Series
> models I have my hands on.
>>
>>> Regards,
>>
>>> Konstantin
>>
>>> P.S.: Offtopic, but maybe someone has experienced this: The emulator
>>> on Linux fails on my midlet with a nullpointer in setCurrent. It is
>>> working fine on the Emulator version in Windows as well as on the
>>> actual device. Somebody got a clue?
>>
>> What do you mean by "a nullpointer in setCurrent" ?? Is is the method
>> Display.setCurrent(...) ??
> Yes. For whatever reason now it is working....
>>
>>
>> Regards,
>>
>> David Marques
>>
Re: MTJ 0.9.1 on Linux vs. Nokia Phones [message #30269 is a reply to message #30232] Mon, 25 May 2009 15:06 Go to previous message
Eclipse UserFriend
Originally posted by: elwood.agouros.de

David Marques wrote:
> Hi Konstantin,
>
> The Unified Emulator Interface standard states that the SDKs must
> provide an emulator executable (such as emulator.exe on Windows) that
> when executed with the -Xquery option must list all available devices
> and it's configurations so IDEs such as MTJ will retrieve the SDK's
> devices list. As you only have the Windows emulator executable which can
> not be run on Linux you will not be able to get integrated with MTJ.
>
> Maybe you could try to run the 'emulator.exe -Xquery' on windows and get
> the output then create a linux executable to print the same... It could
> help you with getting the devices listed on MTJ. It is a *workaround*, i
> have never done that... It is just a thought :) Still you will not be
> able to run the emulator since it is a windows appliation :(
Thanks for the clarification. Now I understand how it works and will
sadly have to get to a windows install to look if Nokia's APIs are even
worth the trouble.
>

Regards,

Konstantin
Re: MTJ 0.9.1 on Linux vs. Nokia Phones [message #573004 is a reply to message #30057] Sun, 24 May 2009 20:11 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hello Konstantin,

Follows some answers to your questions...

Konstantin Agouros wrote:

> Hi,

> I am using Eclipse 3.4.2 on Linux with MTJ 0.9.1. This is mostly working
> fine, however I have two questions:

> 1.) Is it possible to import the Nokia Stuff from a Windows install so I
> can use it developing under Linux?

I guess you would be able to use the jar files with the javame libraries
but all executables such as the emulator itself would not run on linux
since they are native windows applications.

> 2.) The Midlet I am writing is working fine on a Nokia E60 and E50.
> However it refuses to install on my N90. I am using WTK 2.2 and set the
> thing to CLDC-1.1 MIDP-2.0 so this should work or am I missing something?

Assuming the nokia n90 is CLDC-1.1 MIDP-2.0 it should not have any
problem. Maybe there is no kvm installed on your device?? Does the same
JAD/JAR install on other devices ??

> Regards,

> Konstantin

> P.S.: Offtopic, but maybe someone has experienced this: The emulator on
> Linux fails on my midlet with a nullpointer in setCurrent. It is working
> fine on the Emulator version in Windows as well as on the actual device.
> Somebody got a clue?

What do you mean by "a nullpointer in setCurrent" ?? Is is the method
Display.setCurrent(...) ??


Regards,

David Marques
Re: MTJ 0.9.1 on Linux vs. Nokia Phones [message #573044 is a reply to message #30093] Mon, 25 May 2009 07:01 Go to previous message
Eclipse UserFriend
Originally posted by: elwood.agouros.de

See below

David Marques wrote:
> Hello Konstantin,
>
> Follows some answers to your questions...
>
> Konstantin Agouros wrote:
>
>> Hi,
>
>> I am using Eclipse 3.4.2 on Linux with MTJ 0.9.1. This is mostly
>> working fine, however I have two questions:
>
>> 1.) Is it possible to import the Nokia Stuff from a Windows install so
>> I can use it developing under Linux?
>
> I guess you would be able to use the jar files with the javame libraries
> but all executables such as the emulator itself would not run on linux
> since they are native windows applications.
Yes this is what I meant. Develop with Nokia extensions so it compiles
and I get a JarFile that installs. And different Nokia Devices show up
in the device list. How do I do that?
>
>> 2.) The Midlet I am writing is working fine on a Nokia E60 and E50.
>> However it refuses to install on my N90. I am using WTK 2.2 and set
>> the thing to CLDC-1.1 MIDP-2.0 so this should work or am I missing
>> something?
>
> Assuming the nokia n90 is CLDC-1.1 MIDP-2.0 it should not have any
> problem. Maybe there is no kvm installed on your device?? Does the same
> JAD/JAR install on other devices ??
As I mentioned it works fine on Nokia E60/E50. According to the
UserAgent the N90 is 1.1/2.0 But Symbian 2.8 not 3.0 as the two E-Series
models I have my hands on.
>
>> Regards,
>
>> Konstantin
>
>> P.S.: Offtopic, but maybe someone has experienced this: The emulator
>> on Linux fails on my midlet with a nullpointer in setCurrent. It is
>> working fine on the Emulator version in Windows as well as on the
>> actual device. Somebody got a clue?
>
> What do you mean by "a nullpointer in setCurrent" ?? Is is the method
> Display.setCurrent(...) ??
Yes. For whatever reason now it is working....
>
>
> Regards,
>
> David Marques
>
Re: MTJ 0.9.1 on Linux vs. Nokia Phones [message #573167 is a reply to message #30130] Mon, 25 May 2009 12:32 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi Konstantin,

The Unified Emulator Interface standard states that the SDKs must provide
an emulator executable (such as emulator.exe on Windows) that when
executed with the -Xquery option must list all available devices and it's
configurations so IDEs such as MTJ will retrieve the SDK's devices list.
As you only have the Windows emulator executable which can not be run on
Linux you will not be able to get integrated with MTJ.

Maybe you could try to run the 'emulator.exe -Xquery' on windows and get
the output then create a linux executable to print the same... It could
help you with getting the devices listed on MTJ. It is a *workaround*, i
have never done that... It is just a thought :) Still you will not be able
to run the emulator since it is a windows appliation :(

Maybe you should try other SDKs....

Regards,

David Marques

Konstantin Agouros wrote:

> See below

> David Marques wrote:
>> Hello Konstantin,
>>
>> Follows some answers to your questions...
>>
>> Konstantin Agouros wrote:
>>
>>> Hi,
>>
>>> I am using Eclipse 3.4.2 on Linux with MTJ 0.9.1. This is mostly
>>> working fine, however I have two questions:
>>
>>> 1.) Is it possible to import the Nokia Stuff from a Windows install so
>>> I can use it developing under Linux?
>>
>> I guess you would be able to use the jar files with the javame libraries
>> but all executables such as the emulator itself would not run on linux
>> since they are native windows applications.
> Yes this is what I meant. Develop with Nokia extensions so it compiles
> and I get a JarFile that installs. And different Nokia Devices show up
> in the device list. How do I do that?
>>
>>> 2.) The Midlet I am writing is working fine on a Nokia E60 and E50.
>>> However it refuses to install on my N90. I am using WTK 2.2 and set
>>> the thing to CLDC-1.1 MIDP-2.0 so this should work or am I missing
>>> something?
>>
>> Assuming the nokia n90 is CLDC-1.1 MIDP-2.0 it should not have any
>> problem. Maybe there is no kvm installed on your device?? Does the same
>> JAD/JAR install on other devices ??
> As I mentioned it works fine on Nokia E60/E50. According to the
> UserAgent the N90 is 1.1/2.0 But Symbian 2.8 not 3.0 as the two E-Series
> models I have my hands on.
>>
>>> Regards,
>>
>>> Konstantin
>>
>>> P.S.: Offtopic, but maybe someone has experienced this: The emulator
>>> on Linux fails on my midlet with a nullpointer in setCurrent. It is
>>> working fine on the Emulator version in Windows as well as on the
>>> actual device. Somebody got a clue?
>>
>> What do you mean by "a nullpointer in setCurrent" ?? Is is the method
>> Display.setCurrent(...) ??
> Yes. For whatever reason now it is working....
>>
>>
>> Regards,
>>
>> David Marques
>>
Re: MTJ 0.9.1 on Linux vs. Nokia Phones [message #573226 is a reply to message #30232] Mon, 25 May 2009 15:06 Go to previous message
Eclipse UserFriend
Originally posted by: elwood.agouros.de

David Marques wrote:
> Hi Konstantin,
>
> The Unified Emulator Interface standard states that the SDKs must
> provide an emulator executable (such as emulator.exe on Windows) that
> when executed with the -Xquery option must list all available devices
> and it's configurations so IDEs such as MTJ will retrieve the SDK's
> devices list. As you only have the Windows emulator executable which can
> not be run on Linux you will not be able to get integrated with MTJ.
>
> Maybe you could try to run the 'emulator.exe -Xquery' on windows and get
> the output then create a linux executable to print the same... It could
> help you with getting the devices listed on MTJ. It is a *workaround*, i
> have never done that... It is just a thought :) Still you will not be
> able to run the emulator since it is a windows appliation :(
Thanks for the clarification. Now I understand how it works and will
sadly have to get to a windows install to look if Nokia's APIs are even
worth the trouble.
>

Regards,

Konstantin
Previous Topic:How to set Security-Level for the Emulator?
Next Topic:cannot import my WTK folder in the J2ME Device Management folder
Goto Forum:
  


Current Time: Fri Apr 26 17:40:17 GMT 2024

Powered by FUDForum. Page generated in 0.04715 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top