0

I have Eclipse Galileo version with Java 1.8 machine and it's not running.

I also have another newer version which is running well, but I need to use this exact version.

What can I do to fix it?

EDIT 1: The Java version is 1.7 and not 1.8

Attached the message that I got:

**EDIT 2: The main reason why I need this exact Eclipse version, it's because that I don't JBoss server in this list:

enter image description here**

roeygol
  • 4,908
  • 9
  • 51
  • 88
  • As I said, I need this exact version. – roeygol Aug 16 '15 at 21:50
  • 3
    versions prior to "Luna" werent designed for Java 8 – Reimeus Aug 16 '15 at 21:51
  • 3
    Why sdo you need this version in particular ? – Dici Aug 16 '15 at 21:52
  • I have some friend which have the same version on machine with Java 1.8 and it's working fine. What i'm doing wrong? What is this message saying? – roeygol Aug 16 '15 at 21:52
  • @Dici I need it because it comes with JBoss application server adapter – roeygol Aug 16 '15 at 21:53
  • Really? Galileo and Java 8? I thought Keplar needed a plugin to run it, and older simply couldn't: http://stackoverflow.com/questions/25391207/how-do-i-add-execution-environment-1-8-to-eclipse-luna – River Aug 16 '15 at 21:53
  • 1
    Java 8 support started from plugin for Kepler, and was added by default from Luna. You would need to search for some non-standard plugin for Galileo, but questions asking for tools or other resources resources are off-topic on Stack Overflow. – Pshemo Aug 16 '15 at 21:54
  • 1
    Guys. OP's question is not about using Java 8 in Eclipse, but to run Eclipse using Java 8. – Luiggi Mendoza Aug 16 '15 at 21:59
  • Sorry, the Java version is 1.7 and not 1.8 – roeygol Aug 16 '15 at 22:32
  • 1
    If you want to add JBoss to list of server adapters in your new Eclipse you can download it by clicking "Download additional server adapters" on right-top of server selection window. What you will need to download is `JBoss AS`. – Pshemo Aug 16 '15 at 22:50

1 Answers1

3

I can see you're using Java 7 to run your eclipse. Noted by this line in your configuration:

-vm C:\Program Files\Java\jdk1.7.0_71\bin\..\jre\bin\server\jvm.dll
                          ^ this points to JDK 1.7

Change it to the place you have installed Java 8. Also, use absolute paths here, avoid using things like ...

Luiggi Mendoza
  • 85,076
  • 16
  • 154
  • 332
  • `+I` for clear thinking. We all assumed that OP wants to be able to use features from Java 8, while he may simply want to run some old code on Java 8 via Eclipse and his real problem may be in fact incorrect path. – Pshemo Aug 16 '15 at 22:00
  • I fixed my machine to have java 1.8 with also a fix for the Environment Variables, then I tried to start Eclipse and it didn't went well, this time no messages were shown, actually, nothing was happened after I clicked on eclipse.exe – roeygol Aug 16 '15 at 22:49
  • 1
    I read your comment from some minutes ago, and I don't have a magic cristal ball to see what's happening in your computer. There must be a log message or something. Try killing the process first (java, eclipse, whatever), then start Eclipse again. And for the new question regarding JBoss, you just need to install a plugin in your Eclipse to support JBoss. If you have any issue related to adding a JBoss (or whatever) server into Eclipse, put it in a new question. – Luiggi Mendoza Aug 16 '15 at 22:51