Skip to content
Java mix blog

JavaMix

Java • AI • Architecture • Cloud

  • About
  • My Github
Java mix blog
JavaMix
Java • AI • Architecture • Cloud
  • API | File reading | JExcel API | programs

    Reading data from Excel sheet using JExcel API

    ByVijay Katta January 2, 2010

    using Java we can read the data from Excel sheets by creating type1 driver , but here we are taking help of JExcelapi we can able to read data directly from the Excel sheets. steps to be follow: step 1: download JExcel api from here step2: after downloading extract the zip file. make jxl.jar available…

    Read More Reading data from Excel sheet using JExcel APIContinue

  • J2EE | Java | Jsp

    output comment and hidden comment in JSP

    ByVijay Katta January 2, 2010

    output 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 […

    Read More output comment and hidden comment in JSPContinue

  • API | Basics | Comport API | Serial port communication

    Installing comport API in windows OS

    ByVijay Katta January 2, 2010

    comm.jar should be placed in: %JAVA_HOME%/lib %JAVA_HOME%/jre/lib/ext win32com.dll should be placed in: %JAVA_HOME%/bin %JAVA_HOME%/jre/bin %windir%System32 javax.comm.properties should be placed in: %JAVA_HOME%/lib %JAVA_HOME%/jre/lib practice programs: serialport communication using Java http://javamix.wordpress.com/2009/01/21/sending-sms-using-serialport-communication-api/

    Read More Installing comport API in windows OSContinue

  • J2se | Java | programs | System program's

    Finding the localhost IP

    ByVijay Katta January 2, 2010

    // package sampleprograms; import java.io.*; import java.net.*; /** * * @author katta vijay */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here try{ String ip =  InetAddress.getLocalHost().getHostAddress(); System.out.println(ip); }catch(Exception e){ } } } —————————————————-output is———————— 10.0.0.223

    Read More Finding the localhost IPContinue

  • J2se | Java | programs | Serial port communication

    Sending SMS using serialport in Java

    ByVijay Katta January 2, 2010

    before going to execute this program read here  <a href="http://javamix.wordpress.com/2009/03/30/installing-comport-api-in-windows/">how to install comport api for windows</a> /*  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…

    Read More Sending SMS using serialport in JavaContinue

  • J2se | Java | programs | Serial port communication | System program's

    Serial port communication in Java

    ByVijay Katta January 2, 2010

    before going to execute this program read how to install comport api for windows In java there is no inbuilt support to access serial or parallel ports, to over come this we are taking support of Java communication API. after downloading the java communication api extract the folder then you can get the following… in…

    Read More Serial port communication in JavaContinue

  • J2se | Java | programs | System program's

    Find the system homepath

    ByVijay Katta January 2, 2010

    this java program gives the system home path as output. /** * * @author katta vijay */ public class UserHomeExample { public static void main(String[] args) { System.out.println(“User Home Path: “+ System.getProperty(“user.home”)); } }

    Read More Find the system homepathContinue

  • J2se | Java | programs | System program's

    Shutdown your system using Java program

    ByVijay Katta January 2, 2010

    This is a Simple Java program for shutdown your computer . here in this program I’m executing a system command for shutdown ( shutdown –s –t) though runtime . make sure that before you run this program : // save all the open programs and files before you run this program import java.io.*; class Shutdown{…

    Read More Shutdown your system using Java programContinue

Page navigation

Previous PagePrevious 1 … 3 4 5

© 2026 JavaMix

  • About
  • My Github