Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java applications not working



Hi

I'm having problem with java on my mac. This may not be the best place for me to ask but I'm quite desperate so any help would be appreciated.

I don't know how it happened but now I can't launch any java application.
Applet/jnlp does not work in safari or firefox. But java in command prompt works just like normal.

Here's the output from the Terminal when I try to launch cyberduck (a java app).

rootpc*****:/Applications/Cyberduck.app/Contents/MacOS *********$ ./Cyberduck
[JavaAppLauncher Error] No matching Java VM for (1.4+) from 'JVMVersion' key in 'Java' sub-dictionary of Info.plist
-[NSJavaVirtualMachine initWithClassPath:] cannot load Java virtual machine library
...

The error message pop up is:
This application requires Java 1.4 or later, but only the following Java versions are installed: . Updating to a newer version of Mac OS X may resolve this.

rootpc*****:~ *************$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)

I wasn't able to install 1.5 before installing 1.42 because it says it can't find java installation. So
I install 1.42 from Tiger DVD, download and installed 1.5 release 4 from apple.com. I can now run small java application from terminal.

I think the problem is that Aqua or dock does not recognize that java's install. Can anyone give me a hint on how to fix this??

Thanks


--
Daniel Chong

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.