How to compile and add my own protocol

I want to send a sms without user intervention i have got a code from net which specifies a separate protocol for message.
Now i am unable to compile it .I need a kmidp20.zip file for it.
Can anyone tell me how to compile it.
I need it very urgently for my application
I am Sending u the code.I found it at the web page
http://www.mobile-j.de/snipsnap/space/J2ME/Sending+SMS+from+MIDlet+without+user+intervention
This certainly don't works since "xsms" is not an registered protocol.
So we add this protocol to the package com.symbian.midp.io.protocol.xsms: (To compile the com.symbian.midp.io.protocol.xsms.Protocol class you will need the "kmidp20.zip" from the Nokia Series_60_MIDP_SDK_2_1 (I guess an other version will do also) in your classpath.)
package com.symbian.midp.io.protocol.xsms;import com.symbian.gcf.*;
import com.symbian.javax.wireless.messaging.SMSConnectionSession;
import java.io.IOException;
import javax.microedition.io.Connection;public final class Protocol extends ProtocolBase
public Protocol()
super("sms", "sms");
public void ensurePermission(String aName)
// do nothing � hehe
} public Connection openConnection(URI aUri, int aMode, boolean aTimeouts)
throws IOException
if(aUri.toString().startsWith("xsms")){
aUri = new URI(aUri.toString().substring(1));
} com.symbian.gcf.ConnectionSession session = SMSConnectionSession.getSession();
String host = aUri.getHost();
ConnectionEndPoint connection;
if(isServerConnection(aUri))
connection = null;
} else
if(aMode == 1)
throw new IllegalArgumentException();
connection = new SMSClientConnectionImpl(session, aUri, 2);
connection.open();
return connection;
} protected boolean isServerConnection(URI aUri)
return aUri.getHost().length() == 0;
and we need this in that package:
package com.symbian.midp.io.protocol.xsms;
import com.symbian.gcf.*;
import com.symbian.javax.wireless.messaging.*;
import com.symbian.midp.runtime.Security;
import com.symbian.util.BlockingOperation;
import com.symbian.util.NativeError;
import java.io.IOException;
import java.io.InterruptedIOException;
import javax.wireless.messaging.*;class SMSClientConnectionImpl extends DatagramConnectionEndPoint
implements MessageConnection
{    SMSClientConnectionImpl(ConnectionSession aSession, URI aUri, int aMode)
throws IOException
super(aSession, aUri, aMode);
iUri = aUri;
iSendPermissionArgs = new String[2];
} public final Message newMessage(String aType)
String address = null;
if(iUri.getHost().length() > 0)
address = iUri.toString();
return newMessage(aType, address);
} public final Message newMessage(String aType, String aAddress)
Message msg;
if(aType.equals("binary"))
msg = new BinaryMessageImpl(aAddress, 0L);
else
if(aType.equals("text"))
msg = new TextMessageImpl(aAddress, 0L);
else
throw new IllegalArgumentException();
return msg;
} public final int numberOfSegments(Message aMsg)
MessageImpl messageImpl = getMessageImpl(aMsg);
int numberOfSegments = 0;
synchronized(super.iCloseOperation.getLock())
if(super.iState != 2)
numberOfSegments = messageImpl.populateSmsData(super.iNativePeerHandle, 0);
if(numberOfSegments < 0)
numberOfSegments = 0;
return numberOfSegments;
} public final void send(Message aMsg)
throws IOException, InterruptedIOException
String address = aMsg.getAddress();
if(address == null)
throw new IllegalArgumentException("No address");
URI uri = new URI(address);
MessageImpl messageImpl = getMessageImpl(aMsg);
synchronized(super.iWriteOperation.getLock())
synchronized(super.iWriteOperation)
synchronized(super.iCloseOperation.getLock())
ensureOpen();
iSendPermissionArgs[0] = address;
int numberOfSegments = messageImpl.populateSmsData(super.iNativePeerHandle, 1);
if(numberOfSegments < 0)
if(numberOfSegments == -40)
throw new IllegalArgumentException("Message too big");
NativeError.check(numberOfSegments);
iSendPermissionArgs[1] = Integer.toString(numberOfSegments);
checkSecurity("javax.wireless.messaging.sms.send", iSendPermissionArgs);
int status = send(super.iNativePeerHandle, EMPTYBYTE_ARRAY, 0, 0, address);
checkError(status);
super.iWriteOperation.waitForCompletion();
checkError(super.iWriteOperation.getResult());
} public void setMessageListener(MessageListener aListener)
throws IOException
throw new IOException("Must be Server");
} public Message receive()
throws IOException, InterruptedIOException
throw new IOException("Must be Server");
} private static MessageImpl getMessageImpl(Message aMessage)
MessageImpl messageImpl = null;
try
messageImpl = (MessageImpl)aMessage;
catch(ClassCastException ex)
throw new IllegalArgumentException("Not from newMessage()");
return messageImpl;
} protected static void checkSecurity(String aPermission, String aPermissionArgs[])
// Security.ensurePermission(aPermission, aPermission, aPermissionArgs);
} protected static final int MESSAGE_TYPE = 0;
private static final String MUST_BE_SERVER_MSG = "Must be Server";
private static final String SEND_PERMISSION = "javax.wireless.messaging.sms.send";
private static final int SEND_PERMISSION_ARGS_TOTAL = 2;
private static final int SEND_PERMISSION_ARGS_URI_INDEX = 0;
private static final int SEND_PERMISSION_ARGS_SEGMENTS_INDEX = 1;
private static final byte EMPTY_BYTE_ARRAY[] = new byte[0];
private URI iUri;
private String iSendPermissionArgs[];}

I want to send a sms without user intervention i have got a code from net which specifies a separate protocol for message.
Now i am unable to compile it .I need a kmidp20.zip file for it.
Can anyone tell me how to compile it.
I need it very urgently for my application
I am Sending u the code.I found it at the web page
http://www.mobile-j.de/snipsnap/space/J2ME/Sending+SMS+from+MIDlet+without+user+intervention
This certainly don't works since "xsms" is not an registered protocol.
So we add this protocol to the package com.symbian.midp.io.protocol.xsms: (To compile the com.symbian.midp.io.protocol.xsms.Protocol class you will need the "kmidp20.zip" from the Nokia Series_60_MIDP_SDK_2_1 (I guess an other version will do also) in your classpath.)
package com.symbian.midp.io.protocol.xsms;import com.symbian.gcf.*;
import com.symbian.javax.wireless.messaging.SMSConnectionSession;
import java.io.IOException;
import javax.microedition.io.Connection;public final class Protocol extends ProtocolBase
public Protocol()
super("sms", "sms");
public void ensurePermission(String aName)
// do nothing � hehe
} public Connection openConnection(URI aUri, int aMode, boolean aTimeouts)
throws IOException
if(aUri.toString().startsWith("xsms")){
aUri = new URI(aUri.toString().substring(1));
} com.symbian.gcf.ConnectionSession session = SMSConnectionSession.getSession();
String host = aUri.getHost();
ConnectionEndPoint connection;
if(isServerConnection(aUri))
connection = null;
} else
if(aMode == 1)
throw new IllegalArgumentException();
connection = new SMSClientConnectionImpl(session, aUri, 2);
connection.open();
return connection;
} protected boolean isServerConnection(URI aUri)
return aUri.getHost().length() == 0;
and we need this in that package:
package com.symbian.midp.io.protocol.xsms;
import com.symbian.gcf.*;
import com.symbian.javax.wireless.messaging.*;
import com.symbian.midp.runtime.Security;
import com.symbian.util.BlockingOperation;
import com.symbian.util.NativeError;
import java.io.IOException;
import java.io.InterruptedIOException;
import javax.wireless.messaging.*;class SMSClientConnectionImpl extends DatagramConnectionEndPoint
implements MessageConnection
{    SMSClientConnectionImpl(ConnectionSession aSession, URI aUri, int aMode)
throws IOException
super(aSession, aUri, aMode);
iUri = aUri;
iSendPermissionArgs = new String[2];
} public final Message newMessage(String aType)
String address = null;
if(iUri.getHost().length() > 0)
address = iUri.toString();
return newMessage(aType, address);
} public final Message newMessage(String aType, String aAddress)
Message msg;
if(aType.equals("binary"))
msg = new BinaryMessageImpl(aAddress, 0L);
else
if(aType.equals("text"))
msg = new TextMessageImpl(aAddress, 0L);
else
throw new IllegalArgumentException();
return msg;
} public final int numberOfSegments(Message aMsg)
MessageImpl messageImpl = getMessageImpl(aMsg);
int numberOfSegments = 0;
synchronized(super.iCloseOperation.getLock())
if(super.iState != 2)
numberOfSegments = messageImpl.populateSmsData(super.iNativePeerHandle, 0);
if(numberOfSegments < 0)
numberOfSegments = 0;
return numberOfSegments;
} public final void send(Message aMsg)
throws IOException, InterruptedIOException
String address = aMsg.getAddress();
if(address == null)
throw new IllegalArgumentException("No address");
URI uri = new URI(address);
MessageImpl messageImpl = getMessageImpl(aMsg);
synchronized(super.iWriteOperation.getLock())
synchronized(super.iWriteOperation)
synchronized(super.iCloseOperation.getLock())
ensureOpen();
iSendPermissionArgs[0] = address;
int numberOfSegments = messageImpl.populateSmsData(super.iNativePeerHandle, 1);
if(numberOfSegments < 0)
if(numberOfSegments == -40)
throw new IllegalArgumentException("Message too big");
NativeError.check(numberOfSegments);
iSendPermissionArgs[1] = Integer.toString(numberOfSegments);
checkSecurity("javax.wireless.messaging.sms.send", iSendPermissionArgs);
int status = send(super.iNativePeerHandle, EMPTYBYTE_ARRAY, 0, 0, address);
checkError(status);
super.iWriteOperation.waitForCompletion();
checkError(super.iWriteOperation.getResult());
} public void setMessageListener(MessageListener aListener)
throws IOException
throw new IOException("Must be Server");
} public Message receive()
throws IOException, InterruptedIOException
throw new IOException("Must be Server");
} private static MessageImpl getMessageImpl(Message aMessage)
MessageImpl messageImpl = null;
try
messageImpl = (MessageImpl)aMessage;
catch(ClassCastException ex)
throw new IllegalArgumentException("Not from newMessage()");
return messageImpl;
} protected static void checkSecurity(String aPermission, String aPermissionArgs[])
// Security.ensurePermission(aPermission, aPermission, aPermissionArgs);
} protected static final int MESSAGE_TYPE = 0;
private static final String MUST_BE_SERVER_MSG = "Must be Server";
private static final String SEND_PERMISSION = "javax.wireless.messaging.sms.send";
private static final int SEND_PERMISSION_ARGS_TOTAL = 2;
private static final int SEND_PERMISSION_ARGS_URI_INDEX = 0;
private static final int SEND_PERMISSION_ARGS_SEGMENTS_INDEX = 1;
private static final byte EMPTY_BYTE_ARRAY[] = new byte[0];
private URI iUri;
private String iSendPermissionArgs[];}

Similar Messages

  • How to compile and add new modules

    Hi,
    for my ZfD 4.01 IR7 I want to add new drivers to kernel image (I use PXE).
    Is there any HOWTO about this ?
    Thanx
    Lubomir Vogl

    On Tue, 25 Sep 2007 12:25:22 GMT, Lubomir Vogl wrote:
    > for my ZfD 4.01 IR7 I want to add new drivers to kernel image (I use PXE).
    > Is there any HOWTO about this ?
    some data I put together, best bet is to get some updated files from forge,
    zenimaging.info or edu-magic.net
    or upgrading to the latest version of zdm / zcm.
    you need ofcourse to make sure you use the right kernel version for IR7
    From: [email protected]
    Ok, so I have gotten my boot disk to work following the process below,
    which is kind of a sampling of other peoples stuff out there, which I hope
    to give credit for when I'm all done here.....
    I have not tested the PXE boot, only the bootcd.iso
    Download the 2.4.22 Linux Kernel
    wget http://www.kernel.org/pub/linux/kern...2.4.22.tar.bz2
    unpack the Source
    tar xvfj linux-2.4.22.tar.bz2
    enter the directory created
    cd linux-2.4.22
    Download the 2.4.22-ac4 patch.
    wget http://www.kernel.org/pub/linux/kern...le/alan/linux-
    2.4/2.4.22/patch-2.4.22-ac4.bz2
    Uncompress the patch
    bunzip2 patch-2.4.22-ac4.bz2
    Download the Novell ZENworks Kernel Patch
    wget http://www.novell.com/coolsolutions/...dimgkrnlpatch-
    2.4.18-4.0-p1.tgz
    Unpack the file
    tar xvfz zfdimgkrnlpatch-2.4.18-4.0-p1.tgz
    Change the Kernel version
    sed 's/2.4.18/2.4.22/' <zenpatch-2.4.18-4.0-p1.patch > zenpatch-
    2.4.22.patch
    Apply the Patches
    patch -p0 < zenpatch-2.4.22.patch
    patch -p1 < patch-2.4.22-ac4
    Configure the Kernel
    make menuconfig
    I went in and did the following
    Processor Type and Features ->
    No to Math Emulation
    SCSI Support ->
    SCSI low-level drivers->
    Yes to SATA Support
    USB Support ->
    ---USB Human Interface Devices (HID)
    Yes to USB Human Interface Device (full HID) support
    Yes to HID input Layer Support (NEW)
    Exit and Save the configuration
    Run the following
    make clean ***Note Novell Recommends this***
    make dep
    make bzImage ***Note Case does matter on the I***
    make modules
    make modules_install
    Get the ZENDist package
    wget http://www.novell.com/coolsolutions/...ist-4.0-p1.tgz
    tar zxvf zendist-4.0-p1.tgz
    cd /usr/src/build
    ../buildImages.s
    Copy the 2.4.22 kernel and modules over to our build area....
    cp /usr/src/linux-2.4.22/arch/i386/boot/bzImage bootdisk/firstdisk/kernel
    cp -r /lib/modules/2.4.22-ac4 bootdisk/thirddisk/lib/modules
    Remove old stuff
    rm -rf bootdisk/thirddisk/lib/modules/2.4.18
    ../buildImages.s
    Copy the BroadCom Driver from the Forge site into
    the /build/bootdisk/thirddisk/lib/modules/2.4.22-ac4/kernel/drivers/net
    directory and then redo the
    ../buildImages.s
    This will add-in the BroadCom drivers for the GX280 computer.
    ***NOTE*** I had to run the GX280 SATA drive in Compatability mode in the
    BIOS, otherwise the drive did not show under the img dump ******
    I should also note here that the hdparm command does nto work with this.
    Imaging my Windows XP image took about 6 minutes though.
    I also did the 2.4.22 kernel because there is a compiled BroadCom driver
    on the Forge site.
    And from Roy Erez...
    So... SATA isn't supported by this trick on the Gx280 machines.
    The only way I could get SATA to work in "normal" (not "compatibility")
    mode in these machines was using the 2.4.28 kernel.
    As of kernel 2.4.27 SATA is merged into the kernel source tree so you
    don't need Alan Cox's patch to enable SATA.
    This only patches I applied to my kernel were the zen patch and a
    broadcom 57xx patch (had to change the version string in this one).
    Although ICH6 isn't yet fully supported it does work in a "Looks like
    ICH5" mode and I'm able to successfully take and put an image in "normal
    " sata mode.
    As to USB keyboard support - after trying several combinations I think
    it's better to compile HID support using HIDBP rather than the full HID
    layer - the only HID feature needed in the imaging environment is
    keyboard support and HIDBP handles it well enough.
    If you have already compiled drivers or have linux.2 please put them on
    http://forge.novell.com/modules/xfmo...ect/?zfdimgdrv
    Live BootCd and USB Disk from Mike Charles
    http://forge.novell.com/modules/xfmod/project/?imagingx
    eZie http://forge.novell.com/modules/xfmod/project/?ezie
    Marcus Breiden
    If you are asked to email me information please remove the - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.didas.de

  • I bought a relative's original iPad. I want to leave the apps on it and add my own pdfs to read. My itunes account is really for my iPod. the computer says that if I "Sync" the iPad will be erase, and become like my iPods. how can I just get my files onto

    I am a first-time iPad owner/user. I bought a relative's original iPad. I want to leave the apps on it and add my own pdfs to read. My itunes account is really for my iPod. iTunes message says that if I "Sync" the iPad will be erase, and become like my iPods. If I make a new iTunes account, would the apps be erased when I tried to use it?
    How can I just get my files onto this iPad, and still have the apps that my relative left there for me?
    Thank you.

    iPads sync to 1 computer only.
    All media and apps are tied to the Apple ID that purchased them.
    Without your relatives ID and password, you cannot update any of the Apps.
    I am pretty certain he is also violating Apples terms of service by giving you the apps.

  • HT4993 on my computer there are two different accounts for the itunes store but my brothers account keeps syncing in on my iphone instead of my own account how do i get his account off of my phone and add my own back?

    on my computer there are two different accounts for the itunes store but my brothers account keeps syncing in on my iphone instead of my own account how do i get his account off of my phone and add my own back?

    Not a good idead to share IDs
    Read http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    Read Sharing an Apple ID with your Family
    Does your father have a recent backup of his phone?  If so restore his phone from that.  Please not that everythign created on th ephone since the backup was made will be lost

  • I want to remove some of the games and add my own; How?

    I want to remove some of the games and add my own;
    How?
    == This happened ==
    Every time Firefox opened
    == from the start

    How is that related to Firefox support?

  • I got a friend's old iPod classic and want to use it with my iTunes account. How do I do this? I want to delete most of what's on there now and add my own songs

    Is there a way to sync this iPod to my pc? I want to delete most of the songs on the iPod now and add my own using my iTunes account

    Connect it to your computer, click here, and follow the instructions.
    (103740)

  • How to compile and execute lex,yac,c and java programs

    its the 3rd day on my New MacBook pro..
    as i just migrated from windows to mac i love to work on this..
    The main problem  is i DON't know .......
    how to compile and execute
    1) lex and yac programs
    2) c program
    3) java program
    so please help me
    THIS is the error i got   a1.l is a program
    i got the same error when i used  gcc
    $ lex a1.l
    $ cc lex.yy.c                                 
    Undefined symbols:
      "_yywrap", referenced from:
          _yylex in cc8QDQjW.o
          _input in cc8QDQjW.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status

    Is the problem that you don't know how to compile and execute these programs on a Mac, or just that you don't know how to compile and execute them?
    Mac OS X is really just a version of BSD Unix, as far as programs like like bison, flex and gcc are concerned...and even when Apple specific versions are provided in the Developer Tools, there are symlinks in the usual places in the Unix file hierarchy.
    For problems with lex and yacc, I suggest you start with their own references, for example, here.
    Or you could just use %option noyywrap, if you only have one file to scan.
    Or you could link to libfl.a using -lfl and use the default version from that library.
    But you really should (as Keith Barkley was subtly hinting at) learn how these tools work and why they work that way.

  • How to compile and register a Java CFX tag with multiple class files?

    All-
    If this is the wrong forum for CFX questions, please let me
    know.
    I need to determine how to compile and register a Java CFX
    tag that contains multiple class files. One class file implements
    the CustomTag interface and the other class files implement various
    supporting classes. All of the documentation that I have found
    talks about using a single class file. I am assuming that a JAR
    file will be involved, but I am not sure of the specifics.
    Thanks in advance for your help.
    -Josh

    Yes, it will involve a jar. Use your java IDE (eclipse,
    etcetera ..) to create a jar containing all of the classes. Check
    your ide's documentation for how to create jar files. After you
    have created the jar, place the jar in the CF class path so CF will
    recognize it. For example the {cf_root}/WEB-INF/lib directory. CF
    must be restarted before it will detect the new jar. After
    restarting CF, register the CFX tag in the ColdFusion Administrator
    using the name of the class that implements the CustomTag
    interface.
    Though it is worth noting you can also instantiate java
    classes directly from ColdFusion (ie without using a CFX
    tag).

  • How to compile and run java files on a mac using command line?

    can someone tell me or link me to some article on how to compile and run java files from command line on a mac? I have mac OS X leopard

    What do you mean by "where to put them" ? What do you want to put anywhere ?
    Have you read Peter's comment in brackets ? Perhaps you have a classpath problem ?
    Edited by: Michael_Knight on Aug 31, 2008 4:23 AM

  • How to compile and execute programing languages

    its the 3rd day on my New MacBook pro..
    as i just migrated from windows to mac i love to work on this..
    but i my main problems is i DON't know .......
    how to compile and execute
    1) lex and yac programs
    2) c program
    3) java program
    so please help me
    THIS is the error i got   a1.l is a program
    i got the same error when i used  gcc
    $ lex a1.l
    $ cc lex.yy.c                                  
    Undefined symbols:
      "_yywrap", referenced from:
          _yylex in cc8QDQjW.o
          _input in cc8QDQjW.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status

    You're trying to build something that depends on a library you don't have, or haven't referenced. This sort of question belongs in the Developer forums.
    Developer Forums: Apple Support Communities

  • How to compile and run package programs in Java

    Hi,
    I want to know how to compile and run the package programs in Java using -d. instead of creating the package folder manually.
    eg:
    package Test;
    class test1
    public void disp()
    //Any code;
    I want to compile this without creating the folder ' Test ' manually. that is if we use -d with javac the Test folder will be created automatically. I need the format of -d
    could anyone please help me.
    Thanks in Advance ,
    Ambika

    My program Test.java in F:\Tomcat5\webapps\Ambika\WEB-INF\Classes. I compiled in the format below. I got like this. What should I do for this? But yesterday I compiled like this only, It compiled and the folder com\cert\Test.class is created. Today again I compiled the pgm after deleting the already created folder 'com\cert', I got the error like this.
    I've given my pgm and the thing I've got when I compiled it.
    Test.java
    package com.cert;
    public class Test
         public void display()
              System.out.println("Hai");
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>javac -d F:\Tomcat5\webapps\Ambika\WEB-INF\Classes\Test.java
    javac: no source files
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are u
    sed
    -classpath <path> Specify where to find user class files
    -cp <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -endorseddirs <dirs> Override location of endorsed standards path
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -version Version information
    -help Print a synopsis of standard options
    -X Print a synopsis of nonstandard options
    -J<flag> Pass <flag> directly to the runtime system
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>
    Plz help me.
    thanks in advance
    Ambika

  • How to compile and run a .java file from another java program

    hello,
    can any one tell me how to compile and run a *.java* file from another java program which is not in same directory?

    Well a smarter way of implementing this is by using a solution provided by Java Itself.
    If you are using J2SE 6.0+ there is an in built solution provided along with JDK itself and inorder to go ahead with solution the below are set of API which you;d be using it for compiling Java Programs (Files)
    http://java.sun.com/javase/6/docs/api/javax/tools/package-summary.html
    How do i do that ??
    Check out the below articles which would help you of how to do that
    http://www.ibm.com/developerworks/java/library/j-jcomp/index.html
    http://www.javabeat.net/javabeat/java6/articles/java_6_0_compiler_api_1.php
    http://books.google.com/books?id=WVbpv8SQpkEC&pg=PA155&lpg=PA155&dq=%22javax+tools%22+compiling+java+file&source=web&ots=XOt0siYe-f&sig=HH27ovuwvJgklIf8omTykUmy-eM
    Now once we are done with compilation.In order to run a Specific class all you ought to do is create an object and its specific methods of a specified class included in the CLASSPATH which you can manage it easily by usage little bit reflections.
    Hope that might help :)
    REGARDS,
    RaHuL

  • How to compile and publish after modified a .java file?

    Hello,
    I am a newbie to Business Object. I am now working on a server that installed BusinessObjects Enterprise, to develop and run BO reports. I need to edit some java codes of the InfowView. I found that there are some .java, .class, .jar files under the installed folder. I know that it is a struts framework and I can find which .java file to edit, but I don't know how to compile and publish the codes. Is it necessary to install any development tool to do it?
    Regards,
    Philip

    Since you are using CSV, you can read a line at a time and then use String.split() on it. One you have it split, you upload to your DB using JDBC or if your in the MS world and cannot get a JDBC driver, then use the JDBC/ODBC bridge.

  • How to compile and run java program at command console

    hi there
    can anyone tell me how to compile and run a java program at command console? I have installed JRE 1.3.1, and also have installed JBuilder 5 if it helps.

    try this
    System.out.println("Enter your Name : ");
    BufferedReader console = new BufferedReader( new InputStreamReader( System.in ) );
    String s = console.readLine();
    System.out.println("Hello : "+ s+" !" );

  • How to  compile and run javacard program

    how to compile and run javacard program "HelloWorld"

    1. Where is save Servlet program?
    2. How to set classpath?
    3. how compile and run?
    http://www.coreservlets.com

Maybe you are looking for

  • Data requests in planning cube

    Hi Friends, I like to find out from you how can I delete from the cube data I loaded into a planning cube via planning activities given that the cube only creates new request after n thousand records have filled the request. In short, how can I manag

  • Does the 3dpc line plot have a memory leak? (ver 8.6.1)

    I have a very large application with a very small memory leak and the 3dpc line plot appears to be the most likely candidate. I create a line plot of data (100-200 points of XYZ) pass this to a Create 3dpc_surfaceplot:xctlcreate.vi in a loop (updated

  • Updated to usb 2.0, having issues with the zen microph

    basically, put a new usb 2.0 card thing in my computer and when i plug my zen microphoto to it i get a message saying that i need to install the drivers for it, which i can't find online and don't have the cd for anymore. My Zen Nano Plus works fine

  • How do you open a hard drive in Lion

    I have a Mac Book Pro.  Since the Lion upgrade I can no longer open a hard drive window on the desktop.  When I double click on the HD icon nothing happens, or at least that is what it seems.  However when I do the 3 finger swipe to go from one deskt

  • Quicktime won't play on Safari or Firefox?

    Recently I have noticed that I cannot play Quicktime movies from the Apple Movie Trailers website. All I seem to get is a blue Quicktime icon with a white question mark. Or when I try to download a movie trailer from the site it states I have a incor