[idvusers] IDV 2.8u1 on Mac - Java error

Trying to run IDV 2.8u1 on Mac (OSX 10.6.2) as a remote user with ssh -X gets 
this error

Wed Mar 24 12:27:45 xserve1 java[39250] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Exception in thread "main" java.lang.NoClassDefFoundError: java.awt.Component
        at ucar.unidata.util.LogUtil.checkConsole(LogUtil.java:690)
        at ucar.unidata.util.LogUtil.consoleMessage(LogUtil.java:702)
        at ucar.unidata.util.LogUtil.printException(LogUtil.java:897)
        at ucar.unidata.util.LogUtil.printException(LogUtil.java:817)
        at 
ucar.unidata.idv.IntegratedDataViewer.logException(IntegratedDataViewer.java:3023)
        at 
ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:324)
        at 
ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:239)
        at ucar.unidata.idv.DefaultIdv.<init>(DefaultIdv.java:80)
        at ucar.unidata.idv.DefaultIdv.main(DefaultIdv.java:142)

The first line with "kCGErrorFailure: Set a breakpoint" crops in many different Java errors on Mac, so that alone is not distinctive.

So what does "java.lang.NoClassDefFoundError: java.awt.Component" mean?

Once guess is that the IDV was compiled with a later version of Java than the one on the Mac. The java on this Mac seems to be
-rwxr-xr-x  1 root  wheel  100672 Nov 13 15:35 
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java

What version of Java was used to build the current 2.8u1?

Stuar t Wier



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: