Benches Uncategorized

8

cannot launch java application

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

i've recently experienced a start-up problem with my java application.

there seems to be a similar problem being discussed in another thread (seen here: http://discussions.apple.com/thread.jspa?messageID=6603529&#6603529), but it's not quite the same problem that i have been experiencing.

whenever i open an application that uses java as one of its plug-in items, it stalls out as it is loading the java plug-ins and then the following error message appears:

"CANNOT LAUNCH JAVA APPLICATION
uncaught exception in main method: java.lang.arrayIndexOutOfBoundsException: 0 > = 0"

what does this mean?

what should i do?

like the similar problem discussed on the other thread, i too have software installed from Pro Soft - an application called Data Rescue II - which i've since removed (though its own support documents says that to uninstall, one need merely remove the application from the applications folder, then delete it, so it can't be uninstalled via an uninstaller).

but this did not resolve the issue.

i also ran a check through the advice given on the other thread (checking for various hidden files and such, but came up empty handed).

any advice would be greatly appreciated.

thank you.

8 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Check Software Update to see if you need to install any java updates.

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    thanks. i've done that. i have the most recent java updates installed yet the problem has not been resolved.

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Might give a try with Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596

    After installing, reboot holding down CMD+s, then when the DOS like prompt shows, type in...

    applejack AUTO

    Then let it do all 5 of it's things.

    At least it'll eliminate some questions if it doesn't fix it.

    The 5 things it does are...

    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.

    As long as you don't have a USB connection in tandem with a UPS, which can cause problems.

  4. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    hmmmn. i'll give it a try. i've never heard of apple jack, so my first reaction was a bit skeptical.

    pardon my ignorance, but when you say hold down CMD+s - are you referring to the button that says ctrl or do you mean the letters C, M, D + S?

  5. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    CMD is the Apple (Command) key (either side of the space bar).

  6. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks Klaus1... Apple has had so may different KBs and even symbols on that key!

  7. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    thank you for the input.

    i installed Applejack and ran the program as suggested (that is, started up with ctrl S, then ran applejack AUTO.

    unfortunately, it did not resolve the issue.

    : (

    on the other hand, i feel that your advice was helpful in that it introduced me to a tool that i was not familiar with, and i'm sure that running a deep clean on the machine, so to speak, will do it some good but i'm still without a solution to this vexing problem.

  8. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Since this doesn't appear to be normal.

    Appears to be time for An Archive & Install, which gives you a new OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space...

    http://docs.info.apple.com/article.html?artnum=107120