find system Home path
/**
*
* @author vijay
*/
public class UserHomeExample
{
public static void main(String[] args)
{
System.out.println(“User Home Path: “+
System.getProperty(“user.home”));
}
}
/**
*
* @author vijay
*/
public class UserHomeExample
{
public static void main(String[] args)
{
System.out.println(“User Home Path: “+
System.getProperty(“user.home”));
}
}
Reading Time: 2 minutesIntroduction Performance tuning is one of the most important responsibilities of Java engineers maintaining enterprise applications. As systems scale to thousands of concurrent users, applications may experience increased response times, excessive CPU usage, memory pressure, or unexpected garbage collection pauses. Modern Java provides sophisticated garbage collectors, diagnostic tools, and runtime configuration options that can help…
Reading Time: 2 minutesoutput comment: A comment that is sent to the client in the viewable page source.The JSP engine handles an output comment as uninterpreted HTML text, returning the comment in the HTML output sent to the client. You can see the comment by viewing the page source from your Web browser. JSP Syntax <!– comment […
Reading Time: 2 minutesThe goal of this post is go get an over view of the Java 9 and its features ! let’s dig into bit details . Schedule General availability is 07/27/2017 Features 102: Process API Updates 110: HTTP 2 Client 143: Improve Contended Locking 158: Unified JVM Logging 165: Compiler Control 193:…
Reading Time: < 1 minuteDynamic class-file constants Epsilon: a no-op garbage collector Local-variable syntax for lambda parameters Low-overhead heap profiling HTTP client (standard) Transport layer security (TLS) 1.3 Flight recorder ZGC: a scalable low latency garbage collector (experimental) JavaFX, Java EE and COBRA modules have been removed from JDK Deprecated the noshron javascript engine Unicode 10.0.0 support A number…
Reading Time: 2 minutesbefore going to execute this program read how to install comport api for windows /* this is the program used to send the message from javaprogram to the mobile phone */ /* Note :- before using this porogram first read the post “serialport communication using Java” by me in this blog. */ package sms; //…
Reading Time: < 1 minute/ * funny program ,but logic */ Class MyClass { public static void main(String …a) { System.out.println(“hello , JavaMix”); } }