Limited BigInteger in eclipse - java

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.

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

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

"Could not create the JVM" error at Eclipse startup

I've got error like this:
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_64_1.1.200.v20120913-144807
-product com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize 256M
-showsplash com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
--launcher.defaultAction openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M
-vm C:\Program Files\Java\jdk1.7.0_45\bin\javaw.exe
how to fix this problem?
you can start eclipse this way instead:
eclipse -vm <path to java>
In the eclipse.ini file change the following
--launcher.XXMaxPermSize
900m
from
--launcher.XXMaxPermSize
512m
Also check out this link and mostly this error comes due to the hardware issues like the RAM.
same thing happened with me when i updated my jre7 , what worked for me was updating the new path in windows environment variables,
add a new system variable :
Variable Name: PATH
Variable value: C:\Program Files\Java\jdk1.7.0_51\bin
hope this helps..:)

Java Eclipse open 2 tabs eclipse.exe and project

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.

Categories

Resources