Giter Site home page Giter Site logo

afa-farkhod / installation-wizard-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8.16 MB

Application is an installation wizard for the JDK (Java Development Kit). It is a JavaFX-based GUI Windows Desktop Application that guides users through the process of downloading and installing the JDK, as well as setting the path environment variable.

License: MIT License

Java 94.35% Batchfile 5.65%
installation-wizard java javafx javafx-application javafx-desktop-apps

installation-wizard-app's Introduction

Application is an installation wizard for the JDK (Java Development Kit). It is a JavaFX-based GUI Windows Desktop Application that guides users through the process of downloading and installing the JDK, as well as setting the path environment variable.

  • Wizard - A software wizard or setup assistant is a user interface that leads you through a sequence of small steps, like a dialog box to configure a program for the first time. A complex, rare, or unfamiliar task may be easier with a wizard that breaks the task into simpler pieces. But a wizard may be a barrier to deeper understanding, and a substitute for clearer design.
+ DOWNLOAD => jdk-20 installer download is successful
+ INSTALLATION => jdk installation is successful
+ PATH => setting the environmental path is successful
  • When running jar application javafx-sdk-20.0.1 should be also installed in the local environment, after that from the terminal following command is required to start the application:
java --module-path "C:/Program Files/Java/javafx-sdk-20.0.1/lib" --add-modules javafx.controls,javafx.fxml -jar InstallerWizard-1.0-SNAPSHOT.jar

Image


  • launch.bat file should be placed in the same directory as the *.jar file. And instead of running jar file launch file can be run

Image

  • launch.bat script is the batch script written in the Windows command prompt sets up the necessary environment variables (JAVA_HOME, PATH, MODULE_PATH, MAIN_CLASS) and then uses the java command to run a Java application with the specified module path, classpath, and main class.
@echo off
set JAVA_HOME=C:\Program Files\Java\jdk-17.0.7
set PATH=%JAVA_HOME%\bin;%PATH%
set MODULE_PATH="C:\Program Files\Java\javafx-sdk-20.0.1\lib"
set MAIN_CLASS=com.example.instalwizard.InstalWizar

java --module-path %MODULE_PATH% --add-modules javafx.controls,javafx.fxml -cp InstalWizard-1.0-SNAPSHOT.jar %MAIN_CLASS%

installation-wizard-app's People

Contributors

afa-farkhod avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.