Difficulty installing Eclipse. Can not initialize cryptographic mechanism
I'm really grasping at straws here due to my limited admin knowledge. I'm trying to install Eclipse. I end up with "eclipse-inst" giving me an "Internal error" "Can not initialize cryptographic mechanism". Here's how I got to this point.
1) Cloned a rather young Ubuntu guest (VirtualBox, Win10 host) to a new VM 2) Followed advice at http://www.howtogeek.com/191427/how-...to-install-it/ to install Java, but it failed. So I ended up doing "sudo apt-get install openjdk-9-jre-headless" instead of "-6-". 3) Followed advice at http://ubuntuhandbook.org/index.php/...u-16-04-15-10/ and so downloaded eclipse from https://www.eclipse.org/downloads/do...&mirror_id=454 which should be 64-bit linux version. 4) Extracted the tar.gz and found executable "eclipse-inst". 5) Double-clicked "eclipse-inst" to run it and got the error message mentioned previously. 6) Tried "sudo ./eclipse-inst" from terminal, but that didn't help. 7) Thought about java versions so did "sudo apt-get install openjdk-8-jre-headless" by simply overtyping "-8-" on "-9-". Didn't help So now I have no clue how to get past the problem. Please help. Surely I've simply hosed something somewhere by doing the wrong thing along the way... Details for the error: java.lang.ExceptionInInitializerError |
Hya
I am not a Ubuntu user, but as a Debian user, I installed eclipse not long ago without trouble. I am not positive, but am pretty sure that ubuntu has eclipse repo. cheers |
|
Oh, I see my problem. I'm using Ubuntu in a VM on a Win10 host. I used the same (but older) instructions as linked by beachboy2. My problem, however, is that I browsed to the eclipse download using my Win10 host, then cut and paste into the Ubuntu VM. I ended up downloading a windows version rather than a linux version.
I re-created my young VM from scratch, and the following worked. Here are my noes: 1) Install Eclipse per http://ubuntuhandbook.org/index.php/...u-16-04-15-10/ A) "java -version" shows not found, therefore definitely do not have java installed already. B) Install Oracle Java 8 per http://ubuntuhandbook.org/index.php/...-ubuntu-14-04/ i) sudo add-apt-repository ppa:webupd8team/java ii) sudo apt-get update iii) sudo apt-get install oracle-java8-installer iv) sudo apt-get install oracle-java8-set-default (((didn't do much))) v) java -version (((Shows java version 1.8.0_111, SE runtime build 1.8.0_111-b14, Hotspot build 25.111-b14))) C) From http://www.eclipse.org/downloads/ do *NOT* click download ad near top. Find "Get Eclipse Neon" and click its download i) This leads to https://www.eclipse.org/downloads/do...linux64.tar.gz where clock to download eclipse-inst-linux64.tar.gz. SAVE file. ii) Show download progress in Firefox by clicking bar icon in top right corner of browser, to the right of address bar. iii) From Files browser, locate Downloads, right click on eclipse-inst-linux64.tar.gz and Extract Here. Then show the files insde. iv) Go in folder eclipse-installer and double click "eclipse-inst" program. v) Choose "Eclipse IDE for C/C++ Developers" and install. DO NOT LAUNCH YET. |
Quote:
|
All times are GMT -5. The time now is 06:45 PM. |