Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Integration of Android studio with ewm eclipse client.

  Hi,


I was trying to integrate android studio with eclipse client and followed each and every step which was present in this document(How to Set Up RTC for Android Development on Windows | Best Practices for Building Software Platforms (wordpress.com))

So, i was stuck at last step in editing the .ini file at eclipse repository location and when i'm giving the jdk location in .ini file as follows

(-vm
C:\Program Files\Java\jdk1.6.0_21\bin)

After editing .ini file and saving it then after i was not able to open my eclipse client.

Kindly please anyone look into this.

Thanks

Regards
Shaik Raj

0 votes



2 answers

Permanent link

 What error message do you get?

Did you actually install this old JDK? I am pretty sure that you should not use such an old version.
Which EWM version? Current version such as 6.0.6.x and 7.0.x require Java 8.
Did you try to provide a windows path without space e.g. c:\Pragram~1....

0 votes

Comments

Yes my ewm version is 7.0.2


I tried with java 6,8 but still cant open my eclipse after editing .ini file

The error message i got when im opening eclipse client is "FAILED TO CREATE JAVA VIRTUAL MACHINE".

If possible please make a meet-up and please solve this, im working on this setup since yesterday but not able to complete it. 

Sorry, I am not available for meetups. 

1. https://jazz.net/library/article/1000 explains how to do this if you want to start with an Eclipse and install RTC into that. See lab 1.
2. If you download one of the ZIP versions of the RTC client, they ship their own compatible IBM Java in the subfolder JDK.
3. RTC 7.0.2 requires Java 8, which it ships. 
4. If you want to use Oracle Java, you have to change the VM argument. 
5. I avoid BLANKS in path names. In  windows try brackets or the 8.3 names with dir /X
 

PS: if Android Studio is based on GIT, it would likely be better to stay wit GIT. Using EWM/RTC then would be more focused on change management and planning. 

 When i had given path to edit the line that specifies the virtual machine so it points to the directory that holds the JVM for JDK 1.8.


It was showing the error when im opening eclipse client was "Failed to load the JNI library "C\PF........."

I had tried each and every step but after giving path in .ini file im getting that error pop up 

Are you running on macOS or Windows?  I've seen the above error message on macOS with issues in the eclipse.ini file. 


Permanent link
The latest versions of Android Studio and EWM all use later JRE versions and you shouldn't edit the ini file

The document you're using is for a much, much older version of both tools

0 votes

Comments

True


However there are also other reasons why you would want to edit that file and add the VM argument. This is just Eclipse and has nothing to do with RTC at all. You can avoid the VM entry if you have the correct java version in the path.

If you do not have Java on the path the VM argument is essential to be set if you install a plain Eclipse, otherwise it will not start.

However it is also not exactly rocket science. On Windows I would suggest to try not to have spaces in paths or try brackets like ". I have always used the first approach when using Oracle Java. I would have the following set:
-vm
c:/PROGRA~1/Java/Java1.8/bin/javaw.exe
        

or
-vm
c:/PROGRA~1/Java/Java1.8/bin
        


in my exlipse.ini. I have seen both forms, not sure what is going on. Note, it is two lines.
 

Hi,


How to push the code from Android studio to RTC and how to verify that my integration went successful.

Regards
Shaik Raj Ahammad 

This is just standard EWM online help info - have a look in the Knowledge Center for how to add a project to source control and how to check in and deliver to a stream

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Apr 12 '22, 4:32 a.m.

Question was seen: 1,590 times

Last updated: May 12 '22, 5:43 p.m.

Confirmation Cancel Confirm