# Problem building Mobile Designer Project using JDK 6

**URL:** <https://techcommunity.softwareag.com/t/problem-building-mobile-designer-project-using-jdk-6/171109>\
**Category:** Forum\
**Tags:** mobile\
**Created:** [May 14, 2013, 10:14am UTC](https://techcommunity.softwareag.com/t/problem-building-mobile-designer-project-using-jdk-6/171109 "2013-05-14T10:14:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rizwanur\_Rahman](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rizwanur_rahman/32/7936_2.png) [@Rizwanur\_Rahman](https://techcommunity.softwareag.com/u/Rizwanur_Rahman)\
**Post date:** [May 14, 2013, 10:14am UTC](https://techcommunity.softwareag.com/t/problem-building-mobile-designer-project-using-jdk-6/171109/1 "2013-05-14T10:14:39Z")

</div>

Hi, I am trying to build a mobile application using Mobile Designer and have used generics in my code. When i first tried to run “Activate Handset”, it gave me an exception saying the source is JDK 1.3 which does not support generic. I modified the file bs-defaults located in /Tools/Build/BuildScript/v1.0.0 as follows

But now I am getting the following error

HttpConnectionHandler.java:318: cannot access java.lang.StringBuilder  
[javac] class file for java.lang.StringBuilder not found  
[javac] init\_url = conn.getProtocol () + “://” + conn.getHost () + “:” + conn.getPort () + init\_url;  
^

BUILD FAILED

Is there any other file I need to change to make the app compatible with java 1.6 or higher.

Thanks  
Rizwan

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:28pm UTC](https://techcommunity.softwareag.com/t/problem-building-mobile-designer-project-using-jdk-6/171109/2 "2021-04-02T15:28:49Z")

</div>


