|

installing comport api in windows

Reading Time: < 1 minute

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

JavaMix Blog


    %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/

Similar Posts

  • Java 10 Features

    Reading Time: < 1 minuteLocal variable type interface Experimental Java bases JIT compiler Application class -data sharing Time base release versioning Parallel full GC for G1 Garbage collector interface Additional unicode langugae-TAG extensions Root certificates Thread local hand shakes Heap allocation on alternative memory devices Remove the native header generation tool – javah Consolidate the JDK forest into a…

  • |

    finding the local host ip

    Reading Time: < 1 minutepackage 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

  • welcome to my Java blog

    Reading Time: < 1 minutehello freiends this is my Java blog, you may seen no.of this kind of blogs but, here iam going to present each concept and program clearly,and here iam going to present some collections like some other good java resources,job openings,and many more.. this is presently what iam thinking to start this web blog, any way…

  • | | | |

    Serial port communication in Java

    Reading Time: < 1 minutebefore 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…

  • |

    converting system date to required format

    Reading Time: < 1 minutepackage automatedsms; // my package name /** * * @author vijay */ import java.util.Calendar; import java.text.SimpleDateFormat; public class DateUtils { public static String now(String dateFormat) { Calendar cal = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat(dateFormat); return sdf.format(cal.getTime()); } public static void main(String arg[]) { // different date formats System.out.println(DateUtils.now(“dd MMMMM yyyy”));   // calling now method…

  • | | |

    Read RSS feeds using JSP

    Reading Time: < 1 minute<%@page contentType=”text/html”%> <%@page pageEncoding=”UTF-8″%> <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <%@page import=”java.net.URL”%> <%@page import=”javax.xml.parsers.DocumentBuilder”%> <%@page import=”javax.xml.parsers.DocumentBuilderFactory”%> <%@page import=” org.w3c.dom.CharacterData”%> <%@page import=” org.w3c.dom.Document”%> <%@page import=”org.w3c.dom.Element”%> <%@page import=”org.w3c.dom.Node”%> <%@page import=”org.w3c.dom.NodeList”%> <%@page import=”java.lang.*”%> <% String desc=null; try { DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); URL u = new URL(“http://feed43.com/eenadu.xml”);   // feed address Document doc = builder.parse(u.openStream()); String title;…