#!/bin/bash

echo " " 
echo " " 
echo " " 
echo " " 
echo " " 
echo "------------------------javac version-----------"
echo " " 
/home/bvn/Java/jdk-16.0.2-full/bin/javac -version 
echo " "
echo "-----------------------------------------------" 
echo "------------------------compiling program-----------" 
echo " " 
/home/bvn/Java/jdk-16.0.2-full/bin/javac -encoding utf8 --module-path /home/bvn/Java/javafx-sdk-16 --add-modules javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web HelloWorldApplicationFX.java
echo " " 
echo "-----------------------------------------------"
echo " "
echo "------------------------java version-----------" 
echo " " 
/home/bvn/Java/jdk-16.0.2-full/bin/java -version 
echo " " 
echo "-----------------------------------------------" 
echo " " 
echo "------------------------run java program--------------"
echo " " 
/home/bvn/Java/jdk-16.0.2-full/bin/java --module-path /home/bvn/Java/javafx-sdk-16 --add-modules javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web HelloWorldApplicationFX
echo " " 
echo "------------------------end java program--------------"
echo " " 
