Download .jar file

hello,
i use the emulator to download the HelloWorld.jar file from a website, but when i do that. the emulator can access that website and list the jar file and jad file. and the emulator asked me to choose one to install, but when i choosed Helloworld.jar then it display the error:
HelloMIDlet.jar connot be found at this URL. Contact the application provider for more information
I dont know why, can anyone tell me that. pretty thanks

hi,
thanks for your reply, i still got the same problem. i changed the URL in jad file. then create jar file. still doesnt work.
if i directly go http://homepage.cs.latrobe.edu.au/g2mao it will list the jad files and jar files. but cannt install.
but if i go http://homepage.cs.latrobe.edu.au/g2mao/Menu.jar
it will make error: No MIDlet suites found. Check the URL to make sure it is correct.
what i am guessing is the sever side. because when i use apache on my own computer then it can be downloaded. but i did change the mime.types. i added one more line(application/java-archive jar) into the mime.types file.
so it works. i guess i should change the sever mime.types file. but im not sure.
do you have any suggestion? thanks. and thanks again for your reply.

Similar Messages

  • Getting Exception in JWS while downloading jar files from server

    Hi All,
    I am running JWS on j2re1.4.2_10(build 03). while JWS is trying to download jar files from web server, I am getting the following Exception.
    All the jar files are signed. Any idea ?
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Are you able to download your *.jar files directly from server
    For example say,
    http://127.0.0.1:8080/test/testme.jarIf yes,
    Then problem should be with your *.jnlp file. Check all your *.jar with respect to context location of your url from where you are downloading *.jnlp file

  • Location of downloaded .jar files?

    When I was using the java in the jre package, downloaded .jar files would go to ~/.java  I have switched to the openjdk6 package and I have no idea where downloaded .jar files go now... it seems as though they are cached in memory and not saved to disk at all.  Are they saved somewhere?

    openjdk and jre don't do the same.
    openjdk is a jdk (Java Development Kit) and jre is Java Runtime Environment.
    And the files should be downloaded into your download directory which you've either set manually or is maybe $HOME/Download.

  • Where the javaws stores downloaded jar files?

    I met problem to start jnlp file in command line. System shows me error like "file system is full". So, I wonder where the javaws stores downloaded jar file. And how can I change it to an available directory. Thank you.

    >
    I met problem to start jnlp file in command line. System shows me error like "file system is full". So, I wonder where the javaws stores downloaded jar file. And how can I change it to an available directory. >- Open the [Java Control Panel|http://java.sun.com/docs/books/tutorial/information/player.jnlp].
    <if necessary>
    - Close the application viewer/Change to the 'General' tab
    </if necessary>
    - Click the Temporary Internet Files 'Settings' button.
    - Click the 'Change' button to move the cache, and follow the prompts
    Of course, in that same dialog are controls for changing the compression level, and adjusting the maximum size, of the JWS cache - you are probably better off trying that first.

  • Need to download JAR files from more than ONE HTTP-server ?

    Hello,
    We have a need to download JAR files for an application, from more than ONE HTTP-server, i.e. any specified HTTP-server in an extremely secure network.
    Does a solution exist for this requirement ? Is it possible to design a solution our selfes for this problem ?
    Best Regards
    Peter

    We have a need to download JAR files for an
    application, from more than ONE
    HTTP-server, That can be done using the extension element
    from within the resources element of the main JNLP.
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources
    The extension element should refer to another JNLP
    (on the other site) that refers to the Jars. The jar files
    in any such (foreign) JNLP need to be signed, and the
    JNLP files should declare itself as a <component-desc>.
    For any level of detail on using extensions/components,
    download the spec. mentioned in the second paragraph
    of that section linked above. Unfortunately I can find no
    web browsable form of the information.
    Here is an example though..
    http://www.javasaver.com/testjs/jws/04/glclock.jnlp
    This (sandboxed) screenaver demo comes off my
    javasaver site. It refers to the JOGL API via an
    extension element in the JNLP, that points directly
    to the JOGL site. You might notice the security
    warning that is produced mentions..
    Name:      JOGL
    Publisher: sun microsystems, inc
    Source:    https://jogl.dev.java.net
    ..i.e. any specified HTTP-server in an
    extremely secure network. I do not know about an extremely secure network,
    but if it is OK to launch a normal JNLP for an
    application with a 'main()' from the server, I guess
    it should be OK to launch extensions off it - you
    might need to set up some tests.

  • Problem downloading JAR files after PIX 7.2(3) upgrade

    Hello, I have upgraded a PIX 515 Firewall from Version 6.3(4) to
    7.2(3) and am now experiencing problems downloading .jar files from
    some web servers. I have tried disabling the "inspect http" option but
    still not joy. I also tryied this:
    http://www.cisco.com/warp/public/110/pix-asa-70-browse.pdf
    But no luck.
    Have anyone had similar problems.
    Thanks in advance.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings
    3. Settings>General>Reset>Reset All Settings

  • How do i find and download jar files?

    I have some old code and it uses import com.sun.java_cup.internal.parser
    When compiling gives error on this.
    Googleing this shows that its part of the rt.jar file. rt.jar is in the jre/lib folder. That is part of my classpath but still wont compile how do i find what an import belongs to and where can i download these jar files..
    Java really is not a friendly language to me.

    You don't need to download the rt.jar or do anything with it since it's an integral part of the JRE. If a class isn't there, then because you have too old a JRE/JDK and it's not there yet, or because it was never part of the public API and is gone now.
    When I google, I only find references to Java 6. So you probably need that, which means the sources can't be sooo old.

  • Java error while trying download jar file into SYS Schema

    Hi,
    I am trying to use UTL_DBWS package for Consuming Web Services in Oracle 10.2.0.4
    I donwloaded latest copy of the dbwsclient.jar file from the below link.
    http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html
    I chose the below option for downloading the jar file since i use 10.2.0.4 oracle version.
    10.1.3.1 Callout Utility for 10g and 11g RDBMS (ZIP, ~13MB)
    I tried to download the jar file into SYS schema using the below command.
    loadjava -u sys/password -r -v -f -genmissing -s -grant public D:\oracle\Product\10.2.0\DB_1\sqlj\lib\dbwsclientws.jar D:\oracle\Product\10.2.0\DB_1\sqlj\lib\dbwsclientdb102.jar
    But i keep getting the below error.
    class oracle/security/wss/interceptors/ClientSecurityDescriptor: resolution
    existing : Failures occurred during processing
    Can you please advice how do i resolve this error.
    Regards,
    MSP

    I suspect that there is more to the error message than what you are reporting.
    If so please post the entire message.

  • Downloading jar file

    hi,
    in my application i have to download a jar file from remote computer. my server program looks something like this....
    java.net.ServerSocket s=new java.net.ServerSocket(22000);
    java.io.BufferedReader in=new java.io.BufferedReader(new java.io.InputStreamReader(
    incoming.getInputStream()));
    java.io.PrintWriter out=new java.io.PrintWriter(incoming.getOutputStream(),true);
    String jarFile = System.getProperty("user.dir")+java.io.File.separator+jarFileName;
    java.io.FileInputStream fis = new java.io.FileInputStream(jarFile);
    java.io.BufferedReader bfis=new java.io.BufferedReader(new java.io.InputStreamReader(fis));
    byte[] buff = new byte[1024];
    while (fis.available() >0) {
    int size = fis.read(buff);
    out.println(buff);}
    and my client program looks like this...
    java.net.Socket s=new java.net.Socket(host,port);
    java.io.PrintWriter out = new java.io.PrintWriter(s.getOutputStream(), true);
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(
    s.getInputStream()));
    String install = System.getProperty("user.dir")+java.io.File.separator+"xxx.jar";
    fos=new java.io.FileOutputStream(install);
    byte[] buff = new byte[1024];
    while((buff=(in.readLine().getBytes()))!=null){
    fos.write(buff);
    fos.flush();}
    for some reason, full contents of the source jar file not copied into the new file. i dont know what i am doing is right. but i think, i have to read the jar file in Bytes and send it and but i am not able to successfully write to new file... can somebody help me. pl... or give me a new way of doing things...     

    close the FileOutputStream object when u r done writing the file

  • Download jar file to web browser

    I have a .jar file in a remort computer, which contains the online help of my System. Now I need to download this help file into my client browsers (because my system is a web based application).
    Is there any one know a convenient method to over come this problem.

    Use the HTML <object> element to embed a player. The exact HTML syntax depends on the desired player you want to run. Read the player's documentation for the exact HTML syntax.
    If the file is just available at the public webcontent, there's no need for a servlet. Just give the player the URL to the wav file. Otherwise you need to write a servlet which reads it from disk and writes it to the response like as if it is available at public webcontent. Then give the player the URL to the servlet.
    There's nothing where in JSF can be of any means for you here.

  • Error downloading jar file

    JNLPException[category: Download Error : Exception: java.io.IOException: Server returned HTTP response code: 401 for URL: http://145.92.8.91:7001/webstart/application.jar : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:536)
    when i try to run my test application it does start loading webstart but when it tries to download my .jar file from my test server it says it cant find it...
    please help
    ps. Im using a MS IIS webserver..

    I'm also experiencing the same problem. But I'm not clear how to change the authentication type to standard/plain-text. All I tried was allowing anonymous users to access the resource. I did this by doing the following: Under Default Web Site properties,of IIS, I went to the tab Directory Security and clicked on allow anonymous user. Then I restarted it. But it didnt help. Still getting the above mentioned exception. Any help would be greatly appreciated.
    Thanks
    Geetha

  • From Where can i download  Jar Files for creation of adapter Module.

    From Where can i download these Jar Files.
    aii_af_mp.jar à the interface Module
    aii_af_ms_api.jar  à Dealing with payload and attachment
    aii_af_trace.jar à Writing Trace
    aii_af_svc.jar à Adapter Services
    aii_af_cpa.jar à Reading Channel Entries
    aii_af_ms_spi.jar
    aii_af_cci.jar 
    for creation of adapter Module.

    As k you basisn team,they will provided it.
    usually these jars files available in server, in usr.repositoy folder,if you have server level access then you can copy it else contact your basis team.
    or you can download it from service market place.
    Regards,
    Raj

  • Authentication issue when downloading jar files

    Hi,
    I am having a problem starting up my application when the application server, in this case WebSphere 5.0, requires the user to be authorized.
    In our development environment the server uses basic authentication but once deployed in our test environment we are required to use form based authentication, which I've read that JWS cannot handle.
    The current flow is as follows:-
    1. The user navigates to a protected page and is prompted to enter a user name and password.
    2. Once authenticated they are shown the page that contains a link to a JNLP file.
    3. The user clicks on the link, JWS processes the JNLP file and requests the first jar file.
    4. The application server sees that there is no 'authorization' header set on the request so asks for the credentials again.
    5. For basic authentication the user is prompted by JWS to enter the user name and password and the download succeeds.
    6. For form based authentication, JWS instead receives an HTML login page and, after a short period, reports that it received a corrupted jar file.
    I was wondering if there is any way to pass key/value pairs within the JNLP file (or any other approach to pass this data) that JWS could then use to populate the 'authorization' header of the request to load the jar files?
    If this is not possible, are there any other techniques I could use to get round this?
    I am currently passing other data via the 'JSP as JNLP' approach with my own servlet so can make dynamic changes to the JNLP file as needed.
    Thanks in advance.

    Hi ipooley,
    I came upon your posting here after I've been searching for long for some "standard-conform" decision to this IMHO very popular problem and I was not able to find something so far apart of adding some jsessionid to the jar files in the href tag in order to hack the app server to believe the client is authenticated. In my case this doesn't help as well because the authentication is done separately through the company portal. Could you please give me some more details about your "hack"? I've tried to call the jnlp file from an applet (simply with showDocument(jsp generating jnlp) but this doesn't (and actually it can't) work too. And what about the jnlp file itself - if I set the href in the jnlp I have the same problems with the jnlp too?
    thanks in advance for your reply,
    Ilko

  • ZipException When Web Start is Downloading JAR file

    We are experiencing a problem when we try to download our Java Web Start app remotely from the server using HTTPS.
    It works fine when using HTTP.
    There are a couple of JAR files that need to downloaded.
    But, when using HTTPS it will choke on random JAR files and will toss the
    following exception:
    JNLPException[category: Download Error : Exception: java.util.zip.ZipException: error in opening zip file : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Does anyone have any ideas of what we might be bumping into here?
    Any ideas for a fix or workaround?
    I've search the bug database and the one that is matches most closely
    is 6194024 but that does not target HTTPS specifically.
    Any help would greatly be appreciated.
    Thanks,
    B

    Is there a wrapped exception ?
    what are the versions of j2se and Java Web Start you are using ?
    /Andy

  • Download Jar files

    Hi
    I am following this weblog
    /people/divya.vidyanandanprabhu/blog/2005/06/28/converting-xml-to-pdf-using-xi
    Where can I download following jar files
    The two jar files are:-
    Dom4j.jar
    Itext.jar
    Thanks
    manian

    Hi,
    DOM4J official site is here : http://www.dom4j.org (there is a download menu)
    ITEXT website is : http://www.lowagie.com/iText (download menu too)
    Hope this helps
    Chris
    Edited by: Christophe PFERTZEL on Apr 30, 2008 1:08 PM

Maybe you are looking for

  • Printer just started feeding a blank page after some, but not all printed documents

    Printer just started feeding a blank page after some, but not all printed documents

  • Air.SWF status in available instead of installed

    Hi,      I am building an Air Application in Ubuntu. I installed AirSDK 2.5 and flexsdk 4.1 and the Flash player version i am using is above 10. When tracing the status of air, i get air is available. But i need the status "installed" . Can anyone he

  • Preview, QuickTime, Image Capture crash?

    I have a strange problem since the upgrade to Mavericks. Preview, QuickTime, Image Capture apps simply don't work. Their icons appear in the dock for a brief second and disappear. No error message... Any idea what's happening? Is there any way to rei

  • Routing question

    Hi, I've made a proxy Service in aqualogic, that contacts another webservice, with a different WSDL than the proxy. How do i define the messageflow for this? I need to map the proxy requestxml to the business service xmlschema, for which I have build

  • Recover serial number - PAP2T

    Hello, Please let me know how can I recover serial number and MAC address of PAP2T. I'm not able to access the web interface and back side lable is also damaged. best, Kamlesh