https://github.com/klibio/bootstrap
setup scripts for java developer machine
https://github.com/klibio/bootstrap
bash bootstrap eclipse eclipse-installer java jdk11 jdk17 jdk8 linux mac oomph openjdk setuptools shell temurin windows
Last synced: 6 months ago
JSON representation
setup scripts for java developer machine
- Host: GitHub
- URL: https://github.com/klibio/bootstrap
- Owner: klibio
- License: mit
- Created: 2022-12-21T15:17:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-02T18:44:08.000Z (over 1 year ago)
- Last Synced: 2025-02-10T14:52:41.192Z (8 months ago)
- Topics: bash, bootstrap, eclipse, eclipse-installer, java, jdk11, jdk17, jdk8, linux, mac, oomph, openjdk, setuptools, shell, temurin, windows
- Language: Shell
- Homepage:
- Size: 1.36 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bootstrap developer machine (bndtools, eclipse, java)

quick and easy setup and configuration of
* java LTS releases [8, 11, 17] e.g. `set-java.sh 11`
* eclipse/oomph installer
* latest eclipse sdk releaseon supported os [windows,mac,linux] and arch [arm64,x64] via bash/zsh extension
## installation
execute the following script for installation```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/klibio/bootstrap/main/install-klibio.sh)" bash -j -o
```
### installation parameters
```bash
# tools
-j install java LTS versions
-o install eclipse installer / oomph
-e install eclipse sdk
# config/tool params
-u allow self-signed certificates - curl ignore certs
-f force overwrite existing files
-b= install from a specific branch
```
## usage
### using specific Java LTS releaseswitch to a specific java version with `set-java.sh <8|11|17>`
```bash
$ set-java.sh 11
configure JAVA_HOME=/c/Users/peter/.klibio/java/ee/JAVA11
openjdk version "11.0.18" 2023-01-17
OpenJDK Runtime Environment Temurin-11.0.18+10 (build 11.0.18+10)
OpenJDK 64-Bit Server VM Temurin-11.0.18+10 (build 11.0.18+10, mixed mode)
```
### oomph / eclipse-installer#### **option 1** - launch oomph / eclipse installer
```bash
$ start-klibio.sh -o
# launching oomph in separate window
```#### **option 2** - launch oomph with a specific config
launch oomph with a specific config `start-klib.io -o=https:////`
```bash
$ start-klibio.sh -o=https://github.com/klibio/bootstrap
# launching oomph in separate window with config https://raw.githubusercontent.com/klibio/bootstrap/feature/x/oomph/config/cfg_github.com_klibio_bootstrap.setup
```
1. Checks if there is an existing configuration file available.
2. Opens a oomph gui installer pre-selecting the product and the github project from klibio organisation.
3. Provide the Installation folder name and press `Next >` and then `Finish` to get the Eclipse IDE installed with the repository checked out and imported.
4. Your are ready to code ...## implementation
* minimal host changes
* additions in `~/.bashrc` ( or `~/.zshrc` on OSX )
* local folder `~/.klibio`
* idempotent execution# links
* [FAQ](doc/FAQ.md)
* [Glossary](doc/glossary.md)
* [LICENSE](LICENSE)