-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the executable for Linux? #5
Comments
Great question! Given a JAR you'll want to provide a script to glue the two together. For example on my OSX I have the google-java-format installed in
Of course that first line won't work for you directly but,
and then Linux will treat it like any other executable. Be aware also that it's in the code of ilkka/vscode-google-java-format that if anything appears on stderr then the file won't be reformatted. This bit me with an Illegal Reflective Access notification, which is why I added all of the |
I suggest you use GraalVM to create a native binary. It is easier to use and has much less startup overhead. |
Hi
What do I have to configure for the
google-java-format.executable-path
for linux?There is no apt or snap package of the google-java-format. Only the JAR file.
Regards,
Florian
The text was updated successfully, but these errors were encountered: