Eclipse Oxygen JVM Error - java

I'm just getting back to java, and went and downloaded the latest Eclipse Oxygen. Once it's all installed, I try to launch and get the following error dialogue.
So I went and downloaded Java 8 and installed that. Once again I tried to open Eclipse. It still displays the exact same answer. Any idea on how to fix this?

On macOS you must install the full JDK - the JRE install isn't enough.
Get the full JDK from the Oracle site here.
If you install Java 9 you will need to use at least Eclipse Oxygen.1a (4.7.1a) but preferably the current Eclipse, for eariler versions of Eclipse install Java 8.

Related

How do I uninstall Netbeans 8.2 ide previously installed with jar file?

I followed the answer given here:
https://stackoverflow.com/a/27647491/5904193 to install Netbeans ide 8.2 with jdk 10.0.2 on windows 10 64 bits OS.
After installation, I found that the jdk was generally incompatible with the ide. So I finally got the latest Netbeans version 9.1 from Apache.
This works with my jdk so I decided to clean things up by uninstalling Netbeans 8.2. Attempting to uninstall directly with the uninstall executable fails with the same error as the installer. That is it requests jdk 8 or higher (I have only jdk 10 installed).
I then tried using the jar file trick by extracting the Uninstaller and executing the jar file with Java. Things happened (lots of output in the console screen and uninstall actually completed) but all the program files remain, I can still see the program in Programs and Features and I could even start the app using the desktop shortcut that was not even touched by the uninstall.
I suspect I could uninstall it normally if I installed jdk 8. But, I mean, there has to be a way to uninstall it without jdk 8 after being able to install without that jdk. Thanks.
"But, I mean, there has to be a way to uninstall it without jdk 8
after being able to install without that jdk."
There is no reason that should be true since you did not did not meet the "required software" standard for NetBeans 8.2, which states "Java SE 8 is required to install and run NetBeans IDE 8.2", nor did you follow the standard installation process.
So you "installed" NetBeans 8.2, but not successfully. Since it wasn't installed properly it's not surprising that the uninstall process is failing.
After installation, I found that the jdk was generally incompatible
with the ide.
That's because:
You didn't install NetBeans properly.
Regardless of that, NetBeans 8.2 does not support the use of any JDK > 8.
I suspect I could uninstall it normally if I installed jdk 8.
Perhaps, and unfortunately I think that is what you need to try. However, since you chose not to follow the normal NetBeans 8.2 installation process don't be too surprised if you still have problems.

Google plugin for Eclipse Luna not showing the icon

I have been around 4 hours trying to install the Google Plugin for Eclipse Luna. I followed every step of the installing guide but when i finished the Google Logo for starting a new project didnt appear as it should:
As you can see even though i have the plugins installed i cant see the icon or start a new web project.
My operating sysyem is OSx Yosemite. I tried updating to Java 8 and JDK 8 (and 7) and deleting all the files as this question recommends. Also deleted and "reinstalled" eclipse and the plugin a lot of times but didn't workout.
Anybody with the same problem? Thanks a lot.
I had the exact same problem on my new MacBook. I had to install JDK 7. I downloaded and installed the Mac OS X x64 version of 7u75 from here:
JDK 7 Downloads
After it installs make sure it's the system default by executing the following from the Terminal:
/usr/libexec/java_home
If it looks good to go then just restart eclipse and you should be good to go.
I suggest you even to delete your Eclipse_Luna:
Re-install your Eclipse and then install the GAE-plugin again.
Remember to re-start your Eclipse after you've successfully install the GAE-plugin for Eclipse_Luna.
I faced the same issue.
I installed JDK 1.7 and used 1.7 jre for eclipse as mapped and downloaded the eclpise plugin AND restarted and it worked fine.

JDK 1.7 not shown in Program Files folder

I have started developing an Android application in Android Studio. After starting Android Studio it gives me an error: "compileSdkVersion android-21 requires compiling with JDK 7". So I ran java -version at the Commmand Prompt and it shows I have 1.7. But in Program Files there is a folder for JDK 1.6 but not for 1.7. JRE of 1.7 is there, but not JDK 1.7.
Any suggestions will be appreciated. Thanks in advance.
Try "javac -version" instead of "java -version" to confirm JDK installed version
It seems that you have a 1.7 Java Runtime but only 1.6 SDK installed.
Just get the correct SDK installer from java.com.
Uninstall all jres and jdks, reinstall the jdk you need (jre is included). Be carefull with the bit-versions, always install the correct one
new:
Idea is you can simply set you projects jdk any version you want, different from os installed one, just make sure you download it and referenece from the android studio
Same story different interfaces, donno if downvotes were necesary
https://askubuntu.com/questions/467870/how-to-set-the-jdk-for-android-studio
androidstudio set java version 1.7
old(sry tought is eclipse):
How to change JDK version for an Eclipse project
And make sure you have jdk available for eclipse to set it incase you dotn have it. Else just change type

How to add jdk8 in Eclipse Indigo

I just read How to have Eclipse use JDK8 to compile a project?
What i added jdk8 to eclipse as,
From the answers of How to have Eclipse use JDK8 to compile a project?
I tried to Update the JDT/Core, JDT/UI bundles from http://dist.springsource.com/snapshot/TOOLS/java8/e43
But it shows error as,
"Eclipse Java Development Tools Patch for Java 8 Support (BETA)" is not applicable to the current configuration and will not be installed.
"Eclipse Plug-in Development Environment Patch for Java 8 Support (BETA)" is not applicable to the current configuration and will not be installed.
How Can i fix it ?
I can say that Java 1.8 does in fact work with Eclipse Luna ( the beta version released around March 17, 2014) or later. I tried it and it was good.
Also, I noticed that in the Eclipse Marketplace, there are now plugins to install functionality into Kepler to support JDK1.8. I haven't tried the plugin myself though.
This is a old topic but I just wanted to point out that I have searched enough to find that Indigo version can't be updated to S.E 1.8 here the link which is given on eclipse website to update the Execution Environment but if you try it will throw error for Indigo.
Here is the link where the Information about execution environment is given.
This shows the step by step to update Execution environment.
I have tried to update Execution environment and I got the same error.

GWT installation issue with eclipse...?

I am using os x 10.9.1
I need to install google plugin for eclipse for using google web toolkit. I have eclipse juno, so I just follow link for install it. But it not work for me, not go ahead because below issue
So, I move to install latest version of eclipse kepler and follow link for install plugins. After all installation finished with some different issues and restart eclipse kepler it shows me java version error.
And same thing show me when I check through terminal
but when I check in my java preference, it show me latest version installed on my mac.
*********************Edited from here*********************
After downloading java 7 and installing it(as per one of comment in link),again check in terminal give me new version
I restart my eclipse and starting error is not there. Just go ahead and create GWT project, and now
Stuck again...!?!
Open eclipse.ini form your eclipse folder and set the following parameter as shown in image
-vm
//your java7-dir/bin/javaw.exe (use mac javaw in your case)

Categories