From Ubuntu 20.04 LTS or LinuxMint 20, the Java 8 SDK or Java 8 Runtime Environment is in the repository, but the openjfx libraries are not of version 8 but of version 11. To overcome error, you can use the Zulu Java runtime for version 8 with JavaFX. Also, these steps can work on Fedora 32. To do so, open a terminal window and enter the following commands:
- Download the Zulu Java Runtime Environment from Azul site
- Untar the file from the downloaded folder (~/Downloads) into the /usr/lib/jvm folder
sudo tar -zxvf ~/Downloads/zulu220.127.116.11-ca-fx*.gz<enter>
- Rename it to zulu8 for convenience
sudo mv zulu18.104.22.168-ca-fx-jre8.0.262-linux_x64 zulu8<enter>
- Now try to run the Java ITR utilities of India income tax return
/usr/lib/jvm/zulu8/bin/java -jar ITR-1_AY202021_PR2.jar<enter>
The utility should run now.
For Fedora Linux if using openjdk, see here https://askmeaboutlinux.com/2020/07/30/error-running-income-tax-india-itr-utility-on-fedora-32-linux/
4 thoughts on “How to run India income tax Java utilities on Linux Mint 20 or Ubuntu 20.04 LTS or Fedora 32”
Thanks for this useful post. If possible, please add a link to this post on your other post for mint19 as that result comes first on search engines.
Your earlier post URL: https://askmeaboutlinux.com/2020/05/09/how-to-use-india-income-tax-java-utilities-on-linux/
Thank you. Post has been updated.
Hello, this is Perfect, exactly what i needed.
There is one small error in the last command. “/usr/lib/jvm/zulu/bin/java -jar ITR-1_AY202021_PR2.jar”
Since the folder name has been changed to zulu8, the command has to be adjusted accordingly.
Another thing ist the jar File name, that changes according to the version of ITR downloaded. But that’s quite obvious. Also for clarity sake, maybe it will be helpful to include instructions about where and how to extract the zip file downloaded from Income Tax Website. The article assumes that the ITR has been downloaded and extracted directly into Downloads. I agree that its likely to be downloaded in Downloads directory, but the extraction will likely be into a subfolder in Downloads directory. The “cd ~/Downloads” command will also need to be adjusted accordingly.
These are small things which can easily be corrected by the user himself. I just wanted to share where i stumbled a little.
Thank you again for the wonderful article.
Would you also be so nice to help with another topic? Installing HPLIP on Linux Mint 20. It stops when it fails to install Python 3 qt4/qt5. I have searched and searched but haven’t found a solution anywhere,
Not sure, as I do not have an HP device. But I think it is a bug that has been resolved. See https://bugs.launchpad.net/hplip/+bug/1878974. It appears to have been resolved. However, look at this too https://bugs.launchpad.net/hplip/+bug/1889284. Also, the link made reference to this https://developers.hp.com/hp-linux-imaging-and-printing/gethplip, which it says would not run. All the best setting it up.
Comments are closed.