JLauncher βπ
A friendly, interactive launcher for Java applications on Windows.
Windows Java Batch PowerShell
β¨ What is JLauncher? JLauncher is a unified launcher for Java applications on Windows, built using Batch Script, PowerShell, and a touch of VBS for sound effects. It provides a simple, user-friendly, graphical experience for selecting and running .jar files β no terminal knowledge required. Perfect for:
- Users who donβt want to type commands
- Developers distributing Java apps
- Anyone who wants a clean, automated way to run .jar files
β¨ Features
- π±οΈ Interactive .jar selection via graphical PowerShell dialog
- π Automatic bilingual support (Portuguese π§π· / English πΊπΈ)
- π Optional URL launcher (e.g., open http://localhost:8080 after startup)
- πΎ Persistent configuration (remembers last selected JAR, URL, and delay)
- π Execution logs stored in launcher.log
- π¨ Console animations, banners, and color effects
- π Robust error handling (missing Java, missing JAR, cancellation, etc.)
- π Sound effects using VBS scripts
- βοΈ Multiple launch modes (-s, -m, -b, etc.)
π Project Structure JLauncher/ βββ JLauncher.cmd # Main script βββ LAUNCHERCORE.cmd # Core execution logic βββ filelocation.ps1 # PowerShell file selector βββ play.vbs # Sound effect βββ play2.vbs # Sound effect βββ arquivo_selecionado.txt # Last selected .jar path βββ nome_jar.txt # Last executed .jar name βββ url_config.txt # Saved URL (optional) βββ delay_seconds.txt # Browser startup delay βββ launcher.log # Execution logs
- Run JLauncher.cmd
- On the first launch:
- Select a .jar file
- (Optional) Enter a URL to open after startup
- (Optional) Configure delay time
- JLauncher saves your preferences for next time
- Your application runs with: java -jar YourFile.jar
- If a URL was configured, it will open automatically in your browser
βοΈ Requirements
- Windows 10 or 11
- Java installed and available in PATH
- PowerShell enabled
- Permission to run scripts (ExecutionPolicy bypass is handled automatically)
π License Developed by Diogo Santos Pombo β Β© 2025 Feel free to use, modify, and improve.
π‘ Why JLauncher? Because not every user wants to type: java -jar myapp.jar
And because Java apps deserve a friendly launcher, not a cryptic command line.