Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
amey_baisane
Participant

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:

  • SUP Server specification:

              Version: 2.1.2.119

  • Sybase Unwired work-space: Eclipse edition

              Version: 2.1.0

Error description:

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



4 Comments
Labels in this area