So I downloaded Eclipse Kepler for a beginner's course in java programming. After completing a few activities, I took a break for about a month. None of these programs are really important, so if I need to delete them, that's fine. When I went to open eclipse for an activity about a week ago, I double clicked it and nothing happened. Occasionally, if I moved Eclipse to another folder or something, it would give me a warning message about how it couldn't locate its partner in a shared library. So then I googled my problem and found a solution about deleting something in the workspace/.metadeta/.plugins but I couldn't find that directory. I'm assuming that "workspace" is supposed to be a folder in the C:\eclipse, which is where I installed eclipse, but I couldn't find it anywhere. I found a folder just called "plugins", but deleting that didn't help at all. Finally, I uninstalled and reinstalled it to no avail, then I installed Eclipse Luna I think it's called (whatever is the most recent eclipse to download on the eclipse website) and it wouldn't open either, but when I double clicked it, it sent me this pop-up.
(I would put the picture here, but apparently I need "10 reputation")
Not sure what that means.
But it did seem to be some sort of log and it said "Java was started but returned exit code 13" and then had a whole lot of text after that.
TL;DR:
Can't open Eclipse Kepler or the newer Eclipse. I also can't find the workspace/.metadata/.plugins directory thingy that supposedly solves this problem
Any ideas on how to get Eclipse working again?
Open the eclipse.ini file and add, (make sure it is before -vmargs):
-VM
[path to x64 verstion of jdk]
For example:
-VM
C:\Program Files\Java\jre7\bin
Depends on your Java version, make changes to jre7. Also the reason is because you installed x64 version Eclipse, so you need to download x64 version JDK.
Related
Windows also cannot uninstall it, so that I can reinstall it. I have not used intellij for almost a year. I updated Intellij the other day to start using it again. When I try to launch after the update I get this error:
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:94)
at com.intellij.openapi.application.PathManager.loadProperties(PathManager.java:519)
at com.intellij.idea.Main.bootstrap(Main.java:94)
at com.intellij.idea.Main.main(Main.java:84)
-----
Your JRE: 11.0.11+9-b1504.13 amd64 (JetBrains s.r.o.)
C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\jbr
According to the link the error is referencing it could be one of many things.
I would try and Delete the IDE system path (idea.system.path) as that is the easiest done from the list or I would straight up try and re-install the IDE as is suggested as that will probably take care of most of the issues existing.
I would also probably backup and delete the settings directory before re-installing (idea.config.path) and try again. It says that you can do this after re-installing as well but there could be an error in the settings directory that messes with the startup, meaning that the error could be resolved without you having to re-install.
You mentioned that you cannot uninstall or re-install which seems to be an issue with windows itself. If you are running this in an older system I think that re-installing windows might be your only solution (I used to have a similar issue with visual studio community). You could also try to mess around with the registry but if you are not sure what you are doing there I would simply re-install since it is way simpler
I'm trying to run Eclipse (Neon 1) on a memory stick. In a first time, the problem was the JVM 1.6 installed on the machine which is too old. To use a compatible JVM, I created a jre directory in Eclipse's directory and placed in it a JVM 1.8 (the last one found on ORACLE's web site).
Now, when I try to run Eclipse, nothing happens. I got the splash screen with "Eclipse Neon 1" then, nothing, not even an error message.
What is the problem and what can I do ?
Important note : I can't install a JVM on the "native machine" as I'm not administrator.
Than, you for all your answers. Have a good day.
When you need programs to run off a USB, always search if a portable version exists first. This is a working portable version of Eclipse Neon but it is another version though.
Finally, I found (one of) my mistake.
I used a jre(...).exe. It's the problem. I downloaded the tar.gz file of the jre and unpacked it. Then, I used the jre of this unpacked version and everything was ok except a problem with an "access restriction" to some libraries.
I fixed that last problem with that question on StackOverFlow. And now, everything is ok !
Great ! Thank you to everyone for your help.
I have thouroughly scoured the internet for anyone who has encountered the same error as me but to no success. I also checked this website for any previous threads asking a similar question and found nothing helpful.
I want to install a Java Development Kit (JDK) which I need to do in order to program a mod for Minecraft. I've downloaded: 'jdk-8u5-windows-x64' from the official Oracle website as I was instructed to by a person's tutorial. The guy said that installing the JDK is "pretty straight-forward" and that all you have to do is "download the executable and run it, and it will install everything for you".
Here's the problem/error. When I open the exe. for the JDK installer I get the following error:
https://i.stack.imgur.com/Exqxj.png
And when I go to the directory I see this:
https://i.stack.imgur.com/2sSB0.png
Notes that may be of interest:
I have previously installed and uninstalled versions of Java in the past.
I'm using this JDK for the program 'Eclipse' which I have recently re-installed.
I have no idea what I'm doing.
Thank you all very much, it's fixed now. I found a folder with a previous version of JDK that I had installed in the past and deleted that. I then navigated to the directory that it gave and deleted the configuration file it was complaining about.
Deleting the file allows it to be regenerated but the error is telling you the actual issue.
If you look at line 1 in your java.settings.cfg, you will see that it doesn't match the Oracle flags. How this happens I don't know but I noticed it installing Java 9 JDK on a new machine.
On an installation of java 8, I had the settings line 1 as "AUTOUPDATE=0"
But if you check the config guidelines.
You will see the actual pair should have 'AUTO_UPDATE not AUTOUPDATE'.
You can delete the file but you are deleting your configuration and hoping it rebuilds correctly.
I had similar issue... I went to that directory it is complaining about in your screenshot.. and I deleted that file. After that, the installer worked. The directory won't show up -- so you have to type it to navigate to it. https://i.stack.imgur.com/Exqxj.png
Problem with NetBeans re-installation( the first one worked fine): All of the available components are already installed. click cancel to exit the installer. No way to proceed!
Previously I downloaded and installed the window version of NetBeans IDE 8.1 with "All- a full download option (215 MB)" , which contains all the runtimes and technologies available for the NetBeans IDE. https://netbeans.org/downloads/. a weak ago i restored my computer to an earlier point in time. after restore my recently installed applications are deleted including NetBeans, my favorite IDE to run java.
When I try to install it now, I got a problem! it says all the available components( packs and runtimes) are already installed. And I have no way to go forward. The "Next" button is disabled.All of the available components are already installed. click cancel to exit the installer. No Next button. please see the picture
NetBeans IDE 8.1 Installer welcome snapschot
Go to "C:\Program Files" and look for "NetBeans" folder, then delete that folder and try reinstall it, it should work fine this time.
Also,this can help link
On debian you might try go
/usr/local/netbeans-8.2/uninstall.sh
Try deleting the glassfish server and the Apache server from the program files too, if the above don't work
I'm trying to run eclipse on my Mac OS X. I've been doing some Android programming on Eclipse lately, and today wanted to do some development on Java. However, to my surprise, Eclipse says there's no JRE/JDK installed. I don't know how this is possible, since my android projects have worked very well so far, and even now. I've tried the following items:
Checking java version through the Mac terminal. It says java version "1.8.0_20" is installed. Here's the screenshot.
I've checked the Java version through the Java Control Panel in System Preferences. Again, same thing:
I know that when there's no JRE visible in Eclipse, it can be manually entered through the "add" option under preferences > Java > Installed JREs in Eclipse. But although I can find the Contents folder in this path: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/home/contents, when I attempt to manually add this in Eclipse, the Java folder under users/library just doesn't show up. I have no idea why this is happening. Here are some screenshots, just in case:
As you can see, the Java folder just doesn't show up under Library in the above screenshot.
Lastly, I've also tried to hit "Search" in Eclipse (same place as "Add" in one of the screenshots above), but "Search" doesn't find anything at all.
I've gone through existing answers on SO which deal with similar problems. The only thing which I haven't done seems to be about setting a path variable, but they were all in Windows OS, so not sure if it applies in my situation.
I'd really appreciate any help on this.
Update 1: According to what has been pointed out so far, I tried copy-pasting the suggested path. But the error I get is: The home directory does not exist.
Here's the screenshot:
You are trying to find the JRE in a wrong Library directory as Library directory maybe present in more than one place. Just copy paste the jre path in 'jre home' input as
/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/home/contents/Home/jre/
EDIT: To find where is your java installed on Mac, run the following command:
echo $(/usr/libexec/java_home)
it should return something like this:
/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home
append jre to the end of this path to build JRE home path:
/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre