Skip to Content
Author's profile photo Amey Baisane

Sybase Mobile SDK_error_in_starting_the Unwired_workspace

Introduction:

This document is prepared as a solution for the issue that me and my team was faced during one of our SUP (Sybase Unwired Platform) project implementation.

Issue:

We are getting an error message when we are trying to run the Sybase Unwired work-space on windows laptop.

Laptop specification:

/wp-content/uploads/2013/08/laptop_256056.png

  • SUP Server specification:

              Version: 2.1.2.119

  • Sybase Unwired work-space: Eclipse edition

              Version: 2.1.0

Error description:

/wp-content/uploads/2013/08/error_256062.png

Solution:

“Java was started but return exit code = 1” we did some search for this error message on Google We came across the link which talk about this error message and suggested some changes in “eclipse.ini” file.

Path for eclipse.ini file: Your installation dir\ Sybase\Unwired platform\Eclipse\eclipse.ini

Before updating the eclipse.ini file please make the following changes.

  1. Uninstall the existing JDK version and Install the complete JAVA SE package (latest version).
  2. Set the path variable with,
  3. C:\Program Files\Java\jdk1.7.0_09\bin;
  4. C:\Program Files\Java\jre7\bin;

Eclipse.ini” before change:

-startup

plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

–launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810

-showsplash

org.eclipse.platform

–launcher.XXMaxPermSize

256m

–launcher.defaultAction

openFile

-vmargs

-Xms40m

-Xmx384m

By referring the links on Google I have made the following changes to the Eclipse.ini

Eclipse.ini” after change:

-startup

plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

–launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810

-showsplash

org.eclipse.platform

–launcher.XXMaxPermSize

256m

openFile

-vm

C:/Program Files/Java/jdk1.7.0_09/jre/bin/server/jvm.dll

–launcher.defaultAction

-vmargs

-Xms40m

-Xmx384m

XX:-UseCompressedOops

Lines in “Bold with blue” are the changes that I have made to this file.

  1. Once this changes done, just restart the eclipse.
  2. This time it will run the eclipse without any error.
  3. Sometimes your Sybase Mobile SDK plug-in is missed out so just copy and paste the Sybase Mobile SDK plug-in it into the eclipse plug-in folder and restart the eclipse.
  4. And your eclipse is ready for Sybase Unwired Platform Project development.  

Reference Link:

http://www.eclipse.org/forums/index.php/t/204384/

Kind Regards,

– Amey



Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Jitendra Kansal
      Jitendra Kansal

      Hi Amey,

      This is really helpful... i have faced similar error/issue many times.

      thanks for sharing. 🙂

      Author's profile photo Jitendra Kansal
      Jitendra Kansal

      Hi Amey,

      i have pasted syntex as mentioned by you.

      while working with mobile sdk it suddenly stopped responding. so i close the task from task manager.then error message came (same screenshot).

      It shouldnt come? right after pasting the required syntex.

      Regrds,

      Jitendra

      Author's profile photo Amey Baisane
      Amey Baisane
      Blog Post Author

      Yes.. It shouldn't come...

      Just take a backup of your eclipse.ini file, then open copy of it in the wordpad and then do the respective changes by looking the exact line where changes needed then save and restart the system and try to run the work space.

      After making the above changes my laptop started working fine with sup work space.

      Also, few times [very rare] I have observe (seen) the error screen when I am closing my work space after a long time (like after 2 - 3 days) but it doesn't stuck there when next time I run my work space it started without any error

      Please let me know the behavior in your case does it start or it simply doesn't work for you?

      Kind Regards,

      -Amey

      Author's profile photo Jitendra Kansal
      Jitendra Kansal

      Let me try this way and will let you know if i face similar issue.

      thanks for your concern.

      Rgrds,

      Jitendra