Don't know if I have a good answer. Oracle JDK is supported for Ubuntu, but not for Debian. And your OS is based on both. And Oracle JDK isn't supported/certified for either Debian or Mint.
I suppose you could try OpenJDK - but we definitely don't support that. It could give you better results with the debugger though.
Well, I now tried on Ubuntu (16.04 LTS) and got the same behavior with openjdk-8 as well as jdk8u121 and jdk8u111. Still have the following problems:
- every time, I start a debugging session, I have to provide the local Java source file again
- local variables cannot be inspected (not even by putting a watch), only static class variables can. Also, break points within the Java code can be set, but get simply ignored. Are these problems with the JDK or bugs in SQL Developer?
So probably, these are actually bugs in SQL Developer and have nothing to do with JDK...
I haven't tested with Oracle Stored Java Procedures. You can file an SR with My Oracle Support. You could also try using JDeveloper if you already have it installed - but it's basically the same code that SQLDev is using for the DB stuff.