Using java on linux v/s windows

wondering if anyone could help me out here.
can't seem to find a lot of doucumentation on this .. or may be i was just searching using the wrong key words!!!

Hi again,
coz i just
learnt from the other post u can't run certain exec
commands...wat else can and can't u do.?just try it. it SHOULD NOT be different except when you try to access
system specific thinks like interacting with system processes, file handling and so on. But of course you can run exec commands, but you
will see that the command has to be different. I wrote on Linux and on
Windows (ok, I never tried to port a program between the platforms) and
I can say it is not that different.
Adrian

Similar Messages

  • Java on Linux vs. Windows

    Dear All,
    I was able to write below AES/CFB/NoPadding encryption/decryption program (with many thanks to the Internet) and it works fine on Windows. But it's "getByte()" gives problems on Linux.
    Which is the "symmKey.length()" inside "SymmCipher" constructor is only 15 chars. But "symmKey.getBytes().length" has become 33.
    Can anybody answer?
    Thanks in advanced.
    - amilww
    // aesDemo.java
    class aesDemo
         public static void main(String[] args) throws Exception
              String keyHexStr = "CAABBCCDDEE11223344556677889900F";
              String ivStr     = "0000000000000001";
              String inputStr  = "This in a test message";
              // Intermediate variables
              String cipherTextStr, plainTextStr,
                     reqHexMsgStr,  repHexMsgStr,
                     repMsgStr;
              SymmCipher symmCipher = new SymmCipher("AES/CFB/NoPadding",
                                                     new String(Util.hex2Bytes(keyHexStr)),
                                                     ivStr);
              // Encrypt the input string
              cipherTextStr = symmCipher.encrypt(inputStr);
              // Convert to an uppercase Hex request string
              reqHexMsgStr = Util.bytes2Hex(cipherTextStr.getBytes()).toUpperCase();
              // Obtain the reply; assume to be the request
              repHexMsgStr = reqHexMsgStr;
              // Convert reply hex message to a string
              repMsgStr = new String(Util.hex2Bytes(repHexMsgStr));
              // Decrypt the reply string
              plainTextStr = symmCipher.decrypt(repMsgStr);
              // Debub output
              System.out.println("=============================================");
              System.out.println("Encrypting/decrypting using AES/CFB/NoPadding");
              System.out.println("---------------------------------------------");
              System.out.println("Input String: '" + inputStr + "'");
              System.out.println("Encr request: '" + cipherTextStr + "'");
              System.out.println("Req Hex Msg:  '" + reqHexMsgStr + "'");
              System.out.println("Rep Hex Msg:  '" + repHexMsgStr + "'");
              System.out.println("Encr reply:   '" + repMsgStr + "'");
              System.out.println("Response:     '" + plainTextStr + "'");
              System.out.println("=============================================");
    // SymmCipher.java
    import javax.crypto.Cipher;
    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.SecretKeySpec;
    class SymmCipher
         private String cipherForm;
         // e.g.: "AES/CFB/NoPadding", "DES/CTR/NoPadding", "DES/ECB/PKCS5Padding"
         private String cipherMethod;
         private SecretKeySpec   keySpec;
         private IvParameterSpec ivSpec;
         private Cipher          cipher;
         public SymmCipher(String cipherForm, String symmKey, String iv) throws Exception
              this.cipherForm   = cipherForm;
              this.cipherMethod = this.cipherForm.split("/")[0];
              this.keySpec = new SecretKeySpec(symmKey.getBytes(), this.cipherMethod);
              this.ivSpec  = new IvParameterSpec(iv.getBytes());
              this.cipher = Cipher.getInstance(this.cipherForm);
         public String encrypt(String plainText) throws Exception
              // Encrypting...
              this.cipher.init(Cipher.ENCRYPT_MODE, this.keySpec, this.ivSpec);
              return new String(this.cipher.doFinal(plainText.getBytes()));
         public String decrypt(String cipherText) throws Exception
              // Decrypting...
              this.cipher.init(Cipher.DECRYPT_MODE, this.keySpec, this.ivSpec);
              return new String(this.cipher.doFinal(cipherText.getBytes()));
    // Util.java
    class Util
         public static String bytes2Hex(byte buf[])
              StringBuffer strbuf = new StringBuffer(2 * buf.length);
              for (int i = 0; i < buf.length; i++)
                   if (((int) buf[i] & 0xff) < 0x10)
                        strbuf.append("0");
                   strbuf.append(Long.toString((int) buf[i] & 0xff, 16));
              return strbuf.toString();
         public static byte[] hex2Bytes(String hex)
              int    len = hex.length();
              byte[] buf = new byte[((len + 1) / 2)];
              int i = 0, j = 0;
              if (1 == (len % 2))
                   buf[j++] = (byte) hexDigit(hex.charAt(i++));
              while (i < len)
                   buf[j++] = (byte) ((hexDigit(hex.charAt(i++)) << 4) |
                   hexDigit(hex.charAt(i++)));
              return buf;
          * Returns the number from 0 to 15 corresponding to the hex digit <i>ch</i>.
          * @param ch hex digit character (must be 0-9A-Fa-f)
          * @return   numeric equivalent of hex digit (0-15)
         public static int hexDigit(char ch)
              if (('0' <= ch) && ('9' >= ch))
                   return ch - '0';
              if (('A' <= ch) && ('F' >= ch))
                   return ch - 'A' + 10;
              if (('a' <= ch) && ('f' >= ch))
                   return ch - 'a' + 10;
              return(0);     // any other char is treated as 0
    }

    This statement
         return new String(this.cipher.doFinal(plainText.getBytes()));     has two problems.
    1) It relies on the default character encoding when converting the plainText to bytes and the default character encoding is platform, operating system and user dependent. It is far far better to specify an encoding yourself - I always use utf-8.
    2) You are converting the essentially random binary result of the encryption to a String using new String(encrypted bytes). String should never be used as a container for binary data unless something like Hex or Base64 is used because, depending on the character encoding, it is not reversible for most character encoding. If you need a Hex or Base64 encoder then Google for Jakarta Commons Codec.

  • Using java API (dns_sd.jar) in Windows XP does not discover any service

    Hi,
    I have a bonjour discoverable service running on an Ipad and used the DNSSD.resolve java API to discover the service. I installed bonjour for windows and set the class path to take the dns_sd.jar file. I verified that the dnsResponder service is running... However, I am not able to discover the service. I have the same program running on a Mac and there is able to discover the service all the times. I hope someone has experienced the same problem and have a suggestion/solution to post. Thanks in advance.
    --Beto

    Are you doing any JNI or native calls during start-up? That's my quess.
    If you are, must be calling win2000 functions.

  • Connection with Microsoft Access using Java on Linux

    Hi,
    I am very new to Linux & trying to move my application from Windows to Linux.
    I am downloading one database(*.mdb) file from an url & want to select records from tables & add them to my My Sql database.
    Is there any way to connect to Access database on Linux machine ( Without using different Windows machine having Ms Access installed).
    Thanks in advance.
    Regards,
    Veena

    I am having the same problem.
    jackcess worked fine with Access 2000.
    But i want to work with Access having previous version (probably 97).
    Is there any way to do this?

  • Successful using Java Print Service API on Windows 32 Platform

    Hello,
    Using the JSP API supplied with JDK1.4, I was able to print successfully the following types of documents :
    1. Text
    2. GIF, JPG... (images)
    3. PostScript files.
    But could not print "HTML" files. THe problem is that the HTML files are getting printed as text files with all the HTML tags.
    Any pointers are appreciated.
    Thanks
    TJ

    You will need to load the html into something that can render html. The printer doesn't know how to do it. It just sees plain text that you are sending. Try using JTextPane or JEditorPane (I think). It can render html files for you. Then just print that component.
    1) Create JEditorPane or JTextPane.
    2) Set contents of pane as the html file or string you want to print.
    3) Use the Graphics2D API to adjust the component coordinate space to the printer coordinate space.
    4) Render the component (JEditorPane or JTextPane) on the printer.
    There is a very nice tutorial for printing components here: http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-Printing.html.
    Hope this helps.

  • Problem of accesing MS Acess database on Linux using Java

    Below is my java code and errors found. Can anyone guide me tell me what is the problem and how to success access the .mdb file using Java on Linux?
    import java.sql.*;
    class readmdb
    {      public static void main(String[] args)
    {    String url;
    Connection con;
    Statement stmt;
    try
    {     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(java.lang.ClassNotFoundException e)
    {    System.out.print("ClassNotFoundException: ");
    System.out.println(e.getMessage());
    try
    {     con = DriverManager.getConnection("jdbc:odbc:DRIVER={/usr/local/lib/libmdbodbc.o.O}};DBQ=/home/powerstation/db/Database.mdb");
    stmt = con.createStatement();
    stmt.close();
    con.close();
    catch(SQLException ex)
    { System.err.println("SQLException: " + ex.getMessage());
    Errors messages found after i executed the java code
    shown above on linux platform.
    Exception in thread "main"
    java.lang.NullPointerException
    at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:436)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:153)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    atjava.sql.DriverManager.getConnection(DriverManager.java:193)
    at readmdb.main(readmdb.java:27)

    jschell,
    ODBC shell is the odbc.ini or odbcinst.ini? No.
    The shell is something that you explicitly installed. Just like you installed Apache, or perl, or a C++ compiler, or even a CD driver.
    If yes,
    What is the difference between odbc.in and
    odbcinst.ini? No idea. But on a windows box those are ini files that specify odbc info. I don't think ini files are going to help on linux.
    Which of them will be execute when i
    want to establish a connection using "jdbc:odbc:...."
    in DriverManager.getConnection?I am rather sure that neither of them would 'execute'
    >
    Is it MS Access ODBC linux driver is the file like
    libodbc.so, libmdbodbc.so, libmdbsql.so and so on?No idea, but I doubt it.
    What makes you think that you even have a MS Access ODBC linux driver on your box?
    Then, can u tell me which is MS Access ODBC linux
    driver or what is the driver file name for MS Access
    ODBC linux driver?Nope.
    If you installed a MS Access ODBC linux driver, then the ODBC shell will know where it is.
    And if you did install such a driver you should post the link where you got it here, because as far as I know, there is no such driver (nor is there one for MS SQL Server.)

  • How to use Java Robot to click the same button multiple times

    Hi All,
    I am trying to use Java Robot to turn a Windows utility located on the Desktop by clicking the same button on and then off with the following code:
      1.  Robot robot1 = new Robot();
      2.  robot1.mouseMove(400,180);
        // Turn on the utility
      3.  robot1.delay(100);
      4.  robot1.mousePress(InputEvent.BUTTON1_MASK);
      5.  robot1.delay(100);
      6.  robot1.mouseRelease(InputEvent.BUTTON1_MASK);
        //Wait for 2 minutes
      7.  robot1.delay(200);
        // Move the mouse to disconnect button
      8.  robot1.mouseMove(400,180);
        // Turn off the utility
      9.  robot1.mousePress(InputEvent.BUTTON1_MASK);
    10. robot.delay(100);
    11. robot.mouseRelease(InputEvent.BUTTON1_MASK);However, only the first click (line 1 - 7) worked. Everything from step 8 onwards doesn't appear to be doing anything. Even instantiating another robot2 to carry out step 8 - 11 did not work either. Also have tried running steps 9 - 11 only. ie skip 8.
    My aim is to turn this tool on and off at regular interval.
    Any assistance would be greatly appreciated.
    Thanks in advance,
    Jack

    Hi darth_code_r and Vincent,
    Both you and Vincent are right about insufficient time between the release ( 6 ) of mouse button and step ( 9 ) press the same button again to turn it off. You are also correct in saying that it was not necessary to move the mouse again ( 8 ) since it was sitting on the right button already.
    Below is the code I have ended up with which worked for me:
    1.  Robot robot1 = new Robot();
    2.  robot1.mouseMove(390,150);
    4.  robot1.mousePress(InputEvent.BUTTON1_MASK);
    6.  robot1.mouseRelease(InputEvent.BUTTON1_MASK);
         //Wait for 3 minutes
    7.  robot1.delay(30000);
    9.  robot1.mousePress(InputEvent.BUTTON1_MASK);
    11. robot1.mouseRelease(InputEvent.BUTTON1_MASK);This utility also takes a few seconds to turn itself on and vice versa. As a result, it is necessary to give it sufficient time to turn on prior to turning it off again with the second mouse press.
    Thanks to both of you very much,
    Jack

  • Using java on windows vista 64 bit

    Hi, I am using a program for the univercity which use java, and it work fime on 32 bit operation systems such as ubuntu linux and XP/vista... but when I try to run it on the vista 64 bit on my AMD Athlon 64 bit I get the msg:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3184
    at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Unknown Source)
    at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
    at sun.awt.shell.ShellFolder.get(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.cr
    eateValue(Unknown Source)
    at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
    at javax.swing.UIDefaults.get(Unknown Source)
    at javax.swing.MultiUIDefaults.get(Unknown Source)
    at javax.swing.UIDefaults.getIcon(Unknown Source)
    at javax.swing.UIManager.getIcon(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installIcons(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JFileChooser.updateUI(Unknown Source)
    at javax.swing.JFileChooser.setup(Unknown Source)
    at javax.swing.JFileChooser.<init>(Unknown Source)
    at javax.swing.JFileChooser.<init>(Unknown Source)
    at SimulatorsGUI.ROMComponent.<init>(Unknown Source)
    at SimulatorsGUI.CPUEmulatorComponent.<init>(Unknown Source)
    at CPUEmulatorMain.main(Unknown Source)
    I tryed to istall the 64 bit java but could not since when I tryed it said that my CPU does not support this program..
    Any solution?
    Thanks
    Amir

    Yes.
    Mylenium

  • How to run SQL script file on Linux using Java ?

    Hi,
    I need to execute .sql file using java. I used following approach for this.
    private void runScriptEvent(java.awt.event.ActionEvent evt) {                               
            String sqlOutput = "";
            String sqlPromptLines="";
            String currentFunctionName = "";
            if(con!=null){
                String userName = jTextField4.getText();
                String password = jPasswordField1.getText();
                String databaseName = jTextField3.getText();
                try {
                    String script_location = "";
                    ProcessBuilder processBuilder =null;
                    Process process = null;
                    //File file = new File("C:/ScriptFile");
                    File file = new File("./SQL_Script");
                    //File file = new File("E:\\install\\SQL_Script");
                    if(file.exists()){
                        File [] list_files= file.listFiles(new FileFilter() {
                                        public boolean accept(File f) {
                                        if (f.getName().toLowerCase().endsWith(".sql"))
                                        return true;
                                        return false;
                    int count = 0;
                        for (int i = 0; i<list_files.length;i++){
                            script_location = "@" + list_files.getAbsolutePath();//ORACLE
    //currentFunctionName = list_files[i].getName();
    StringTokenizer st = new StringTokenizer(list_files[i].getName(), ".");
    while(st.hasMoreTokens()) {
    currentFunctionName = st.nextToken();
    String extention= st.nextToken();
    System.out.println("Function Name = "+currentFunctionName + "\t Extention = " + extention);
    processBuilder = new ProcessBuilder("sqlplus",userName+"/"+password+"@"+databaseName, script_location); //ORACLE
    processBuilder.redirectErrorStream(true);
    process = processBuilder.start();
    BufferedReader in = new BufferedReader(new InputStreamReader(process.getInputStream()));
    String currentLine = null;
    while ((currentLine = in.readLine()) != null) {
    sqlPromptLines = " "+sqlPromptLines + currentLine +"\n";
    count ++;
    System.out.println(count+" " + currentLine);
    if(currentLine.equalsIgnoreCase("Function created.")){
    sqlOutput = "\n" sqlOutput currentFunctionName + " " currentLine"\n" ;
    break;
    }// end while
    in.close();
    process.destroy();
    }//end for
    }//end if file exists
    } catch (IOException e1) {
    jTextArea1.setText(e1.getMessage());
    System.out.println("Script Done");
    jTextArea1.append(sqlOutput);
    }// end id Connection is not null
    Above code working appropriate on Windows but not on Linux.
    is there any changes needed ?
    Regards,
    Ajay
    Edited by: Ajay Sharma on Nov 21, 2012 6:43 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi gimbal2,
    about code
    jTextArea1.setText(e1.getMessage());I am using this code so that the user will be prompted with a message rather than stack trace.
    About the issue I am getting on linux i believe its because of following statement.
    processBuilder = new ProcessBuilder("sqlplus",userName+"/"+password+"@"+databaseName, script_location); //ORACLERegards,
    Ajay
    Edited by: Ajay Sharma on Nov 23, 2012 12:05 PM
    Edited by: Ajay Sharma on Nov 23, 2012 12:06 PM

  • Open a PDF file in linux using java

    Hi..
    How can I open a PDF file in linux using java.
    I am able to open PDF in windows and mac using this code
    in Windows
    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + path_of_PDF);
    in mac
    Runtime.getRuntime().exec("open " + path_of_PDF);
    But nothing is working with linux.
    Please help
    Thanks

    One thread is enough:
    http://forum.java.sun.com/thread.jspa?threadID=5267458

  • Open PDF file in linux using java

    Hi..
    How can I open a PDF file in linux using java.
    I am able to open PDF in windows and mac using this code
    in Windows
    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + path_of_PDF);
    in mac
    Runtime.getRuntime().exec("open " + path_of_PDF);
    But nothing is working with linux.
    Please help
    Thanks

    appi wrote:
    Hi.. I found the JDIC binary files. There are different binaries for all the plateform. Is there any solution which is independent of plateform.Yes, and we already told you: Use JDK6, which has those libraries built into the standard class library.
    How can I use these binaries in my existing project. does it work, If I place them at same place where other .class files are kept.Read the documentation of the JDIC project. I'm sure they answer this question in their FAQ.

  • Problems using RMI between linux and windows.

    I have problems using RMI between linux and windows.
    This is my scenario:
    - Server running on linux pc
    - Clients running on linux and windows PCs
    When a linux client disconnect, first time that server try to call a method of this client, a rmi.ConnectException is generated so server can catch it, mark the client as disconnected and won't communicate with it anymore.
    When a windows client (tested on XP and Vista) disconnect, no exceptions are generated (I tryed to catch all the rmi exception), so server cannot know that client is disconnected and hangs trying to communicate with the windows client.
    Any ideas?
    Thanks in advance.
    cambieri

    Thanks for your reply.
    Yes, we are implementing a sort of callback using Publisher (remote Observable) and Subscribers (remote Observer). The pattern and relative code is very well described at this link: http://www2.sys-con.com/ITSG/virtualcd/java/archives/0210/schwell/index.html (look at the notifySubscribers(Object pub, Object code) function).
    Everything works great, the only problem is this: when a Publisher that reside on a Linux server try to notify something to a "dead" Subscriber that reside on a Windows PC it does't receive the usual ConnectException and so tends to hang.
    As a workaround we have solved now starting a new Thread for each update (notification), so only that Thread is blocked (until the timeout i guess) and not the entire "notifySubscribers" function (that contact all the Subscribers).
    Beside this, using the Thread seem to give us better performance.
    Is that missed ConnectException a bug? Or we are just making some mistake?
    We are using java 6 and when both client and server are Linux or Windows the ConnectException always happen and we don't have any problem.
    I hope that now this information are enough.
    Thanks again and greetings.
    O.C.

  • How to run SAP BUSINESS ONE 8.8 clients on windows and use MaxDB on linux/W

    Good day,
    As the subject shows we have SAP BUSINESS ONE 8.8 and I want to find out how to use it in combination with MaxDB instead of MS SQL. I find a lot of MaxDB stuff on the net but no guides on how to setup SAP BUSINESS ONE 8.8 clients on windows workstations and connect them to MaxDB.
    Is this possible and if so how do I go about doing it ?
    Any assistance is greatly appreciated .

    Hi,
    I suggest you to check the supported server for B1 in this link:
    http://service.sap.com/smb/sbo/platforms
    You will know the sap b1 supported platform.
    If you really want to use maxDB on linux/W as B1 server, you can send a development request to SAP AG.
    JimM

  • Want to create a new folder in Windows using Java?

    Hello everyone!!!
    The situation is I want to create a folder using Java.
    What I am doing is I am asking client to upload files.If the client is uploading for the first time a new folder is created on the server side and all the files related with that client will be uploaded in that folder only.Can anyone help me with the code.I am using html for letting client select the file to be uploaded and jsp to upload the file .The server I am using is Tomcat5.5 and OS is Windows Xp.
    Please help me with the code or any alternate logic.
    Thanks in advance.

    create a java.io.File object for the path you'd like your directory to have and call .mkdir() on it (or mkdirs() if you need to create a hierarchy of directories).

  • How to access a file in Unix server from windows using java

    I want to access a file in unix server from windows using java program.
    I have the following code. I am able to open the url in a web browser.
    String urlStr="ftp:user:passwd@unix-server:ftp-port//javatest/test.csv;type=i";
    URL url = new URL(urlStr);
    BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream)));
    String inputLine;
    while((inputLine=in.readLine()))!=null){
    System.out.println(inputLine);
    in.close();
    I get the following error
    java.io.FileNotFoundException: /javatest/test.csv
    at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:333)
    at java.net.URL.openStream(URL.java:960)
    at com.test.samples.Test.main(Test.java:45)

    urlStr="ftp:user:passwd@unix-server:ftp-port//javatest/test.csv;type=i";
    I have given the format of the urlStr that I am using in the code. The actiual values are used in my code. I have tried pasting this url in the browser and it opens the file.

Maybe you are looking for

  • Installing Oracle 9i R2 on SuSE 8.2 Pro

    I am trying to install Oracle 9i Release 2 on SuSE 8.2 Pro. I receive the following error message in the Universal Installer after selecting General Purpose as the Database Configuration: "Thrown when the IP address of a host cannot be determined" Se

  • How can i place a query developed in BEX to portal

    Hi Experts, Can any one let me know the Step-by-Step procedure on how can i Migrate/Transport a query developed in BEX to Portal. Thanks in Advance

  • Finder freezes after multiple file copy

    Hi!  I recently bought an external hard disk drive (1TB) and had it formatted for use of the Mac.   I copied all the files in my All Images folder to the HDD by selecting all the files and dragging to the HDD.   However, it seems to have copied/dupli

  • Pc turns off with picture saved in iPhone.

    When i take a picture with my iphone4 it gets saved automatically, but when I plug my phone into my computer the computer will not stay on. So I have to delete the photo from my phone then computer will stay on for iTunes and  such. Anyone know why i

  • JAX-WS and JAXB 2.0 for ComplexTypes

    I have a simple web service method that returns a string. I want to enhance this method to return a Java object. Do I have to explicitly use JAXB and have the web service method return the marshalled data string? And then unmarshall on the client sid