vscode-java VS Maven Wrapper

Compare vscode-java vs Maven Wrapper and see what are their differences.

vscode-java

Java Language Support for Visual Studio Code (by redhat-developer)

Maven Wrapper

The easiest way to integrate Maven into your project! (by takari)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
vscode-java Maven Wrapper
35 5
2,038 1,568
1.3% -
9.0 2.1
4 days ago over 2 years ago
TypeScript Java
Eclipse Public License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vscode-java

Posts with mentions or reviews of vscode-java. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-12.
  • language support for java client couldn't create connection to server
    1 project | /r/vscode | 24 Apr 2023
    Can this issue on github help?
  • Java compiler problem with enums using windows1252 encoding
    1 project | /r/vscode | 13 Apr 2023
    More details about the problem over this issue on github: https://github.com/redhat-developer/vscode-java/issues/3060
  • How to automatically format Java code similar to Rust (rustfmt)?
    2 projects | /r/rust | 12 Apr 2023
    I've tried Google Java Format, following the settings here,
  • Problem with genSources
    1 project | /r/fabricmc | 18 Mar 2023
    It seems I actually got it to work in vscode. I found this thread, in which one person told to add: "java.eclipse.downloadSources": true, "java.maven.downloadSources": true, to the settings.json and it seems to work just fine now. Still thanks for your responses :)
  • Java Intellisense keeps breaking, every few minutes. Need to Clean Java Language Server Workspace to restore. MacOS, 1.75.0
    1 project | /r/vscode | 16 Feb 2023
    Can the retirement version solve the problem? If you are convinced that it is a version of BUG, you can submit a report on GitHub to get official personnel responses.
  • Plz Microsoft could you finally give YOUR OWN PLATFORM the care it deserves?
    2 projects | /r/ProgrammerHumor | 1 Jan 2023
    Good news :) https://github.com/redhat-developer/vscode-java/wiki/Formatter-settings
  • Child Folders that contains a java file in them is requiring a package statement how do I disable that feature
    1 project | /r/vscode | 30 Oct 2022
    There is currently no configuration to turn off. If you really need it, you can submit a feature request on GitHub.
  • Help setting up jdtls for java
    6 projects | /r/neovim | 2 Oct 2022
    -- ๐Ÿ’€ "/usr/lib/jvm/java-11-openjdk/", -- or '/path/to/java11_or_newer/bin/java' -- depends on if `java` is in your $PATH env variable and if it points to the right version. "-Declipse.application=org.eclipse.jdt.ls.core.id1", "-Dosgi.bundles.defaultStartLevel=4", "-Declipse.product=org.eclipse.jdt.ls.core.product", "-Dlog.protocol=true", "-Dlog.level=ALL", "-javaagent:" .. home .. "/.local/share/nvim/mason/packages/jdtls/lombok.jar", "-Xms1g", "--add-modules=ALL-SYSTEM", "--add-opens", "java.base/java.util=ALL-UNNAMED", "--add-opens", "java.base/java.lang=ALL-UNNAMED", -- ๐Ÿ’€ "-jar", vim.fn.glob( home .. "/.local/share/nvim/mason/packages/jdtls/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar" ), -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -- Must point to the Change this to -- eclipse.jdt.ls installation the actual version -- ๐Ÿ’€ "-configuration", home .. "/.local/share/nvim/mason/packages/jdtls/config_" .. CONFIG, -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ -- Must point to the Change to one of `linux`, `win` or `mac` -- eclipse.jdt.ls installation Depending on your system. -- ๐Ÿ’€ -- See `data directory configuration` section in the README "-data", workspace_dir, }, on_attach = { require("jdtls").setup_dap({ hotcodereplace = "auto" }), require("jdtls.dap").setup_dap_main_class_configs(), }, capabilities = capabilities, -- ๐Ÿ’€ -- This is the default if not provided, you can remove it. Or adjust as needed. -- One dedicated LSP server & client will be started per unique root_dir root_dir = root_dir, -- Here you can configure eclipse.jdt.ls specific settings -- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request -- or https://github.com/redhat-developer/vscode-java#supported-vs-code-settings -- for a list of options settings = { java = { eclipse = { downloadSources = true, }, configuration = { updateBuildConfiguration = "interactive", }, maven = { downloadSources = true, }, implementationsCodeLens = { enabled = true, }, referencesCodeLens = { enabled = true, }, references = { includeDecompiledSources = true, }, inlayHints = { parameterNames = { enabled = "all", -- literals, all, none }, }, format = { enabled = false, }, }, signatureHelp = { enabled = true }, completion = { favoriteStaticMembers = { "org.hamcrest.MatcherAssert.assertThat", "org.hamcrest.Matchers.*", "org.hamcrest.CoreMatchers.*", "org.junit.jupiter.api.Assertions.*", "java.util.Objects.requireNonNull", "java.util.Objects.requireNonNullElse", "org.mockito.Mockito.*", }, }, contentProvider = { preferred = "fernflower" }, extendedClientCapabilities = extendedClientCapabilities, sources = { organizeImports = { starThreshold = 9999, staticStarThreshold = 9999, }, }, codeGeneration = { toString = { template = "${object.className}{${member.name()}=${member.value}, ${otherMembers}}", }, useBlocks = true, }, }, flags = { allow_incremental_sync = true, }, -- Language server `initializationOptions` -- You need to extend the `bundles` with paths to jar files -- if you want to use additional eclipse.jdt.ls plugins. -- -- See https://github.com/mfussenegger/nvim-jdtls#java-debug-installation -- -- If you don't plan on using the debugger or other eclipse.jdt.ls plugins you can remove this
  • No Syntax Highlighting for Java
    1 project | /r/vscode | 9 Sep 2022
    This is the officially provided extension. if you follow this documentation, still no syntax highlighting, may really be a bug, suggest you file an issue on GitHub.
  • Java on Visual Studio Code Update โ€“ June 2022
    1 project | /r/java | 30 Jun 2022
    Try this fix but don't forget VS Code Lombok extension project has not been maintained for long timeใ€‚

Maven Wrapper

Posts with mentions or reviews of Maven Wrapper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-03.
  • Lightweight build alternatives to Gradle / Maven
    5 projects | /r/Kotlin | 3 Dec 2021
    Maven also has the maven wrapper: https://github.com/takari/maven-wrapper which accomplishes the same thing.
  • Native-image with Micronaut
    2 projects | dev.to | 21 Nov 2021
    When creating a new Maven project, Micronaut also configures the Maven wrapper.
  • Java Is Criminally Underhyped
    8 projects | news.ycombinator.com | 15 Apr 2021
    IDE's can be fiddly, and anyway I don't think it's good to depend on an IDE for building.

    The project could have been set up instead with the "Maven wrapper"(1) which provides "mvn.cmd/sh" scripts at the top level of the project to fetch and run the proper Maven. So after cloning the project, all you have to do is set a proper JAVA_HOME and then do "./mvn clean package". The IDE's will then set themselves up properly if you import the project as a Maven project, and will sync with changes to the Maven pom.xml whenever it changes (Intellij does at least). That's really hard to beat.

    (1) https://github.com/takari/maven-wrapper (Being integrated into Maven itself soon).

  • Apache Maven Version 3.8.1 Released
    1 project | /r/java | 5 Apr 2021
    I got it from here: https://github.com/takari/maven-wrapper
  • The Problem with Gradle
    6 projects | news.ycombinator.com | 16 Jan 2021
    > Now โ€œobviouslyโ€ the answer is that we should have pegged the version of gradle required to use the script

    My first step with either gradle or maven is to install the wrapper generator, which has this effect. After adding the wrapper you invoke it via ./gradlew or ./mvnw in the project doirectory.

    Itโ€™s not perfect - especially in terms of IDE support - but itโ€™s crucial to at least keeping your CLI builds consistent across team members and in automation.

    gradle wrapper: https://docs.gradle.org/current/userguide/gradle_wrapper.htm...

    maven wrapper: https://github.com/takari/maven-wrapper

What are some alternatives?

When comparing vscode-java and Maven Wrapper you can also consider the following projects:

lsp-java - lsp-mode :heart: java

sitemapgen4j - SitemapGen4j is a library to generate XML sitemaps in Java.

eclipse.jdt.ls - Java language server

Codename One - Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.

bash-language-server - A language server for Bash

jabba - (cross-platform) Java Version Manager

vscode-haskell - VS Code extension for Haskell, powered by haskell-language-server

Multi-OS Engine - Multi-OS Engine: Create iOS Apps in Java (or Kotlin ... etc.)

vscode-yaml - YAML support for VS Code with built-in kubernetes syntax support

Polyglot for Maven - Support alternative markup for Apache Maven POM files

styleguide - Style guides for Google-originated open-source projects

javaslang-circuitbreaker - Resilience4j is a fault tolerance library designed for Java8 and functional programming