Want to access floppy using java program

===> is it possible to access the floppy and format it using java program. (if, it is not possible to format it then plz. tell me how to access the floppy using java program).
if possible plz. send me code of that programs on following address..
[email protected]
waiting for reply.
prasad.
(faculty of ssi)

Hi prasad
I did a search for you and here are the results
http://search.java.sun.com/Search/java?qt=%22format+disk%22+%22format+a+disk%22+%22format+a+floppy%22+%22format+the+floppy%22&col=jsun1&col=javafrm&rf=0

Similar Messages

  • Set system classpath using java program??

    Hi,
    I want to set the System classpath using java program. Can somebody please tell how to do this.
    Prashant

    but this will set the classpath for that particular JVM only.
    Isn't it??? I want that of SYSTEM so that user can access that class path from any JVM instance.
    Prashant

  • How to find cd rom drive in windows and unix platform using java program

    Hi,
    I am having the requirement of finding the cd rom drive
    using java program. I do not know the label and which
    one is the cd rom drive. also I want to know how many
    cd rom drives are there on my system. I want the solution
    for windows and unix platforms.
    If have any suggestions please mail to [email protected]
    Deepak

    Ughhh.. I had the same problem with multi platform file-system detection
    First off - Unix.
    Do you know for sure you have all your drives mounted?? This could be a big problem because java will not see unmounted drives... So you can scour thru your /etc/fstab to find out which drives are available... or you can mount all and show roots... (Yuck!)... You've got timeouts and all sorts of things to worry about...
    I would then shy away from the java.io.File.listRoots() on unix and rely on parsing your fs file. If a user would like to see the medium in the drive. Do a Runtime.exec and mount the drive, then you can grab the filesystem by wrapping it in the java.io.File object. ( NOTE - this will hold well for your NFS mounts as well which might be buried under other FS. So you now have detection for that as well. ) Labels are also noted in this file. Let me know if you don't know the difference between mtab and fstab....
    Second - Winders.... Corney but I love saying that.
    The listRoots is a good solution. As others have said CD-ROMS will not be writable. Use a combination of getName and getPath to decipher the label and mount point.
    Hope this helps!

  • How to extract .sit files(in MAC)  using java program

    Hi,
    please help me , i want to simple program for
    " how to extract .sit files(in MAC) using java program"
    that sit files same as zip files in windows..[                                                                                                                                                                                                                                                                                                                                   

    Thanks for reply...
    but i search in the google about this topic...there is no results will appear..
    the problem is "i have to run program in the MacOS like extract all the
    .sit(StuffIt) extension files. These sit files same as zip files in the windows... we have one tool called StuffIt Expander but it is 3rd party tool. but here requirement is i have to write my own program to extract all the files same as zip file program...
    please do the needful..i am waiting for ur reply,,,

  • Want to send sms using java

    I am developing a stand alone application in java that contains sending sms to certain numbers.
    I want to send sms using java and my phone connected to my pc by usb cable(Not through Bluetooth).
    I am using Linux operating system (Arch linux).
    I tried a few libraries that uses the the online sms portals,but for some reasons i dont want to pay those sites.(just want it to be done using my simcard cause its economical).
    Help appreciated

    880667 wrote:
    I am developing a stand alone application in java that contains sending sms to certain numbers.
    I want to send sms using java and my phone connected to my pc by usb cable(Not through Bluetooth).
    I am using Linux operating system (Arch linux).
    I tried a few libraries that uses the the online sms portals,but for some reasons i dont want to pay those sites.(just want it to be done using my simcard cause its economical).
    Help appreciatede First thing you need to check: are you able to access other services my connecting you mobile by USB to machine (Line GPRS, calling). Because it requires the calling or SMS port access. And you said it is economical by sending SMS using mobile it depends. But most of the times, it is better to use the SMS service provider getway. They provide the details either http or FTP, we just need to put or message in the accepitng form, rest of the things are done by the service provide.

  • How to open specific port using java program

    Hello,
    I want to open ,close port using java comm.plz help me how can i do it.is it possible
    by using java program.later i want to use that specific port to accept the server socket connection .plz
    help me.

    i try this java program.*but it get block in accept method*.tht mean i m not able to make connection with port.
    import java.sql.SQLException;
    import java.io.IOException;
    import java.net.ServerSocket;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    class MakeConn
         public final static int PORT = 7788;
    public static java.net.Socket clientSocket = null;
    public static java.io.PrintWriter pw = null; // socket output stream
    public static java.io.BufferedReader br = null;
    public static ServerSocket server_socket;
         public static void main(String[] args) throws SQLException
         try {
              server_socket = new ServerSocket(PORT);
    clientSocket = server_socket.accept();
    System.out.println("CLIENT>>>" + clientSocket);
         br = new java.io.BufferedReader(new java.io.InputStreamReader(clientSocket.getInputStream()));
    pw = new java.io.PrintWriter(clientSocket.getOutputStream(), true);
    String message = br.readLine().trim();
    System.out.println("message is"+message);
    pw.close(); // close everything
    br.close();
    clientSocket.close();
         catch (Exception ex) {
    ex.printStackTrace();
    }

  • Create RFC Function using Java Program

    hi
    I am trying to create a small utility in java that extracts data from SAP system and loads it to local Db
    For extracting data from SAP we have a custom ABAP function (RFC) running on SAP server that is called from Java using JCO3 APIs
    Installation of this utility on client side involves -
    1.     Installing RFC on Clientu2019s SAP instance
    2.     Installing / Configuring Java code on Clientu2019s machine
    Is there a way to install / create a RFC function using java -JCO APIs so that Step-1 can be omitted?
    I had browsed through a sample provided in examples installed with JCO3 but its very trivial example can someone point to a exhaustive link or explain how this can be achieved using Java program
    Thanks

    Hi Amit
    I am not sure I understand the question. You want to create an RFC in Java? If this is correct why not create a Remote Method in java for example as EJB or Web Service which is more standard than creating an RFC.
    On the other hand if you want to create a RFC client in Java (a Program which calls a RFC in SAP ABAP system) you can use JCo APIs (which can be either standalone or on the NW Java server) or JRA (from NW 7.1 onwards).
    Regards
    Partha

  • I have an iMac OS 10.9.5 - Every time I turn on my system I get the message that it can not access icloud and to fix it using iCloud preferences. I do not want to access or use iCloud, how do I get the message to discontinue?

    I have an iMac OS 10.9.5 - Every time I turn on my system I get the message that it can not access icloud and to fix it using iCloud preferences. I do not want to access or use iCloud, how do I get the message to discontinue?

    Hello mrmacjohn,
    Verifying that any iCloud account that may be signed in is signed out should resolve this error.
    On your Mac, open iCloud preferences, then click Sign Out.
    iCloud: Change iCloud feature settings
    http://support.apple.com/kb/PH2613
    Cheers,
    Allen

  • How to create a directory or Folder  using java program?

    Hi all,
    Can any one know, how to create a directory(new folder) in java.
    can any give me some idea, on creating a directory using java program dynamically.
    thanx in advance

    hi thanks for your answer,
    sorry, actual i know this technique(its my fault i didnt mentioned it)
    i am looking for some what different technique.
    bye
    ram

  • Getting error: E_ADEPT_DISTRIBUTOR_AUTH while access ACS4 using java

    Hello Everyone,
    Thanks for ur time. I am new to ACS4.
    I am trying to access ACS4 using java code and view the response for ALL ITEMS.
    Below is the code that i created using UploadTest reference.
            String targetURL_viewAllItems = "http://xxx.xxxxxxx.com:8080/admin/ManageResourceItem";
            String nonce = Base64.encodeBytes(makeNonce());   
            byte[] hmacKeyBytesSHA1 = TestXMLUtils.SHA1(PASSWORD);
            String hmacKey = TestXMLUtils.hmac(hmacKeyBytesSHA1);
            String output_viewAllItems = "<request action='get' auth='builtin' xmlns='http://ns.adobe.com/adept'><nonce>"+nonce+"</nonce><expiration>2011-08-17T09:43:34-00:00</expiration><hmac>"+hmacKe y+"</hmac></request>";
            System.out.println(output_viewAllItems);
            sendContent(output_viewAllItems, createConnection(targetURL_viewAllItems));
    But after executing this code from my desktop, i am getting the below error response:
    <error xmlns="http://ns.adobe.com/adept" data="E_ADEPT_DISTRIBUTOR_AUTH http://xxx.xxxxxxx.com:8080/admin/ManageResourceItem urn:uuid:00000000-0000-0000-0000-000000000001"/>
    Please help me to figure out the error.
    Thanks
    Rupal Chatterjee

    Are you sure you are signing the URL/.acsm file correctly for those particular books?

  • Interaction with Microsoft Word using Java Programming

    writing Text ON TO MICROSOFT WORD USING java Programming Urgently required

    Go throuh jakarta POI(hssf) to do..No! HSSF which stands for Horrible SpreadSheet Format can be used for Excel (spreadsheets as the name suggests). For Word, you would need to lok at HPSF.

  • I am confused. Tell me what to do.. I am using Indesign and want to go on using the program as cheap as possible. Which possibilities have I got?

    I am confused. Tell me what to do.. I am using Indesign and want to go on using the program as cheap as possible. Which possibilities have I got?

    Not enough information to provide an answer... do you have a licensed (old) version, or do you have a Cloud subscription?

  • How to read system eventlog using java program in windows?

    How to read system eventlog using java program in windows?
    is there any java class available to do this ? or any one having sample code for this?
    Your friend Zoe

    Hi,
    There is no java class for reading event log in windows, so we can do one thing we can use windows system 32 VBS script to read the system log .
    The output of this command can be read using java program....
    we can use java exec for executing this system32 vbs script.
    use the below program and pass the command "eventquery"
    plz refer cscript,wscript
    import java.io.*;
    public class CmdExec {
    public static void main(String argv[]) {
    try {
    String line;
    Process p = Runtime.getRuntime().exec("Command");
    BufferedReader input =
    new BufferedReader
    (new InputStreamReader(p.getInputStream()));
    while ((line = input.readLine()) != null) {
    System.out.println(line);
    input.close();
    catch (Exception err) {
    err.printStackTrace();
    This sample program will list all the system log information....
    Zoe

  • How to read system evenlog using java program in windows

    How to read system evenlog using java program in windows???
    is there any java class available to do this ? or any one having sample code for this?
    Your friend Zoe

    Welcome to the Sun forums.
    >
    How to read system evenlog using java program in windows???>
    JNI. (No.)
    >
    is there any java class available to do this ? or any one having sample code for this?>You will generally get better help around here if you read the documentation, try some sample code and come back with a specific question (hopefully with an SSCCE included).
    >
    Your friend Zoe>(raised eyebrow) Thank you for sharing that with us.
    Note also that one '?' denotes a question, while 2 or more generally denotes a dweeb.

  • Setting System DSN for MS Access Database using Java Code

    How to set the system DSN for Access database using Java Code at runtime....???
    Replies are deeply appreciated...

    I found a 3rd Party MS Access JDBC Driver from a Google search. I downloaded and tried the free trial version. It worked fine but we opted not to purchase the full version and went a different route. If you don't find it, let me know and I'll see if I can track down the name of the product we tested.

Maybe you are looking for

  • Setup failure not recorded in Execution.ResultStatus

    If a step fails during the Setup section of my sequence, the result visible in a VB.NET event handler is "Passed", rather than the expected "Failed" or "Error". Private Sub ExecutionTwoFinished(ByVal sender As Object, ByVal e As NationalInstruments.T

  • Creating function inside a procedure.

    Hi all I am on data base 10g, is it possible to create a function inside a procedure I don't want to use package. thanks in advance.

  • Consuming Web Service Issues

    Hello All, I appreciate any help in getting me pointed in the right Direction. I am trying to pull values from my vender's web services. They required that I place .wsdl file on my server then call to the local file which will then make calls to thei

  • OD User home icon not connected in finder?

    I Have a user that can login to his OD just fine, all docs etc are there, BUT if he clicks on his home (house) icon in the finder is is misted out and states : exampleuser's account cannot be found" but if he clicks on documents in finder it all conn

  • Why do I keep getting a shockwave flash player plug-in failure??

    I am always getting a shockwave flashplayer plug-in error.. I have uninstalled and re-installed adobe.. What should I do next??