Java Learn how to build and run Java applications on Codesphere. December 14, 2023 1 Min Read Codesphere From everyone in the Codesphere Team:) Table of Contents Java is a programming language and computing platform used for creating and running applications. Using Java in CodesphereJava does not come pre-installed in Codesphere. You can however install & use Java with one of the following options.Option 1: Use our java spring boot templateOption 2: Add a maven wrapper (run mvn -N wrapper:wrapper locally) to your repo and set the following steps in the CI pipelineCI pipeline setup Step Command Prepare - Install java nix-env -iA nixpkgs.jdk19 [set desired jdk version] Prepare - mvn generate-sources JAVA_HOME="$(readlink -e $(type -p javac) | sed -e 's/ \/ bin \/ javac//g')" ./mvnw install generate-sources -DskipTests Run - mvn spring-boot:run JAVA_HOME="$(readlink -e $(type -p javac) | sed -e 's/\/bin\/javac//g')" ./mvnw spring-boot:run Other Java distribution i.e. Java Quarkus can be installed using the provided CLI installation for Linux: https://quarkus.io/get-started/In case you have any issues Please fill out the contact form to set up a consultation with one of our solution engineers or head over to our Discord community to get help.
6/26/2024 Getting Started Deploying Landscapes on Codesphere Learn how to deploy and run multiple services that can independently scale vertically and horizontally within a single workspace. Suitable for hosting entire application landscapes.
5/28/2024 Integrations Connect to secured networks via VPN Codesphere provides a convenient way to work with private networks from our workspaces. Learn how it works in this doc article.
2/12/2024 Getting Started Monitoring & Alerting Learn how to access Codesphere's built in resource monitoring and check the uptime of your applications.
1/31/2024 Getting Started Path-Based Routing Learn how to connect multiple independent applications to a single domain by associating different paths with distinct workspaces