Curated Dev tools for creating native apps in Core Java and Java
JDevtools provides a set of Maven wrapper-based tools for instant Java compilation and testing. These tools simplify and accelerate Java development workflows.
A Maven wrapper dispatcher that intelligently compiles Java code using parallel processing.
Usage:
./jcompile-dispatch [OPTIONS]Options:
--parallel [N]- Use parallel compilation (default: 1 thread per core)--threads N- Use exactly N threads for compilation--goals GOALS- Custom Maven goals (default: clean compile)-h, --help- Display help message
Examples:
# Compile with parallel processing
./jcompile-dispatch --parallel
# Compile with 4 threads
./jcompile-dispatch --threads 4
# Custom goals
./jcompile-dispatch --goals "clean package"Fast Java compilation using the Maven wrapper with optimized settings.
Usage:
./jcompile [OPTIONS]Options:
--clean- Clean before compiling--skip-tests- Skip test compilation--offline- Work offline--debug- Enable debug output--quiet- Quiet output-h, --help- Display help message
Examples:
# Basic compilation
./jcompile
# Clean and compile
./jcompile --clean
# Compile in offline mode
./jcompile --offlineFast Java testing tool with support for parallel execution and selective testing.
Usage:
./jtest [OPTIONS]Options:
--compile- Compile before testing--integration- Run integration tests (verify phase)--single CLASS- Run a single test class--method CLASS- Run specific test method--parallel [N]- Run tests in parallel (default 4 threads)--offline- Work offline--debug- Enable debug output--quiet- Quiet output-h, --help- Display help message
Examples:
# Run all tests
./jtest
# Run tests in parallel with 8 threads
./jtest --parallel 8
# Run a single test class
./jtest --single MyTestClass
# Compile and test
./jtest --compileConfiguration tool that verifies and displays the JDevtools setup.
Usage:
./jconfigure [COMMAND]Commands:
check- Check and verify configuration (default)test- Test Maven wrappershow- Show current configurationhelp- Display help message
Examples:
# Check configuration
./jconfigure
# Show configuration details
./jconfigure show
# Test Maven wrapper
./jconfigure testAll tools are available for Windows with .cmd extensions:
jcompile-dispatch.cmdjcompile.cmdjtest.cmdjconfigure.cmd
- Java 11 or higher
- Internet connection (for initial Maven wrapper download)
- Clone the repository
- Run configuration check:
./jconfigure
- Compile your Java project:
./jcompile
- Run tests:
./jtest
JDevtools includes a Maven wrapper that automatically downloads and uses the correct Maven version, ensuring consistency across different development environments.
This project is open source and available under standard licensing terms.
Java compilation dispatcher with native image and packaging support.
This tool generates Maven POM files with:
- GraalVM native-image support for creating platform-specific native executables (Mac, Linux, Windows)
- Linux packaging plugins (RPM and DEB) - automatically included when running on Linux
- Merging with existing POM files - preserves your project settings
pip install -e .Or run directly:
python3 -m jdevtools.jcompile_dispatchGenerate a new POM file:
jcompile-dispatch --output pom.xmlMerge with existing POM file:
jcompile-dispatch --existing pom.xml --output pom-new.xmlAfter generating the POM file:
- Review and customize the generated POM file
- Ensure the
mainClassproperty is set correctly - Build native image:
mvn clean package native:compile
On Linux systems, you can create distribution packages:
Create RPM package:
mvn rpm:rpmCreate DEB package:
mvn jdeb:jdeb- ✅ Cross-platform native image generation (Mac, Linux, Windows)
- ✅ Automatic platform detection
- ✅ Linux-specific packaging (RPM/DEB) when on Linux
- ✅ Merges with existing Maven POM files
- ✅ Preserves user settings and dependencies
- ✅ Uses Codehaus Mojo plugins for RPM packaging
- ✅ Uses jdeb for DEB packaging