Skip to content

About

Minimal/portable NetBeans launcher experiment

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beans Launcher - Minimal/portable NetBeans launcher experiment

setup alias for convenience:

# single-file script mode
alias nbl='java -Xmx32m -XX:+UseSerialGC [project_path]/src/main/java/dev/mbien/nblauncher/NbLauncher.java'

# plain-old jar mode
alias nblj='java -Xmx32m -XX:+UseSerialGC -jar [project_path]/target/nb-native-launcher-0.1-SNAPSHOT.jar'

# native mode
alias nbln='[project_path]/target/nbl'

launch:

nbl --nbhome [nb_path] --userdir /tmp/nbtest42

--nbhome is a new option which is used to tell the launcher where NetBeans is located (e.g extracted portable zip). You can store it with the alias if so desired.

build:

nblj and nbln require the project to be built first. Simply build the project using GraalVM CE 25 JDK (or later) and maven.

mvn clean verify or F11 using NetBeans

The native build step can be disabled with -P!native which allows building on regular JDKs.

launch beans with care!

About

Minimal/portable NetBeans launcher experiment

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages