I change this project constantly improving and adding new scripts, click here to follow up.
I worked in a company where losing everything on my PC was a routine, my workplace, libraries, config files, environment variables, etc. And I had to recreate everything from scratch, it was tedious and time-consuming.
These project was created to help developers start a "developer folder" on their machines.
There are some scripts to download jdks (oracle, azul, etc), tools like Apache Ant, Apache Maven, etc., and servers like Tomcat, Glassfish, etc. and so on.
Not only create, but download, configure and set on environment variables. Similar to SDkMAN, although more simpler.
Technologies used on this project:
- Bash Shell
- Batch File
To install you need the git installed on your pc, check it:
# check the git version
git --version
And access to Bash and Prompt command
You can install it on Linux or Windows.
This section show how to use
To use these scripts you have to understand some concepts. The scripts are following these structure:
set-software-version\[-vendor][-codenome].[sh|bat]
Examples:
Install and/or config Oracle Java version 21, hotspot on Linux:
. set-java-21-oracle-hotspot.sh
Install and/or config Jetbrains Java version 21, jbrdcevm on Windows:
set-java-17-jetbrains-jbrdcevm.bat
Install and/or config Tomcat 9 on Linux:
set-tomcat-9.0.sh
Install and/or config Jetty 12 on Windows:
set-jetty-12.0.bat
You can realize that in the Tomcat and Jetty scripts, there is no vendor; it is omitted because there is only one vendor for both Apache and Eclipse respectively.
To run any script on linux:
source set-software-version\[-vendor][-codenome].sh
or
. set-software-version\[-vendor][-codenome].sh
And windows:
set-software-version\[-vendor][-codenome].bat
When you execute the script regardless the SO, what the script do:
- Download the software and put the download on '$DEVELOPMENT_HOME$\downloads' folder;
- Extract it on its directory;
- Set the terminal/prompt command environment vars;
- Check the software;
Check the example, the ant script:
So far I provided some scripts, check it: