Search code examples
javaeclipseubuntu-14.04

ubuntu openjdk-7 the link "src.zip” is broken


enter image description here

I have installed OpenJDK 7 and it runs well on my Ubuntu 14.04 machine. I want to add Java sources to my Eclipse. When I go to /usr/lib/jvm/java-7-openjdk-amd64 there is a symlink called src.zip but it's broken. How do I fix this? Do I have to manually download sources and add them?


Solution

  • I downloaded sources from http://jdk7src.sourceforge.net/ and added them to eclilpse. It works fine now.