Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Update to a Java 9+ Gradle wrapper #20

Open
pdigre opened this issue Oct 28, 2020 · 3 comments
Open

Update to a Java 9+ Gradle wrapper #20

pdigre opened this issue Oct 28, 2020 · 3 comments

Comments

@pdigre
Copy link

pdigre commented Oct 28, 2020

World has moved away from Java 8 now, and Gradle 3.3 is also relatively old, version 6.0 has been around for a year !

@pdigre
Copy link
Author

pdigre commented Oct 28, 2020

The JDK 8 from Oracle site is missing lib/tools.jar. The JDK8 from Red Hat on the other hand was complete. https://developers.redhat.com/products/openjdk/

@pdigre
Copy link
Author

pdigre commented Oct 28, 2020

Another workaround:
run as admin - npm install --global windows-build-tools

=================================
And now it wants to find a Visual Studio C++ version ???
You need to install the latest version of Visual Studio

gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows

@pdigre
Copy link
Author

pdigre commented Oct 28, 2020

After the "gyp" fix I managed to compile, but there's something left out of the instructions.
It failed on src-gen directory whihc is missing.
Cannot find module 'C:\eclipse\git\theia-xtext\app\src-gen\backend\main.js'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant