How to Run Java code in new terminal Through Java Code in Linux

     Here I have written the snippet for running the java process in new terminal through java code
just put your java code name and run simply.

class CodeRunInTerminal
    public static void main(String args[]) throws IOException
        String command= "/usr/bin/xterm -e java codename";//where the java is command and codename is java code which you want to run in new terminal.
        Runtime rt = Runtime.getRuntime();
        Process pr = rt.exec(command);


How to Kill Java Process in Linux Operating System using Java Code

Java Code for killing the Java process in Linux OS. Hi,
    Here I have written the small snippet for killing the java running  process in linux OS.

public void checkprocess()
    String s = null;
    int x=0;
        Process p = Runtime.getRuntime().exec("jps"); //JPS command is used for showing all the java running process with ID.
        BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
        BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
        while ((s = stdInput.readLine()) != null)
            String[] tokens = s.split(" ");
                throw new IllegalArgumentException();
            String commandid = tokens[0];
            String prcess = tokens[1];
            System.out.println("Processes  Name is : "+prcesss);
            if(prcs.equals("Process Name which you w…

How to Execute Query & Stored Procedure in Linux Using Shell Scripting.

Limitations of MySQL Database

Limitations of MySQL Database
Many of the Mysql user does not know the limitations of Mysql database. So here I am writing some of the Mysql limitations are as follows. In mysql database the maximum size of the table is determined by operating system in which the Mysql is installed. So the maximum size of table is allowed by the operating system. Below mentioned table showing the file size limit of operating systems :
Operating System File Size Limit Windows (FAT32) 4GB Windows (NTFS) 2TB MacOS 2TB Linux 4TB Solaris 9/10 16TB

Limitations of Joins : The maximum number of tables that can be referenced in a single join is 61. This also applies to the number of tables that can be referenced in the definition of a view. It can also applies to LEFT and RIGHT OUTER JOINS. Limitations of the MyISAM storage engine :
Large files up to 63-bit file length are supported. There is a limitation of 264 (1.8 * 1019) rows in a MyISAM table. The maximum number of indexes per MyISAM table is 64. Yo…

How to configure the VNC server in Linux and Centos

Monitoring of Linux Server & Asterisk Server.