Anytime with following command in Linux terminal you get to know the version of Java JDK installed java --version Installation There are two Java deployments available for you install (1) Oracle Java (oracle-java) (2) Java Open SDK (openjdk) OpenJDK Most of the linux distributions either come installed with OpenJDK however just in-case if you get it pre-installed, you can run below command to get it easily. sudo apt-get install openjdk-default Oracle JDK Add the repository first sudo add-apt-repository ppa:linuxuprising/java Update the changes sudo apt-get update Initiate installer sudo apt install oracle-java11-installer Then set the installed version of Java as default sudo apt install oracle-java11-set-default Now, running below command can help you check that the installation was successful java --version Uninstallation Below link has the detailed information: https://novicestuffs.wordpress.com/2017/04/25/how-to-uninstall-java-from-linux/
This is in continuation to my previous post: Hangfire with ASP.Net MVC : Simplest Code To Start with . In this post we will see how Hangfire can be configured without the SQL Server as its backend for job scheduling, instead, manage all in-memory 1) Create ASP.Net MVC 4/5 Projects 2) in web.config file 3) Run Install-Package HangFire -Version 1.6.17 or visit here for latest version: https://www.nuget.org/packages/Hangfire/1.6.17 3) Run Install-Package Hangfire.MemoryStorage -Version 1.5.2 or visit here for latest version https://www.nuget.org/packages/Hangfire.MemoryStorage/ 4) I am simply updating a table with a primary key (auto incremented), and string field "StampTime" with current date and time. 5) Open Global.asax.cs and paste below shown code. 6) Run the app and check the database. using Hangfire; using Hangfire.Common; using Hangfire.MemoryStorage; using System; using System.Collections.Generic; using System.Linq; using System.Th...