My java programe does not work

Hi
I createda java programme with jdeveloper . I compiled my code in all of version (1.3, 1.4, 1.5, 1.6 and default).
But when i try to run my programme in other computers that have j2SE Runtime Environment 5.0 update 11, or java Runtime 2 Environment SE 1.3 - 1.4,
my programme doesnot work.
how can i fix this problem.

Which Jdev version?
What exactly do you mean by 'does not work'?
Timo

Similar Messages

  • TS1702 Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a

    Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a blur.

    Do you have a question? This is a user to user help forum. Apple is not here only other users like yourself. You don't report problems to Apple here.
    By the way, it might help if you indicated where you are located.
    To complain to Apple use http://www.apple.com/feedback/ipad.html

  • I just signed up for a subscription to adobe reader paying EUR 24.40. The program does not work, and I can not even go to my personal page .... help ...?

    I just signed up for a subscription to adobe reader paying EUR 24.40.
    The program does not work, and I can not even go to my personal page .... help ...?

    Adobe Reader is free; it does not require a subscription.
    Did you subscribe to an online service like ExportPDF, PDF Pack, ...?
    What exactly does "not work" mean?

  • Hello Since yesterday evening. My itunse program does not work my mobile. Note  I update the program to ios7 Please help me Thank you

    hi
    Hello
    Since yesterday evening. My itunse program does not work my mobile.
    Note
    I update the program to ios7
    Please help me
    Thank you

    I found this strange glitch that wouldn't let me open my iTunes Store. I tried all the reset options and still iTunes would close a second after it opened. I fixed this. Instead of using the iTunes Store icon on your home page to open it. Go into music and click on store. It will say "Cannot Connect To Store". Just tap ok. Then tap on "featured" on the bottom of the screen. That will take you to the store front page. After that is loaded. Back out and the icon for iTunes Store on the home page should work just fine. Hope that helps.

  • I purchased a program on Mac App store and the program does not act as it should,  also was required to pay up front whereas had I went to the web site, ibank 4 I would have had 30 days free trial an would have found that the program does not work.?

    I purchased a program on Mac App store and the program does not act as it should,  also was required to pay up front whereas had I went to the web site, ibank 4 I would have had 30 days free trial an would have found that the program does not work.?

    Free trials are not available through the Mac App Store.
    Apple is not here. Apple does not answer questions here. This is a user to user support forum. There are only folks here who use Apple products.

  • Now a few of programs does not work with mountian lion. what to do?

    now a few of programs does not work with mountian lion. what to do?

    espons printer/scanner, toast titanum 5.2.1, intuos 4 wacom, appleworks, already updated ms office & order the upgrade for reunion which I hope it will work. 
    thank you mr michael allbritton for your help!

  • My program does not work properly. I run the program but it is not capable of adding any of my ebooks and when I connect my ereader, it recognises the device but  it does not add any ebook either.  I uninstalled the program and reinstalled again but nothi

    my program does not work properly. I run the program but it is not capable of adding any of my ebooks and when I connect my ereader, it recognises the device but  it does not add any ebook either.
    I uninstalled the program and reinstalled again but nothing gone better-
    What should I do?
    Best regards

    Do you have Logitech gaming software installed on the PC? If so, perhaps try the suggestion from the following post:
    Re: Everytime I close Itunes it loads back up

  • Program does not Work

    I have a for loop in which I am reading the content of an array.Also a method is called within the for loop the purpose of this method is to be able to jump to a another array index.
    I have written the program as shown below but it does not work.
    private class Executionionhandler implements ActionListener
    { public void actionPerformed(ActionEvent event)
    { for(int i=0;i<62;i++)
    { int x=array[i];
    int k=x+2;
    look(x);
    public void look(int j)
    { if(j==0)
    button.setText(�Readyl�);
    else if(j=1)
    button.setText(�Go�);
    else if(j=2)
    button.setText(�Stop�);
    else if(j==5)
    i=20;
    else button.setText(�Successful�);
    Any idea why or how can I achieve this?

    http://forum.java.sun.com/thread.jsp?thread=265406&forum=31&message=1006380
    http://forum.java.sun.com/thread.jsp?thread=265328&forum=31&message=1006048
    http://forum.java.sun.com/thread.jsp?thread=265310&forum=31&message=1005982
    http://forum.java.sun.com/thread.jsp?thread=265307&forum=31&message=1005979
    http://forum.java.sun.com/thread.jsp?thread=265307&forum=31&message=1005969

  • Encryption program does not work in IBM JDK

    Hi
    I have a encrypt, decrypt program, which does not work in IBM JDK
    the code is as below, it gives PBEWithMD5AndDES does not exist kind of error when running with IBM JDK
    import java.io.UnsupportedEncodingException;
    import java.security.spec.AlgorithmParameterSpec;
    import java.security.spec.KeySpec;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.SecretKey;
    import javax.crypto.SecretKeyFactory;
    import javax.crypto.spec.PBEKeySpec;
    import javax.crypto.spec.PBEParameterSpec;
    public class MapsPasswordUtil
         Cipher ecipher;
         Cipher dcipher;
         // 8-byte Salt
         byte[] salt = { (byte) 0xA9, (byte) 0x9B, (byte) 0xC8, (byte) 0x32,
                   (byte) 0x56, (byte) 0x35, (byte) 0xE3, (byte) 0x03 };
         // Iteration count
         int iterationCount = 19;
         public MapsPasswordUtil(String passPhrase)
              try
                   KeySpec keySpec = new PBEKeySpec(passPhrase.toCharArray(), salt,
                             iterationCount);
                   SecretKey key = SecretKeyFactory.getInstance("PBEWithMD5AndDES")
                             .generateSecret(keySpec);
                   ecipher = Cipher.getInstance(key.getAlgorithm());
                   dcipher = Cipher.getInstance(key.getAlgorithm());
                   // Prepare the parameter to the ciphers
                   AlgorithmParameterSpec paramSpec = new PBEParameterSpec(salt,
                             iterationCount);
                   // Create the ciphers
                   ecipher.init(Cipher.ENCRYPT_MODE, key, paramSpec);
                   dcipher.init(Cipher.DECRYPT_MODE, key, paramSpec);
              } catch (java.security.InvalidAlgorithmParameterException e)
                   e.printStackTrace();
              } catch (java.security.spec.InvalidKeySpecException e)
                   e.printStackTrace();
              } catch (javax.crypto.NoSuchPaddingException e)
                   e.printStackTrace();
              } catch (java.security.NoSuchAlgorithmException e)
                   e.printStackTrace();
              } catch (java.security.InvalidKeyException e)
                   e.printStackTrace();
         public String encrypt(String str)
              try
                   // Encode the string into bytes using utf-8
                   byte[] utf8 = str.getBytes("UTF8");
                   // Encrypt
                   byte[] enc = ecipher.doFinal(utf8);
                   // Encode bytes to base64 to get a string
                   return new sun.misc.BASE64Encoder().encode(enc);
              } catch (javax.crypto.BadPaddingException e)
                   e.printStackTrace();
              } catch (IllegalBlockSizeException e)
                   e.printStackTrace();
              } catch (UnsupportedEncodingException e)
                   e.printStackTrace();
              return null;
         public String decrypt(String str)
              try
                   // Decode base64 to get bytes
                   byte[] dec = new sun.misc.BASE64Decoder().decodeBuffer(str);
                   // Decrypt
                   byte[] utf8 = dcipher.doFinal(dec);
                   // Decode using utf-8
                   return new String(utf8, "UTF8");
              } catch (javax.crypto.BadPaddingException e)
                   e.printStackTrace();
              } catch (IllegalBlockSizeException e)
                   e.printStackTrace();
              } catch (UnsupportedEncodingException e)
                   e.printStackTrace();
              } catch (java.io.IOException e)
                   e.printStackTrace();
              return null;
    }

    Works for me with the latest IBM JDK. You will need to specify your context i.e. what platform, what JDK/JRE etc etc etc.
    P.S. That exception handling is rubbish.
    Edited by: sabre150 on Mar 23, 2009 6:01 AM
    I suspect that you are using JDK 1.5 and that you have fallen foul of the bug where key.getAlgorithm() does net return the correct value. You get round this by specifying it as             SecretKey key = SecretKeyFactory.getInstance("PBEWithMD5AndDES").generateSecret(keySpec);
                ecipher = Cipher.getInstance("PBEWithMD5AndDES");Of course if you are clever you will just define a static final constant for this algorithm.
    Edited by: sabre150 on Mar 23, 2009 6:09 AM

  • Program does not work after build

    Hi,
    I have built a program today that builds fine (no errors or warnings) but it fails when running the exe.  I am using drivers for a spectrum analyzer (Rohde & Schwarz FSG) and when one of these drivers is called, it returns an error.  Other drivers are run before this particular vi.  Anyone have any idea how to troubleshoot this?  I'm going to try and build the vi on its own and see if it works.  In the mean time, if anyone has any suggestions, please let me know.
    UPDATE: I built the file on its own and it still does not work.  Again, when I run it in developer mode, it works fine.
    VISA Write in rsspecan_core_write.vi->rsspecan_core_attribute_wr​ite_int.vi:3->subrsspecan_core_attribute_express.v​i:2->rsspecan Configure Averaging Type.vi:Instance:Instance           1 41Saved   rsspecan Configure Averaging Type .vi:1->rsspecan Configure Averaging Type.vi
    Thanks.

    I've decided to post the vi since it is free to download.  If anyone has an FSG and wants to build this file and see if they can run it, please do so.
    Attachments:
    rsspecan Configure Averaging Type.vi ‏31 KB

  • Java programs do not work correctly in my computer.

    This is very simple. Every java program I have, such as the Java Control Panel or the LimeWire (downloads program) can't work correctly, meaning the program's window appears but not its content; showing a blank window instead of showing me the program. I have reinstalled the complete java software several times but nothing changes.
    I will appreciate a quick answer, and sorry for my bad english, thanks...
    Tomas. Buenos Aires, Argentina.

    OHHHHH!!! HOW STUBBORN I AM!!!. You were right, the problem started after my video card was reinstalled!. Thanks for the link, in fact, the porblem is perfectly registred by Java:
    www.java.com/en/download/help/5000041100.xml
    Thanks, this forum is the bbbest one ever!.
    Tomas, Buenos Aires, Argentina.

  • Java GUI does not work in Ubuntu

    Hello everybody,
    I made an GUI application using Swing and Eclipse. When I run it, the GUI shows up, and the program works until I place the pointer on top of the program's window. When I do so, the program freezes and after a couple of seconds I get a message telling me that the program is not responding.
    The code itself should not be the problem because I tried several well established Hello Worlds applications. Other users also report that this code works fine on theri computers.
    Probably it is important to notice that SWT based Hello World applications work fine on my Ubuntu (only Swing based applications freeze).
    It has been suggested that the problem can be in the default JDK used by Ubuntu. I tried to solve the problem in this direction. I typed "aptitude search jdk" in the command line and found out that "sun-java6-jdk" is the only JDK installed on my computer. So, it should be OK.
    Any ideas what can be wrong?
    The old dicussion about this subject was blocked (it is here: http://forums.sun.com/thread.jspa?threadID=5402905&tstart=0)

    // This code generate a text area.
    // Taken from http://www.javafaq.nu/java-article743.html
    import java.awt.*;
    import javax.swing.*;
    public class HelloWorldSwing extends JFrame {
             JTextArea m_resultArea = new JTextArea(6, 30);
             //====================================================== constructor
             public HelloWorldSwing() {
                 //... Set initial text, scrolling, and border.
                 m_resultArea.setText("Enter more text to see scrollbars");
                 JScrollPane scrollingArea = new JScrollPane(m_resultArea);
                 scrollingArea.setBorder(BorderFactory.createEmptyBorder(10,5,10,5));
                 // Get the content pane, set layout, add to center
                 Container content = this.getContentPane();
                 content.setLayout(new BorderLayout());
                content.add(scrollingArea, BorderLayout.CENTER);
                 this.pack();
             public static void createAndViewJFrame() {
                 JFrame win = new HelloWorldSwing();
                 win.setTitle("TextAreaDemo");
                 win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                 win.setVisible(true);
             //============================================================= main
             public static void main(String[] args) {
                  SwingUtilities.invokeLater(new Runnable(){
                       public void run(){
                            createAndViewJFrame();
    }

  • Communication between SOAP and java proxy does not work

    Hi Group,
    i want to proceed following scenario:
    SOAP->XI->JavaProxy
    For that i have created of the message interface of a remote function module my java proxy.
    Calling the java proxy with following scenario works successfully:
    RFC->XI->JavaProxy
    Further, i have created in the integration engine(configuration) my wsdl file. In the SAP
    Netwaever Developer Studio, i have made a standalone proxy project, that is consuming the
    web service out of the wsdl file.
    Testing the web service client with following example works fine:
    SOAP->XI->RFC
    But when i try the scenario SOAP->XI->JavaProxy, i get following rmi exception on client side:
    java.rmi.RemoteException: Service call exception; nested exception is:
    java.lang.Exception:  Element 'Z_GPS_PING.Response' not found in response message.
    at com.demo.sap.MI_WEBSRV_GPS_PING_OUTBBindingStub.MI_WEBSRV_GPS_PING_OUTB(MI_WEBSRV_GPS_PING_OUTBBindingStub.java:86)
    at com.demo.test.TT_Pinger.main(TT_Pinger.java:36)
    Caused by: java.lang.Exception:  Element 'Z_GPS_PING.Response' not found in response message.
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.getResponseDocument(MimeHttpBinding.java:942)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1231)
    at com.demo.sap.MI_WEBSRV_GPS_PING_OUTBBindingStub.MI_WEBSRV_GPS_PING_OUTB(MI_WEBSRV_GPS_PING_OUTBBindingStub.java:79)
    ... 1 more
    In the monitoring, the execution of both directions is ok. In the response message, i can see the result of the java proxy.
    Here is the result:
    <ns:Z_GPS_PING.Response xmlns:ns="urn:sap-com:document:sap:rfc:functions">
         <E_RETURNCODE>PINGOK  </E_RETURNCODE>
    </ns:Z_GPS_PING.Response>
    My first thought, was, that i have a problem with the prefix, so i have changed it via xslt transformation into "rfc",
    but it got the same error message.
    Does anyone know, which problem we have here?
    For any hint or suggestion, i would be much obliged.
    Greetings,
    Sigi
    P.S. WAS and Sap Netweave Dev Studio is on patch level 12

    Hi Group,
    the SAP has solved the Problem now.
    The coresponding OSS note is: 862926
    (release date 18.07.05)
    The reason was, that the response payload name wasn't
    "maindocument". For that, the adapter didn't found the payload and returned an emty one.
    Greetings,
    Sigi

  • Pathname for java.exe does not work

    Hi all,
    on Windows, when prompted for full name to java.exe, I enter:
    C:\Program Files\Java\jre1.5.0_06\bin\java.exe
    Next, pressing OK, I get an error:
    Cannot find a J2SE SDK installed at path: C:\Program Files\Java\jre1.5.0_06.
    What am I doing wrong here?
    Kind regards - Remi.

    OK got it.
    I now use D:\oracle\Raptor\raptor\jdk\jre\bin\java.exe from my latest beta version.
    This appears to work just fine.
    Thanks - Remi.

  • JTextField and JTextArea in Mac with Java 6 does not work

    Hi there,
    I just installed the new version of Java 6 for Mac and I my text fields and text areas just stoped working. I can paste text to them, but they do not respond to my typing (only backspace works!!). Did anyone have this problem?
    I guess it is still beta and they are going to fix it in time. But I would be happy if I was not the only one and if there is any way to fix it for now.
    I just tried simple code like:
    main... {
      JFrame f = new JFrame();
      f.add(new JTextField(10), BorderLayout.NORTH));
      f.add(new JTextArea(5,2), BorderLayout.CENTER));
      f.pack();
      f.setVisible(true);
    }All the best,
    RC

    ...hm, nope, works for me...

Maybe you are looking for