, , , ,

Installing Eclipse Luna on Windows 10

Hey guys, I have recently been playing around with the insider preview of Windows 10. Love it so far, and since everyone will likely upgrade form 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.

Click here to download an easy-to-follow PDF version of this post

Download and Install Eclipse

First, go to www.eclipse.org and click Download.

Screenshot of Eclipse Website

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.Eclipse Download Options Screenshot

Choose a mirror from the screen presented to download Eclipse.

Screenshot of Eclipse Luna Download Link

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.

Creating location for applications

Now give the folder the name Applications.

Screenshot of naming the applications directory

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…

Screenshot of the downloaded eclipse files

In the Extract Compressed (Zipped) Folders screen, select Browse to choose the location to extract the files to.

Extra files location screenshot

Navigate to the Applications folder we created earlier.

Navigate to the newly created Applications folder screenshot

Select Extract to begin extracting the files to the directory.

Extra files location screenshot

If done correctly, the files will begin extracting.

Windows 10 Extracting screenshot

Navigate to the location where you extracted Eclipse too. Double click on the Eclipse folder.

Eclipse extracted folder screenshot

Here you will see all of Eclipse’s files. Right Click on the Eclipse executable and select Send toDesktop (create shortcut) to create a shortcut on your home screen.

Eclipse create shortcut windows 10 screenshot

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.

Eclipse Java not installed warning caption

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).

JDK Website screenshot

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.

Java JDK download options screenshot

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).

Java install downloaded screenshot

The Java SE Development Kit 8 Update 45 (64-bit) – Setup window should appear. Choose Next > on the first screen.

JDK installer screenshot

In the Custom Setup page, review the settings and select Next >.

Java installation custom setup screen screenshot

I recommend leaving the Destination Folder default, and clicking Next >.

2015-05-13 21_54_19-Start

Now, the Progress bar will move until it’s complete.

Installation in progress screenshot

After the installation completes successfully, you will see the Complete screen. Click on Close to close the screen.

Oracle Java Installation Complete Screenshot

Load Eclipse

Now go back to your Eclipse installation and double click on Eclipse. This time, it should load.

Eclipse Loading Screenshot

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.

Eclipse select workspace screenshot

When eclipse first loads, it will look like this.

Eclipse First Load screenshot

There you have it, Eclipse is now installed and ready to rock and roll!

If you want to download a PDF version of this guide for your records (which I always suggest as best practice), click on the link below and we’ll send a copy right to your inbox.

Cheers,
Mark

Click here to download an easy-to-follow PDF version of this post

53 Responses

  1. 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?

    1. Hi Mahtab,

      What version of Eclipse are you using and what error message(s) are you getting?

  2. 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.

    1. Hi Sumit,

      What error do you get? Does it just not load when you click the icon?

      Cheers,
      Mark

  3. 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.

    1. 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

    2. 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..

  4. 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?

    1. Hi Umer, Sorry to hear of your issue. Did you try to uninstall and re-install Eclipse on Windows 10?

  5. 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!

  6. 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

    1. 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.

    2. I agrre with Gerald, a clean install worked in my case. Before I had the same error

  7. 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

  8. 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??

  9. 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.

    1. It seems like you downloaded an incorrect version. Did you get it working in the end?

  10. Thanks a lot mark . i have successfully installed the Eclipse in my windows 10 PC with help of your website and guidance.

  11. Thanks for the tutorial. I just now installed Eclipse Mars and Java JDK on my Windows 10 laptop and everything works!

  12. Very useful guide this, thanks a million! I tried a number of other help resources before this one, none of which worked. Great work..

    1. Hi Milo, thanks for the comment! Glad to be of service 🙂

  13. 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.

    1. Have you solved yet? I’ve come across the same problem, and I’ve no idea.

    1. Could you email me a screenshot of the error and exactly what step you are taking? (mark at londonappdeveloper.com).

  14. 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..

  15. Won’t finish installation. Keeps saying the file name and probably because it can’t be processed

    1. Hi Kamohelo, can you share a screenshot of the error? (mark at londonappdeveloper.com).

  16. 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?

  17. 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

  18. 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 🙁

  19. 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

  20. 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

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: