Java Eclipse open 2 tabs eclipse.exe and project - java

Today I wake up and start eclipse like every single day the open a screen and a splash screen later it opens the eclipse window but the previous remains open this is a kinda annoying have 2 open tabs for eclipse... I want when eclipse opens the other tab closes is a black window with nothing in it...
Here is my eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-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
-Xms40m
-Xmx512m
please take a look to the image.

i was able to solve my problem adding the line to the FIRST LINE in eclipse.ini file
something like
-vm
C:/Program Files/Java/jdk1.7.0_21/jre/bin/javaw.exe
yes in 2 lines not in a single line.
my eclipse.ini is like this ready now.
-vm
C:/Program Files/Java/jdk1.7.0_21/jre/bin/javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-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
-Xms40m
-Xmx512m
i hope really helps somebody.

Related

How to speed up reading files of a project in eclipse

I have a liferay 6.2 project with thousand files in source folder
I use eclipse IDE to develop and it has a annoyed issue: each time I click a folder in eclipse, it take long time to open the folder to see files and subfolders
I have config the eclipse.ini of eclipse to tuning eclipse performance but it does not have any effect.
Please me the suggestion to speedup eclipse
Bellow is the content of eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
2048M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
4096m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms2048m
-Xmx4096m
-Xverify:none

Limited BigInteger in eclipse

In Eclipse, I get a value for BigInteger.valueOf(2).pow(31093), but not for BigInteger.valueOf(2).pow(31094) (its empty).
I edited my eclipse.ini like this:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.standard_2.0.2.20140224-0000
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:+UseParallelGC
-Xms512m
-Xmx1024m
-XX:PermSize=1024M
On other computers I succeeded. Is eclipse still the problem or there is something else?
If it interest anyone - The problem is a bug of the Console view in Eclipse.
Printing very big BigIntegers - same problem. The workaround works.

Eclipse Failed to Load JNI Shared Library in Windows 8,1

I am using Windows 8.1 64bit and x64 Architecture and Eclipse Luna Standard Version(Latest)** When I extract my Eclipse and Started it it is giving this error.
i don't know what to do However my Eclipse.ini look like this
-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize512M
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms40m
-Xmx512m
I need Help :)

Cannot run Eclipse; JVM terminated with Exit code=13

I just append -vm
C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe
in eclipse.ini then I try to start eclipse again and got this error. Give me how to solve or link that actually solve it.
this is my eclipse.ini
-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
256M
-showsplash
com.android.ide.eclipse.adt.package.product
-vm
C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M]
[See image here]
Have a look on the below url.
Cannot run Eclipse; JVM terminated. Exit code=13

How to fix this error "GC overhead limit exceeded in Eclipse"

How to fix this error "GC overhead limit exceeded in Eclipse". This problem was occurred when I used graphical layout from ADT android.
eclipse.ini file can be edited.
Increase the values for memory usage.
Please see the sample eclipse.ini file below.
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m
MAC / IOS Users
RightClick on Eclipse.app and then click on Show Package Content
Now Open Content folder to find the eclipse.ini file and edit
-Xms512m
-Xmx2048m

Categories

Resources