0

I'm new to java and facing this problem while debugging code enter image description here

enter image description here

I found rt.jar when used external file but didn't work , Is that mean the file is corrupt or what ?

user1
  • 501
  • 2
  • 9
  • 24

1 Answers1

0

You need to attach src.zip as the source (probably in /usr/lib/jvm/java-6-openjdk-amd64). If you don't have src.zip, make sure the openjdk-6-source package is installed.

schweerelos
  • 2,189
  • 2
  • 17
  • 25
  • thanks for helping , i found it but with size 32 bit and when i tried to attach it , i got that src.zip doesn't exist but i've another question is that error will affect on the code ? – user1 Feb 22 '16 at 04:41
  • As I said, try installing the openjdk6-source package using the package manager. Then try attaching it as the source for rt.jar. – schweerelos Feb 22 '16 at 04:41
  • attach src.zip or just rt.jar ? – user1 Feb 22 '16 at 04:42
  • what about the other part of the question , can you help ? " is that error will affect on the code ? " – user1 Feb 22 '16 at 04:48
  • 1
    I don't understand that part of the question, could you re-phrase it? If you mean, will not attaching the source affect how your code is run, the answer is no -- but it will prevent you from using the debugger. – schweerelos Feb 22 '16 at 04:49