Hi Chris- > This turned out to be more complicated than anticipated, and I still > have only a hacked solution. Here is what I did: > > (1) Installed the recommended update and restarted: no luck > (2) Tried aliasing java to the binary java in the Java 6 directory, > verified version with java -version and restarted: no luck > (3) Found the Applications/Utilities/Java Preferences utility and > moved Java SE 6 64-bit to the top of the stack, and restarted: no luck > (4) Began hacking runIDV: > (a) added java alias from #2 above and ran: no luck > (b) discovered that JAVA_HOME was searched first, so I added > JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home > > Success! Sort of... > > ...because I still cannot run IDV.app, even after setting JAVA_HOME in > my .bash_profile: > > macwork:~> env | grep JAVA_HOME > JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home > macwork:~> java -version > java version "1.6.0_13" > Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211) > Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode) > > It seems to be usable now, so long as I remember to run it from the > command-line, so maybe there's no rush to diagnose the issue, but I > may not be the only one that runs into this... In the IDV.app directory, there is an Info.plist file that is used to launch the IDV. It does not reference Java directly and that's probably where the problem lies. Unfortunately, we have very little experience with Macs so I'm not sure how to make that work. It might be worth a note to address@hidden to see if others have figured this out. If you find a solution, we could add it to the FAQ. In the mean time, I recompiled IDV 2.7u1 to work with Java 5, so if you download it again, you should be able to run with your existing Java 5 installation. Don Murray > On Jul 14, 2009, at 8:49 AM, Unidata IDV Support wrote: > > > Hi Christopher- > > > > IDV 2.7u1 requires Java SE 6 (aka 1.6). You can download it at: > > > > http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_4 > > > > Your system should support that version. > > > > Don Murray > > > >> I get the following fatal error on start up: > >> > >> 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:585) > >> at apple.launcher.LaunchRunner.run(LaunchRunner.java:115) > >> at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) > >> at > >> apple > >> .launcher > >> .JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) > >> > >> More Info: > >> hw: MacBook Air > >> OS: Mac OS X 10.5.7 > >> java: Java(TM) 2 Runtime Environment, Standard Edition (build > >> 1.5.0_19-b02-304) > >> Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing) > >> IDV 2.6u2 still starts up successfully > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: UGQ-180978 > > Department: Support IDV > > Priority: Normal > > Status: Open > > > > -- > Christopher Lynnes NASA/GSFC, Code 610.2 > 301-614-5185 > > Ticket Details =================== Ticket ID: UGQ-180978 Department: Support IDV Priority: Normal Status: Open
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.