You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to fix the problem by setting the environment variable GRADLE_HOME to ~/.gradle instead of the default /usr/share/java/gradle and cleaning the project directory.
Environment
Operating System: Arch Linux 5.0.4
JDK version: openjdk version "11.0.3" 2019-04-16
Visual Studio Code version: 1.32.3
Java extension version: Java Extension Pack 0.6.0
Steps To Reproduce
Launch a Java project using Gradle 5.1
Current Result
The Java Language Server aborts.
Expected Result
Additional Informations
The text was updated successfully, but these errors were encountered:
thomas-huegel
changed the title
problem with GRADLE_HOME environment variable
Problem on Linux with GRADLE_HOME environment variable
Mar 27, 2019
@thomas-hugel I could leave the error message there and restart vscode later as the download will still continue in the background. You can check whether the wrapper lock file still grow in size in $GRADLE_HOME.
When I launch VS Code on a Java project built using Gradle, I get the following errors:
I managed to fix the problem by setting the environment variable
GRADLE_HOME
to~/.gradle
instead of the default/usr/share/java/gradle
and cleaning the project directory.Environment
Steps To Reproduce
Current Result
The Java Language Server aborts.
Expected Result
Additional Informations
The text was updated successfully, but these errors were encountered: