These are questions that really only a lawyer is qualified to answer definitively. However, often companies have posted guidelines on how you may use their trademarks. For Java, it seems fairly permissive: https://www.oracle.com/legal/trademarks.html You'd have to check on your IDE. 99% sure it's OK to do what you want, but a few companies do prohibit creating training courses about their products without a license, since they want to make money off of training. If your IDE is open source that's unlikely to be an issue.
... View more