Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Mac OSX Support (https://www.gnutellaforums.com/general-mac-osx-support/)
-   -   Still getting "Cannot launch Java application" error (https://www.gnutellaforums.com/general-mac-osx-support/17437-still-getting-cannot-launch-java-application-error.html)

Unregistered November 20th, 2002 07:35 AM

Still getting "Cannot launch Java application" error
 
I'm still getting "The main class 'com.zerog.lax.LAX' could not be loaded." Error each time I try to launch LimeWire on my Mac OS 10.2.2 G4. None of the fixes work even with LimeWire 2.7.6.

Is this an Apple problem? A Java problem? A LimeWire problem?

Can't use LimeWire until this gets resolved. If anyone has a fix that has worked, please advise.

Thanks,
SNazz

Unregistered November 21st, 2002 03:39 AM

After installing the preview release of JDK 1.4.1 (PR5), you may find that you can no longer launch LimeWire properly. It appears to be trying to use an MRJ class that is either not yet re-implemented in 1.4.1 or not functioning as expected in this release. This causes LimeWire to generate an error on launch and just sit at the splash screen.

A quick way to fix this is to edit the Info.plist file inside the LimeWire.app folder. If the option to "Show Package Contents" is available in the Finder context menu (right click or control-click on the LimeWire application) use that to open the folder. If you do not have that option listed, use the shell and change directory into the LimeWire.app folder. From there, the file is in the Contents folder.

Open the Info.plist file with a text editor (BBEdit, vi, etc.). The change to make is to add the following text:

<key>JVMVersion</key>
<string>1.3.1</string>
The best place the add it in is right after where the MainClass is specified. So that area of the file should look like this after you're done:

<key>MainClass</key>
<string>com.zerog.lax.LAX</string>
<key>JVMVersion</key>
<string>1.3.1</string>
This will force LimeWire to load with the JDK 1.3.1 instead of 1.4.1.

Unregistered November 22nd, 2002 11:56 PM

Got the same Error again after I entered:

<key>MainClass</key>
<string>com.zerog.lax.LAX</string>
<key>JVMVersion</key>
<string>1.3.1</string>
<key>Properties</key>


Stefan


All times are GMT -7. The time now is 08:00 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.