Results 1 to 6 of 6
  1. #1
    samjesse is offline Member
    Join Date
    Nov 2009
    Posts
    3
    Rep Power
    0

    Default error runing a java application

    Hi

    I downloaded an application which runs on java and has been running for years till few days ago.
    I am not sure what did I do differently that could cause it to stop working.
    I am currently running java 6, the application works fine when I am logged in windows as an admin but not as a user, I do not want to use admin as the application requires online access.

    CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Documents and Settings\Essam\Application Data\Sun\Java\Deployment\cache\6.0\16\c798210-4ac66d56]
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)


    and the Wrapped Exception:

    java.io.FileNotFoundException: C:\Documents and Settings\Essam\Application Data\Sun\Java\Deployment\cache\6.0\16\c798210-4ac66d56 (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    thx

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Seems to me in your application some cache files are using, and may be it configured to admin account. So that cache file is not available when you login as a ordinary user. Are you using Windows OS? As far as I know OS removed third party cache files(generated by external applications) removed/deleted when log-off from the account. And also I wonder looking on your error message, FileNotFoundException, there may be a hard-coded file path. Can you show some code in your application, is there any way to do that?

  3. #3
    samjesse is offline Member
    Join Date
    Nov 2009
    Posts
    3
    Rep Power
    0

    Default

    thanks
    I erased the cache and reinstalled the java applet.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  5. #5
    samjesse is offline Member
    Join Date
    Nov 2009
    Posts
    3
    Rep Power
    0

    Default

    yes, it is working now.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Error, trying to deploy a web application
    By aspmedeiros in forum NetBeans
    Replies: 2
    Last Post: 03-23-2012, 09:29 AM
  2. Replies: 0
    Last Post: 11-11-2008, 04:08 PM
  3. Application error
    By saso1310 in forum CLDC and MIDP
    Replies: 1
    Last Post: 10-16-2008, 08:18 AM
  4. Runing 44 Java Files Easyer
    By crigur in forum New To Java
    Replies: 5
    Last Post: 09-23-2008, 04:35 AM
  5. Trouble in Runing
    By kavithaprabhaker in forum New To Java
    Replies: 5
    Last Post: 05-13-2008, 06:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •