A short question: My eclipse project is set to use the “sun-java-6-jdk”-supplied JDK library, but I cannot Ctrl-click to view source (no source attached), as I can do out-of-the-box on Windows. How do I make this work?
A short question: My eclipse project is set to use the sun-java-6-jdk-supplied JDK library,
Share
You need to install the openjdk-6-source package and to attach the sources (located in
/usr/lib/jvm/java-6-openjdk/src.zip) to the JDK under Eclipse.Personally, I prefer to use sun-java6-jdk – the source package being sun-java6-source – that you can get from the Canonical Partner Repository:
Then, attach the sources located in
/usr/lib/jvm/java-6-sun/src.zip