This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Dave- > I've just installed IDV v2.81a (last night's build) on a MacBook Pro > running Leopard (OSX v.10.5.8). I get the startup error below. (I don't > get any such error running the official release, v2.7u2.) Any suggestions > about where I should begin to look for the source of the problem would be > welcome. You need Java 1.6 for version 2.8 and higher. You can get it for the Mac at: http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update1.html or upgrade to Snow Leopard. If you install it from the update, you'll need to make it your default Java: To find and/or update your default Java version, follow these steps: 1. Open the "Java Preferences" application located in /Applications/Utilities 2. Look for "Java SE 6" in the "Java Applications" section 3. The version at the top of the "Java Applications" list is the version being used by IDV. If "Java SE 6" is not at the top of the list, click and drag it to the top of the list (using the 64-bit option, if available), and you are ready to run IDV. If "Java SE 6" is not in the "Java Applications" list, you may need to manually run the Software Update feature in the Apple Menu to add it to the list. Don > I've the installation, as I have in the past, as follows: > > (1) Download the nightly release (from 11/1/09) of the generic > installer (idv_2_8a1_unix_nojre_installer.sh). > (2) Download the IDV 2.8a1 JAR files (nightly release). > (3) Run the installer. > (4) Edit the Info.plist file to change the version number to match that > in the uninstall file. > (4) Unpack the jar files in the directory containing the IDV > installation. > > Here's the startup error message: > > java.lang.UnsupportedClassVersionError: Bad version number in .class file > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:675) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:316) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) > at com.install4j.runtime.MacLauncher.main(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:592) > at apple.launcher.LaunchRunner.run(LaunchRunner.java:115) > at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) > at > apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52 > > > -- Dave > > **************************************************************** > * | __ __ \|/ * > * Dr. Dave Dempsey | ) ^ /|| ||\ --0-- * > * Dept. of Geosciences |) ) ^ / ||_|| \ /|\ * > * San Francisco State University | ) ) / | _ | \ * > * 1600 Holloway Ave. |) )/ || || \ * > * San Francisco, CA 94132 | ) ) ||_|| \ * > * |) ) ) | _ | \ * > * Phone: (415) 338-7716 | ) ) || || \ * > * FAX: (415) 338-7705 |) ) )~~~~~~~~~~~~~~~* > * Email: address@hidden | ) ) ) ~ ~ ~ ~ * > * |) ) ) ) ~ ~ ~ * > **************************************************************** > > Ticket Details =================== Ticket ID: TWO-844779 Department: Support IDV Priority: Normal Status: Open