• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About java.lang.StringBuilder in SAMSUNG JaUmi Wireless ToolKit

 
madan singh
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
StringBuilder is a J2SE class, and is not part of the J2ME Apis. That would be why it fails.

Mark
 
madan singh
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 311
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Try using StringBuffer Class in place of StringBuilder.

- Ramy..
 
Rita Smith
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Samsung wtk (Most sprint wtks)doesn't support Java 1.5. That's why you are getting that error.
 
wonmuk kim
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17645
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic