1
votes

So I am trying to get PyDev working on my eclipse. I am running eclipse version 4.5.2. I am trying to install PyDev version 5.1.2.

I have looked all over multiple forums just like this and I have tried doing everything that people have been saying to try. The problem I am encountering, is that when I install PyDev, it seems to work, but then I can't find it anywhere in preferences, meaning I cant use PyDev. It still says it is installed, under the installed category of the eclipse market place.

I think the problem has something to do with what version of java running. In my java installed JREs it says I have both java 8 jdk and jre7. The default is set to jdk8. I understand that the version of java I need to run this version of pydev is java 8, so I should be fine with that. But then I have seen others post to go to help>about>installation details> configuration. And then when I do that it says:

-vm C:/Program Files/Java/jre7/bin\server\jvm.dll

which I assume to mean that it is using jre7.... which I dont understand how. I feel like this is the main problem with what I am experiencing, but I dont know for sure, and if it is the problem, I dont know how to fix it. Thank you in advance for the help.

When I edited the eclipse.ini file, this is what it looks like:

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

-startup

plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

-vm

C:\Program Files\Java\jre8\lib\ext

-vmargs

-Xms256m

-Xmx512m

-XX:MaxPermSize=256m

-XX:PermSize=64m

1

1 Answers

0
votes

The Installed JREs entries show you the JREs that Eclipse will use to run programs. It does not tell you the JRE that is used to run Eclipse itself.

Eclipse itself uses the default Java on your system unless you specify otherwise in the eclipse.ini file in your Eclipse install directory.

In the eclipse.ini specify:

-vm
C:/Program Files/Java/jre8/bin

(or whatever the path to your Java 8 is).

This entry must be on two lines are shown and it must be before an -vmargs line in the file.