Hi,
I am freshly using your extension with vs code for a new java project. The project itself had been generated via maven command line tool. The extension itself works, but i cannot get rid of this (and similar) warnings:
[Java] Access restriction: The type 'Endpoint' is not API (restriction on required library '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar')
I tried to set java.home to a custom jdk but it either didn't worked or the java.home setting maybe got ignored. At least the warnings persits and point always to the same jdk. It never used the path of my custom jdk.
Any help would be great
Thanks in advance
Environment
- Operating System: Linux / Ubuntu 16.04
- JDK version: OpenJDK 1.8
- Visual Studio Code version: 1.12.2
- Java extension version:
Steps To Reproduce
- Create barebone maven java project
- Open project in vs code with your extension enabled
- Import any usual class like javax.jws.WebMethod
Hi,
I am freshly using your extension with vs code for a new java project. The project itself had been generated via maven command line tool. The extension itself works, but i cannot get rid of this (and similar) warnings:
[Java] Access restriction: The type 'Endpoint' is not API (restriction on required library '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar')
I tried to set java.home to a custom jdk but it either didn't worked or the java.home setting maybe got ignored. At least the warnings persits and point always to the same jdk. It never used the path of my custom jdk.
Any help would be great
Thanks in advance
Environment
Steps To Reproduce