GeeCON Prague 2014*
The moose likes Java Micro Edition and the fly likes About java.lang.StringBuilder in SAMSUNG JaUmi Wireless ToolKit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "About java.lang.StringBuilder in SAMSUNG JaUmi Wireless ToolKit" Watch "About java.lang.StringBuilder in SAMSUNG JaUmi Wireless ToolKit" New topic
Author

About java.lang.StringBuilder in SAMSUNG JaUmi Wireless ToolKit

madan singh
Greenhorn

Joined: Dec 29, 2005
Posts: 18
Hi,

I am getting java.lang.StringBuilder error in SAMSUNG JaUmi Wireless ToolKit.
Error is like this :
java: cannot access java.lang.StringBuilder
file java\lang\StringBuilder.class not found
String cbsConnection = "cbs://:" + cbsMessageID;
^
Fatal Error: Unable to find method <init>
com.sun.kvem.ktools.ExecutionException
Build failed

Please tell me the solution ASAP.

Thanks group
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

StringBuilder is a J2SE class, and is not part of the J2ME Apis. That would be why it fails.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
madan singh
Greenhorn

Joined: Dec 29, 2005
Posts: 18
Thanks for reply Mark,

But the problem is that, same poject work fine for SonyEricsson(p900) j2me toolkit but it doesn't work with SAMSUNG.
Ramender Mall
Ranch Hand

Joined: Sep 08, 2005
Posts: 311
Hi,
Try using StringBuffer Class in place of StringBuilder.

- Ramy..
Rita Smith
Greenhorn

Joined: Mar 29, 2005
Posts: 10
Samsung wtk (Most sprint wtks)doesn't support Java 1.5. That's why you are getting that error.
wonmuk kim
Greenhorn

Joined: Aug 07, 2009
Posts: 1
hi, dear
I'd like to know about what kind of the JDK version do i have to choose for compiling with SAMSUNG JaUmi Wireless Toolkit
I'd like to thank your answer
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16092
    
  21

wonmuk kim wrote:hi, dear
I'd like to know about what kind of the JDK version do i have to choose for compiling with SAMSUNG JaUmi Wireless Toolkit
I'd like to thank your answer


You'll have to check the vendor's documentation. In the case of a carrier-supplied device (Spring, T-Mobile, etc.), it would be the carrier. In the case of a general device (SIM card), it would be Samsung.

Unlike desktop PCs, the JRE in mobile devices is generally welded in at the factory and cannot be easily changed.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: About java.lang.StringBuilder in SAMSUNG JaUmi Wireless ToolKit