Monday, August 17, 2020

Error: JavaFX runtime components are missing, and are required to run this application (Debian 10 )

Running jar file ( Income Tax India Return filing utilty) on debain 10 gives... Error: JavaFX runtime components are missing, and are required to run this application

First install Java if not installed by default

sudo apt install default-jre

Test it with java -version

if you want to install JDK

sudo apt install default-jdk

Test it with javac -version

Install Javafx 

sudo apt install openjfx  

Add module-path with argument like

java --module-path /usr/share/openjfx/lib/ --add-modules=javafx.base --add-modules=javafx.fxml --add-modules=javafx.graphics --add-modules=javafx.controls  --add-modules=javafx.media --add-modules=javafx.web  --add-modules=javafx.controls --add-modules=javafx.swing -jar ITR-3_AY201920_PR2.jar 




Tuesday, July 28, 2020

Debain buster not showing Windows Network Shared Folder. Connect to server smb:// not working

In spite of all setting of Samba on Debian buster not accessing Windows Network from Explorer or not working smb://192.168.1.3 (window ip address or computer name)

After the successful installation of smbclient opens the up the /etc/samba/smb.conf file and right after the workgroup = WORKGROUP add the below line to change the default.

client max protocol = NT1

if not working try...

client min protocol = NT1

you just need to save the file and reboot the system.

Note: Reboot is necessary otherwise the above solution will not work.

Sunday, July 26, 2020

Repair or Reinstall Grub boot loader on dual boot Windows & Linux

Update Windows system on dual boot machine with Debain 10. Boot menu disappear after updating or replacing Windows 7

To make Grub Boot Loader working again:

visit: https://stackoverflow.com/questions/39685910/how-to-install-grub-after-installing-windows-10

Boot from Linux Live CD Ubuntu/Mint or any other
  1. mount your Linux installed partition to some mount point. here XY is the number of your Linux distro partition.

    sudo mount <root-partition[e.g. /dev/sdaXY]> <mount-point[e.g. /mnt/]>
    
  2. Now bind some essential live root partition directories to mounted root partition at /mnt.

    sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys
    
  3. Now, change the root to newly mounted partition directory.

    sudo chroot <mount-point[e.g. /mnt/]>
    
  4. Now, install the GRUB using grub-install command at your HDD MBR.

    grub-install /dev/sda
    
  5. Finally update the grub entries to show newly detected partition operating systems.

    update-grub
    
  6. And at last unmount all the binded partition directories, and then reboot.

    sudo reboot
    

Sunday, July 12, 2020

Boot Debian 10 with splash screen

edit file /etc/default/grub

for safety before edit file copy file with new name :
sudo cp grub grub_bakup

commnet line:
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
add new line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d"







Save file

run in terminal:
sudo update-grub

Restart System