You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/11/03 13:47:25 UTC
[GitHub] [netbeans] JaroslavTulach commented on pull request #2517: [NETBEANS-4981] Install nbjavac when needed
JaroslavTulach commented on pull request #2517:
URL: https://github.com/apache/netbeans/pull/2517#issuecomment-721020148
To verify this change does what it should. Build the extension:
```
netbeans$ ant build
netbeans$ java/java.lsp.server/
netbeans/java/java.lsp.server$ ant build-vscode-ext
netbeans/java/java.lsp.server$ cd vscode
```
Clean the locally installed nbjavac if any and launch on JDK8
```
netbeans/java/java.lsp.server/vscode$ rm -rf $HOME/.config/Code/User/globalStorage/jlahoda.apache-netbeans-java/userdir/
netbeans/java/java.lsp.server/vscode$ JAVA_HOME=/jdk1.8.0/ code --extensionDevelopmentPath=`pwd`
```
Make sure VSCode doesn't have any other `nbjavac` providing extensions. Make sure VSCode really runs on JDK8 - check `settings.xml` for `java.home`, `netbeans.jdkhome` properties as defined by #2480
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists