I downloaded some plugins from Help>Install New Software in eclipse.After the download it was to be restarted.After restart it doesn't open up.Says an error has occurred,see the log file 1363836429331.
My eclipse.ini is-
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Declipse.buildId=v21.1.0-569685
-Xms40m
-Xmx768m
I use Windows 7 32-bit.
Related
How do I optimise the performance of my Eclipse Kepler 32bit- I'm using Windows 7 64bit 6GB RAM. Here is my current ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.rcp.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx1024m
Is my ini file optimised correctly?
When trying to import a project I am facing a warning message as shown in the screen shot.
Here is how my eclipse.ini looks like.
-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
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms768m
-Xmx1024m
-vm
C:\Program Files (x86)\Java\jdk1.6.0_21\bin\javaw.exe
Change the path to javaw.exe to use forward slashes:
C:/Program Files (x86)/Java/jdk1.6.0_21/bin/javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
128M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.7.0_45
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=256M
System Specification:
Processor:Intel(R)Core(TM)i5 CPU M450 # 2.40 GHz
RAM:3GB
System Type: 32 bit
Make Sure you are following these steps.
1) Install jdk(1.6 or 1.7) and set the path in enviornment variables.
2) Download android SDK ADT bundle from Android developers site.
3) Thats all you need to do basically.
Now, if you are getting "Failed to create the java virtual machine".
What you have to do is, edit your eclipse.ini file. Which is there in eclipse
folder.
And write the following line in eclipse.ini file.
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-vm
C:\Java\jdk1.7.0_29\bin\javaw.exe
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
128M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.7.0_45
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=256M
Imp Note: Replace **C:\Java\jdk1.7.0_29\bin\javaw.exe** with your path.
I have downloaded eclipse and looked into its eclipse.ini file which contains this:
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.reporting.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Why does it contain the option:
--launcher.XXMaxPermSize
256M
two times where 'M' is used in the first case and 'm' is used in the second case?
Looks to be a bug in packaging or a plugin. Please open a bug report at bugs.eclipse.org. Make sure to specify exactly which package you've downloaded and if you installed any plugins (list which ones) after you've extracted the initial package.
I went into many options for the eclipse.ini.
I use Java 7 with a Intel Core i7 with 8Go of Ram, and windows 7. The performance of eclipse and the impact of eclipse.ini depends on the configuration of the machine.
We have big projects with big workspaces.
Here is my eclipse.ini:
-vm
C:/Java/jdk1.7.0_21/jre/bin/server/jvm.dll
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Dhelp.lucene.tokenizer=standard
-vmargs
-XX:ParallelGCThreads=4
-XX:+CMSClassUnloadingEnabled
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
-XX:ReservedCodeCacheSize=64m
-XX:CompileThreshold=500
-XX:MaxHeapFreeRatio=70
-XX:ErrorFile=./hs_err_pid<pid>.log
-Xms512m
-Xmx1024m
-Dsun.java2d.opengl=true
-Dsun.java2d.d3d=true
-Dawt.nativeDoubleBuffering=true
-Duser.language=en_US
-Xverify:none
-XgcPrio:deterministic
-XpauseTarget:20
-XX:+UseTLAB
-XX:MaxTenuringThreshold=0
-XX:SurvivorRatio=128
I wish good luck to you.
If you have time to test it and have any comment, please help us improve it.
Regards
ECI
My eclipse configuration is described below,
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx1400m
I am using ubuntu with 6 gb of memory, please give me some best configuration for eclipse indigo.
Increase value for -Xmx parameter.