Installig eclipse .

Search This thread

danielbr14

Senior Member
Apr 26, 2013
168
14
I was trying to install eclipse so i could start programing apps for android but when i searched online for guides on how to do it they were all outdated from 4~5 years ago and because the ui of websites and the eclipse program changed , all i got was a error messages after i tried do install google api to eclipse . can anyone help me and give me a link to a dated guide ?

Sent from my Nexus 5 using XDA Premium 4 mobile app
 

danielbr14

Senior Member
Apr 26, 2013
168
14
Thanks i will check it once i'll get home

Sent from my Nexus 5 using XDA Premium 4 mobile app
 

danielbr14

Senior Member
Apr 26, 2013
168
14
when i try to launch eclipse it says "colud not create the java virtual machine "
" a fatal exception has occurred . program will exit. "
 

danielbr14

Senior Member
Apr 26, 2013
168
14
i tried using the eclipse that came with the adt and the java veriion i use is 7 update 51 build 1.7.0_51b13
 

sak-venom1997

Senior Member
Feb 4, 2013
928
415
Lucknow
i tried using the eclipse that came with the adt and the java veriion i use is 7 update 51 build 1.7.0_51b13

ADT bundle is Juno or Keplar as far as i know so they should be compatible
post the
-vm argument of your eclipse.ini
which can be found in your eclipse installation folder.

a suggestion switch to Android Studio trust me you wont regret.

Sent from my GT-S5302 using Tapatalk 2
 
  • Like
Reactions: danielbr14

danielbr14

Senior Member
Apr 26, 2013
168
14
ADT bundle is Juno or Keplar as far as i know so they should be compatible
post the
-vm argument of your eclipse.ini
which can be found in your eclipse installation folder.

a suggestion switch to Android Studio trust me you wont regret.

Sent from my GT-S5302 using Tapatalk 2

if you say android studio is much better then i am in . i started downloading it and i was hoping you can give me a guide on how to start .
the -vm
"-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX"
 

sak-venom1997

Senior Member
Feb 4, 2013
928
415
Lucknow
if you say android studio is much better then i am in . i started downloading it and i was hoping you can give me a guide on how to start .
the -vm
"-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX"

A sample one from Eclipse wiki
it will differ from yours

look for things in bold

-startup
../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm **this should be followed by the exact path to javaw or java executable binaries**
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m **this should in no case exceed half the amount of RAM in your pc here value is 512 in MBs**

compare these two with yours and it should work

Sent from my GT-S5302 using Tapatalk 2
 
Last edited:
  • Like
Reactions: danielbr14

Top Liked Posts