Support for Java
Project IDX should support Java due to its versatility and widespread use in developing various applications across different domains, from web development to mobile applications.
We have released a preview version of our Java support for you all to try out! :-)
https://community.idx.dev/t/check-out-our-new-backend-focused-templates/746
Feel free to reply in the forums itself with your feedback.
-
chris savian commented
Java devs needs you !!
-
William Bailey commented
It would be nice if I could make my java programs WORK! WHY CAN"T I RUN ANY PROGRAMS WITH JFRAMES!!???!?!??!?!?
-
Ahmad Naufal commented
Thank you very much, soon i will test, an adjusting for my personal project
-
Matias Nuñez commented
Please, it would make me very happy if you implemented Spring Boot with Java.
-
John Dave Aquino (Davee) commented
Please make this happen.
-
Christian Blankenback commented
Java Spring boot works with Maven. At least I got it to run you just need to install the extension pack Springboot tools(vmware.vscode-spring-boot) and Extension Pack for Java(vscjava.vscode-java-pack). Also update dev.nix file with: packages = [
pkgs.openjdk17
];
# Sets environment variables in the workspace
env = {
JAVA_HOME = "${pkgs.openjdk17}/lib/openjdk";
};
and rebuild the project.Also make sure pom.xml has <java.version>17</java.version>
I do think it would be awesome to have a template though!
-
Gerard Gilabert Canal commented
We need it and with support for Java 21. Right now maven only supports until 19 in the current version
-
William Bailey commented
Could we add a template for java programs? We could also make one or two specifically for minecraft forge and fabric mods, and that would increase popularity a lot.
-
Jungwoon Lee commented
+1
-
Sathwik Pamu commented
Keep on adding all the possible templates
-
Sathwik Pamu commented
Incase if you aren't able to add templates try making suitable extensions as we can make workspaces
-
Shamsuddeen K S commented
Please add java and spring boot support with templates and inbuilt spring project initializer
-
Mike - that is really cool! Glad you were able to make this work with just Nix changes.
Adding Java templates is in our list of things to support, so we'll look into doing that in the future.
-
Mike Nimer commented
I've got it working this way, create a blank project and add this to your dev.nix file
```
packages = [
pkgs.jdk21
pkgs.maven
pkgs.google-cloud-sdk
# pkgs.terraform
];
# search for the extension on https://open-vsx.org/ and use "publisher.id"
idx.extensions = [
"vscjava.vscode-java-pack"
];
``` -
Juan Francisco Mosquera commented
Add support to Java spring boot