Skip to content

DiogoPombo/JLauncher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

▢️ How to Use

  • 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.

About

Launcher for local Java applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors