Posts

Showing posts with the label java

Quick setup JDK 1.8 on Ubuntu 16.04

Image
In this post, I am going to write about quick setup of JDK 8 on Ubuntu Linux 16.04 assuming a fresh installation of Linux and on the top of that java needs to be installed.  Below are the steps for quick installation of JDK 1.8_x on Ubuntu Linux- 1. Login to your ubuntu linux machine as root user 2. Create a new directory at location / and provide necessary permission for read write and navigate to /u01 root@ubuntu:~ root@ubuntu:~ mkdir u01/ root@ubuntu:~ chmod 664 /u01 root@ubuntu:~ cd /u01 3. Download the Linux Compressed Archive archive from Oracle Official page-  https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html Or just open the command line and use curl to download the same. For this you need a valid AuthParam because you need to be logged in to Oracle.com. So if you have and Oracle.com account just login and proceed to downloads page as specified in above link, go to respective download ...

Eclipse- Failed to load JNI shared library

Today I have downloaded the Eclipse IDE with below details: Version : Mars Release (4.5.0) For OS : Windows 64 bit Link : http://www.eclipse.org/ I have got a *.zip package for startup. When I tried to execute the eclipse.exe file, it shown me a splash screen followed by an alert and then exit. Failed to load JNI shared library "C:\Program Files (x86)\Java\jdk1.6.0_20\jre\bin\client\jvm.dll" I was not able to use the Eclipse IDE. However after a lot of effort, below changes worked as magic to run my eclipse IDE. ------------------------------------------------------------------------- eclipse.ini before ------------------------------------------------------------------------- -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.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -s...