Adnan Mushtaq Adnan Mushtaq - 1 month ago 4
Java Question

how to resolve eclipse error Source not found

I am getting "source not found" error in debug and run mode of eclipse (java). I have tried each and every solution but its not working.

Picture 1:

enter image description here

Picture 2:

enter image description here

waiting for any kind of solution. thanks in advance :)

Answer

It's a native method, there is no source available.

For Java code you can download sources usually, but for native code you can't really find it (well, you could use the openjdk source, but it's not Java code anymore, it's C or C++).