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

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 :)

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

“An error has occurred. See the log file .metadata/.log.” CANT FIND METADATA FILE

I'm panicking a lot because I just installed JDK 9 and tried to run eclipse and got this error. I looked for the metadata file and can't find it. I'm scared of losing all my work I don't know what to do. I'm using mac os.
This is my ini file, not sure how i can edit it
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.401.v20161122-1740
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

All installed eclipse versions crashing randomly - windows 10

All the eclipse versions installed on my machine have been randomly crashing. I have Mars, Indigo developer 64 bit versions and Luna - JEE 64 bit version. I am running windows 10, java 8 - 64 bit, maven-3.
I have tried adding -vm to point to the jvm.dll in eclipse.ini. I have set -Xms 512m and -Xmx 1024m. Here is eclipse.ini for Mars:
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256m
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:/Program Files/Java/jdk1.8.0_102/jre/bin/server/jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms512m
-Xmx1024m
-server
-XX:+UseParallelGC
-Xverify:none
-javaagent:plugins/com.zeroturnaround.eclipse.optimizer.plugin_1.0.8/agent/eclipse-optimizer-agent.jar
I tried to run eclipse as an administrator. Nothing has worked so far.
Here is the stack/thread dump for the process - http://pastebin.com/3cSjLh2Z
Any suggestions will be greatly appreciated.

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.

Java crashes with Java was started but returned exit code=1

I use eclipse for android development.
Sometimes, if Google Chrome is running, it crashes and Eclipse also.
And I get message Java was started but returned exit code=1.
Full message is in print screen.
and my eclipse.ini :
-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.v20130807-1835
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.7.0_51/jre/bin/server/jvm.dll
-vmargs
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=512m
If your JDK version is 32bit then download Eclipse or STS of 32 bit.
If your JDK version is 64bit then download Eclipse or STS of 64 bit.This worked for me

Categories

Resources