Hi,

I'm using Sun ONE Studio 5 to develop J2ME application on PalmOS.

A) Sune ONE Studio:
Sun ONE Studio 5, Mobile Edition Early Access now available. First J2ME
integrated development environment to integrate and support the J2ME WTK
2.1.

B) J2ME Wireless Toolkit:
J2ME Wireless Toolkit 1.0.4_01 for MIDP 1.0 application development
using the Sun MIDP 1.0 reference implementation. Available for Windows
and Solaris and Linux. 

C) Palm OS Emulator:
Software that emulates various Palm OS handhelds. Use it with the J2ME
Wireless Toolkit Version 1.0.4_01 to develop and test your Java
applications.


2 questions:

1) When using Sun ONE Studio:
When I try to execute the main class of Midlet, the error message is:
C:\Sun\studio5_me\emulator\j2mewtk-1_0_4-win\bin\emulator -classpath
"C:\Documents and Settings\leca\studio5me_user\system;C:\Documents and
Settings\leca\studio5me_user\system;C:\Sun\studio5_me\system;C:\Sun\studio5_me\emulator\j2mewtk-1_0_4-win\docs\api;C:\Documents
and
Settings\leca\studio5me_user\javadoc;C:\Sun\studio5_me\docs\servlet23jsp12-docs.zip;C:\Sun\studio5_me\emulator\wtk21\docs\api\midp;C:\Sun\studio5_me\emulator\wtk21\docs\api\mmapi;C:\Sun\studio5_me\emulator\wtk21\docs\api\wma;C:\Sun\studio5_me\modules\autoload\ext\servlet-2.3.jar;C:\Documents
and Settings\leca\studio5me_user\sampledir;C:\Documents and
Settings\leca\studio5me_user\examples\photoalbum\src"   
-Xdevice:PalmOS_Device   example.photoalbum.PhotoAlbum
A descriptor must be specified for MIDP-Palm.

2) When using J2ME Wireless Toolkit with POSE and select ''debug''

1st: leave the port to default value 5000
Project "games" loaded Project settings saved Building "games" Build
complete Connecting to 127.0.0.1 on port 2800 Waiting for debugger on
port 5000 Wrote: C:\WTK104\wtklib\devices\PalmOS_Device\games.prc KVM
not ready KVM not ready

2nd: If I select the port to 2800 in Debug window the application
freeze:

Project settings saved Building "games" Build complete Preferences
updated Preferences saved Connecting to 127.0.0.1 on port 2802 Waiting
for debugger on port 2802 Wrote:
C:\WTK104\wtklib\devices\PalmOS_Device\games.prc Connection received.
java.lang.OutOfMemoryError java.lang.OutOfMemoryError 
 
Could you help me ?

Thanks!

/Denis



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to