I have recently been playing around with the insider preview of Windows 10. Love it so far, and since everyone will likely upgrade from Windows 8 to Windows 10, I thought I’d write some articles using it.
This article explains how to install Eclipse Luna on Windows 10. Eclipse is unique to most IDE’s in that it doesn’t have an installer.
Download and Install Eclipse
First, go to www.eclipse.org and click Download.
Assuming you are using a 64 Bit version of Windows, choose Windows 64 Bit next to Eclipse IDE for Java EE Developers. I like this edition because it seems to come with the most complete set of tools pre build in.
Choose a mirror from the screen presented to download Eclipse.
While it is downloading it would be a good time to create the directory where you want to place your Eclipse installation into. My preference is to create a folder called Applications within my users home folder (in my case, C:\Users\mark\). If you can’t find your user directory you can press Windows Key + R and type %USERPROFILE% and hit enter to load it. Right click the white space and select New > Folder.
Now give the folder the name Applications.
Now, assuming you have a half decent internet connection, Eclipse Luna should be downloaded. (If not, then go make a cup of green tea). Navigate to your downloads and right click the eclipse-jee-luna zip file and select Extra All…
In the Extract Compressed (Zipped) Folders screen, select Browse to choose the location to extract the files to.
Navigate to the Applications folder we created earlier.
Select Extract to begin extracting the files to the directory.
If done correctly, the files will begin extracting.
Navigate to the location where you extracted Eclipse too. Double click on the Eclipse folder.
Here you will see all of Eclipse’s files. Right Click on the Eclipse executable and select Send to > Desktop (create shortcut) to create a shortcut on your home screen.
Double click on Eclipse. If it loads then that’s great, you are all done, however chances are you will get the below error message if you do not have the Java Development Kit (JDK) installed.
Download and Install Java JDK
To install Java, go to the Java download page: http://www.oracle.com/technetwork/java/javase/downloads/index.html. Then select Download above where it says Java Platform (JDK). (The JDK is important).
On the next screen you will be presented with the different download options. First, have a lawyer read the Oracle Binary Code License Agreement for Java SE thoroughly and click Accept License Agreement if you agree to the terms. Then choose the Windows x64 version if you have 64 bit, or Windows x86 if you have a 32 bit version.
Once the installer is downloaded, navigate to your downloads folder and double click on the downloaded file jdk-8u45-windows-x64 (Note: the version might be different depending on when you downloaded it).
The Java SE Development Kit 8 Update 45 (64-bit) – Setup window should appear. Choose Next > on the first screen.
In the Custom Setup page, review the settings and select Next >.
I recommend leaving the Destination Folder default, and clicking Next >.
Now, the Progress bar will move until it’s complete.
After the installation completes successfully, you will see the Complete screen. Click on Close to close the screen.
Load Eclipse
Now go back to your Eclipse installation and double click on Eclipse. This time, it should load.
You will be prompted to Select a workspace. This is the location where the working files for your projects will be stored. By default, it will be C:\Users\<user>\workspace, however I recommend appending eclipse_luna to the end of this, because I like to use the same workspace folder for many different IDE’s and this will prevent them conflicting.
When eclipse first loads, it will look like this.
There you have it, Eclipse is now installed and ready to rock and roll!
hi..
I had eclipse Luna on my laptop and it was working , but since I upgrade my laptop to windows 10 eclipse stops working 🙁
what should I do?
Hi Mahtab,
What version of Eclipse are you using and what error message(s) are you getting?
I am also facing the same problem.I was using eclipse Kepler on Windows 8.1 which was working fine. But after upgrading to Windows 10, eclipse don’t launch.
I use 64 bit of Windows and 64 bit of eclipse. Currrently I have java 8 update 51 on my laptop.
not sure if eclipse Kepler is compatible with Windows 10 or not. Thanks for the help in advance.
Hi Sumit,
What error do you get? Does it just not load when you click the icon?
Cheers,
Mark
Guys, I just downloaded Eclipse Kepler and Luna and both work fine on my Windows 10 machine. If you can let me know what error messages you are getting I can try to help you.
Hi Mark,
Thanks for your comment. The problem was that there was no error occurred. While launching Eclipse, nothing happened.
However, I uninstalled Java completely, deleted Java folder from Program Files and installed the same version again. it worked!
Thanks,
Sumit
I am using windows 10 machine and I am using eclipse Kepler- version(4.2) and I have install Force.com IDE.
I configured my salesforce project and try to connect SVN
Now i am getting error “An internal error occurred during: “Applying updates to newly added Force.com projects”. java.lang.NullPointerException ”
Kindly help to me..
Thanks for the comment. Sounds like it could be a bug in the Force.com IDE. Have you tried asking on the salesforce forums (https://developer.salesforce.com/forums/#!/feedtype=RECENT&criteria=ALLQUESTIONS)?
Yes, please help me :'( I’ve got the same problem. When i click my Eclipse, it won’t start and i don’t know why after upgrading my laptop to Windows 10 2 weeks ago. So now, i am using Android Studio but my teacher doesn’t use the same tool like i do. So what can i do now?
Hi Umer, Sorry to hear of your issue. Did you try to uninstall and re-install Eclipse on Windows 10?
Thank you for the tutorial! It realy works. I had the error 13, have installed only jre from java.com. After downloading jdk from oracle.com eclipse going to work!
Thx!
Excellent, glad you got it working!
I have tried to install eclipse mars in my windows 10 without succes each and everytime I try it gives me the
following error message
JVM terminated.Exit code=2
-c:\programData\Oracle\java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xms1024m
-jar c:\ Program
Files\Eclipse\\plugins/org.eclipse_equinox.launcher_1.3.100.v20150511-1540.jar
-OS win32
-ws win32
-arch x86_64
-showsplash c:\Program
Files\Eclipse\\plugins/org.eclipse.platform_4.5.0.v20150603-200\splash.bmp
-launcher c:\\Program Files\eclipse\eclipse.exe
-name Eclipse1;
-launcher.library C:\Program Files\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602_1417\eclipse_1611.dd
-startup c:\Program
Files\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.100.V20150511-1540.jar
-launcher.append Vmargs
-exitdata 5fc_88
-product org.eclipse.epp.package.java.product
-Vm c:\ProgramData\Oracle\Java\Javapath\javaw.exe
-Vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xms1024m
-jar c:\ Program
Files\Eclipse\\plugins/org.eclipse_equinox.launcher_1.3.100.v20150511-1540.jar
Which to me i interpreted as if I had wrong version of java, I then installed java 7 but it didn’t solve a thing!!
I also tried to delete and re-install java but it didn’t work
NB:The two version of java I tried to install are eclipse-java-luna-SR2-win32-x86_64 and eclipse-java-mars-R-win32-x86_64
I received the same error. How did you delete the JDK? I noticed when I searched for the JDK through the Settings menu…I had two on my system. I uninstalled both and reinstalled a fresh version JDK 1.8 update 60. Everything worked worked after wards. Hope that helps.
I agrre with Gerald, a clean install worked in my case. Before I had the same error
*agree
Did you get it working with Gerald’s suggestion?
Hello Mark!
Thanks for the tuto. However, it looks that I am still struggling. I have migrated to Windows 10. Huge mistake (a lot of stability issues for me). Differences with your tutorial:
– I have downloaded the update 60 instead of 45 of the JDK
– My eclipse is on my D: drive (C: is for “installed” application) with my data, hence my workspace.
– I have installed the Glassfish tools through the Eclipse marketplace
Every time I launch eclipse, it freezes and I cannot do anything on it. Previously, I have also updated Maven (m2e) components. In the .metadata/.logs, I saw that this update was my first culprit. I tried again without updating Maven components but it is worst: I have no pop up error nor error in the log file…
Do you have any idea which could help?
Many thanks
Alain
I am stuck with windows 10 as well trying to develop a Google App Engine app.
I launch Eclipse luna – then when trying to edit a java file the javaw (the Java Platform SE Binary) goes into Not Responding mode.
Stuck! I have downloaded the latest 64bit JRe – what else??
It seems to be stuck in InitRemoteEditJob
HI Mark,
While I am trying to install eclipse juno 32 bit on window 10 32bit, i am getting error ‘This application cant run on your PC. To find the version for your PC, Check with the software Publisher ‘.
Please help me.
It seems like you downloaded an incorrect version. Did you get it working in the end?
Thanks a lot mark . i have successfully installed the Eclipse in my windows 10 PC with help of your website and guidance.
You’re most welcome, thank you for reading!
Thanks for the tutorial. I just now installed Eclipse Mars and Java JDK on my Windows 10 laptop and everything works!
Great to hear, thanks for reading!
Excellent thanks, install works a treat!
Fantastic
Very useful guide this, thanks a million! I tried a number of other help resources before this one, none of which worked. Great work..
Hi Milo, thanks for the comment! Glad to be of service 🙂
Hey there,
I have installed Juno Eclipse in Windows 10 and install the plugin TestNG, but not shown in any place where it should be, however I have performed the same steps to view or run a test with this and not displayed.
Have you solved yet? I’ve come across the same problem, and I’ve no idea.
Hi Fio/Wang, did you figure this out?
i’m getting an exit code=13 what to do?
Could you email me a screenshot of the error and exactly what step you are taking? (mark at londonappdeveloper.com).
very useful, simple, thanks:)
Thanks Shweta, happy to help 🙂
hai mark…im using eclipse mars…this is the error :Cannot run program “wmic.exe”: CreateProcess error=2, The system cannot find the file specified….what i do Mr.Mark..
When do you get the error?
Thanks it worked for me. Great Tutorial!!!!
Thanks Rebeca, happy you found it useful 🙂
Won’t finish installation. Keeps saying the file name and probably because it can’t be processed
Hi Kamohelo, can you share a screenshot of the error? (mark at londonappdeveloper.com).
I’m having the same issue. Any sugestions? Here’s a screenshot: https://imgur.com/7uDWVrc
Switched back to jdk 7. Works now.
This worked great, thanks Mark!
good tutorial mark
it worked for me too!!
on windows 10 machine .
I just have one query :
I have downloaded “eclipse-java-neon-1-RC2-win32-x86_64”
version of eclipse , will it help me to perform sentiment analysis?
hi
i installed eclipse luna on my laptop (windows 10) but when i run a programe it shows main class absent. what should i do plz reply
Hello ,
i hadn’t had any problem by using Eclipse luna in windows 8.1, while with windows 10 i got a yellow triangle in the MEta-Inf field in the created project, and i think that the problem is from the JDK or JRE but despite changing version of those i had the same warning. help me pleaaaaase 🙁
Approach TIM or ask Avinash 2 for help……..
This is a super tutorial. I’m more into Linux than windows. Am really a Windows ignoramus, and this really helped me. I guess I can stay off of Linux for a while :). Mark, if you ever decide to write a book on eclipse and java, I’ll be one of the first ones to buy it.
Thanks again,
Neeta
i have installed eclipse neon on win10 and using jdk1.7 bt its not working… eclipse is note starting it gives error.. couldn’t start jvm… i have tried many solutions …. -vm value also… bt its not working… it gives a error log file… i am using 64bit for all jdk1.7 and eclipse and also win 10
Good job.Thanks Mark..
Thanks for the post. Really helped me in installing eclipse on the first run on my windows 10 system.
I really appreciate your effort.
But I want to add an issue.I have another system having linux mint 18. I have been trying to install eclipse on it for 3 days. but i was unlucky every time.
After final step when i run eclipse application It gives a big error.Please give a solution.
Hi,
I have installed luna on my windows10 machine, after creating a java class the editor is opening/malfuncting so I am able to write/read the code on editor. Updated my java version is also installed on my machine.
Please suggest how to resolve this issue.
hi Mark,
i still can’t run the Eclipse Luna in my windows 10.they show a notification like “an error has occured.see the log file C:\Users\Akeela\workspace\metadat\.log.
This is the same response i’m getting.What can I do?