Installing java 8 on Ubuntu server

Installing java 8 on Ubuntu server Installing java8 on ubuntu server is super easy. Just follow these commands to install it. sudo add-apt-repository ppa:webupd8team/java sudo apt update; Install java. sudo apt install oracle-java8-installer After installing check your installation using following commands. javac -version create Env variables sudo apt install oracle-java8-set-default Let me know in comments if any issues.

mark and sweep alog

Mark-and-Sweep algorithm – Garbage Collection

We often talk about Garbage Collector in Java. Garbage Collector work based on Mark and sweep algorithm. What is Automatic Garbage Collection? And how it works ? Interview questions on garbage collector java, very important questions on garbage collector, garbage collection in java, interview questions on garbage collector.mark and sweep algorithm. Garbage collection is process of looking at heap memory, identify unused memory and clean…

Java ClassLoaders

Java ClassLoaders are very important. There are differnt lava class loaders. hot depolyment-uprading sofware without deploying running applicaiton,exploited in EJB servers and servlet containers Class files-binary representation of Java classafter loading byte code ClassLoader makes an instance of java.lang.class which makes class available to JVM Lazy Loading-first the class file executed gets loaded and then other refrenced class, plays a key role in providing dynamic…

How will I post Java source code in WordPress?

post Java source code in WordPress I encountered issue to post java code on word press site. I was about to first time post a source code in my blog.How will I post Java source code in WordPress? so here is the answer. And I believe that most of the blog sites today can support different programming languages. I will show how to sample code…