[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #IQI-544424]: Unable to install IDV 5 on Mac OS X 10.9.4



Jim,

Thanks for posting a workaround. As you discovered, we use a 3rd party
application called install4j (which we pay for) for the IDV installation. It is
apparent to all of us at this point that the JavaApplicationStub is not behaving
as it should.  I am going to contact their support team, and keep you posted.

Best,

Unidata IDV Support


> Hi.
> 
> We tried installing logged in as admin and had the same results as
> before. If you notice, the JavaApplicationStub app isn't intended for a
> 64-bit machine. It's nothing to do with accounts, but perhaps it has
> something to do with 64 vs 32-bit, and it has everything to do with
> JavaApplicationStub.
> 
> You might want to post the command sequence below as a workaround for
> those that run into the same problem.
> 
> Double-click the .dmg file to mount it as a disk volume.
> Copy the 'Integrated Data Viewer Installer.app' folder to the Desktop.
> Open a terminal window.
> Change directory to the Installer app Contents/MacOS folder:
> cd 'Desktop/Integrated Data Viewer
> Installer.app/Contents/Resources/app'
> Execute the command:
> java -cp .install4j/i4jruntime.jar:user.jar -Xdock:icon=../app.icns
> -Xdock:name="Integrated Data Viewer Installer" -Dsun.java2d.noddraw=true
> -Dexe4j.moduleName="`(cd ../../..; pwd)`"
> com.install4j.runtime.launcher.MacLauncher
> 
> Grace and peace,
> 
> Jim
> 
> On 7/29/14, 3:04 PM, Unidata IDV Support wrote:
> > Jim,
> >
> > Thanks for the response, and I am going to close this ticket since you have 
> > a
> > workaround.
> >
> > I just wanted to make a few ancillary remarks: If the packaging is broken, 
> > then
> > why does this IDV distribution work on the vast majority of OS X 
> > installations?
> > (All IDV developers here at Unidata are on OS X). Moreover, why have we only
> > seen this problem OS X machines that have this privileged versus regular 
> > user
> > scenario? "Somehow" (again difficult to diagnose remotely) the privileged 
> > versus
> > regular user environments are not playing together nicely, and there are
> > mismatches between the various Java installations from those different 
> > users.
> > I would be happy to be proven otherwise, but that is the conclusion I have 
> > come
> > to.
> >
> > Best Wishes,
> >
> > Unidata IDV Support
> >
> >> Hi.
> >>
> >> So, I successfully installed IDV 5.0 on my iMac. The problem is that
> >> your JavaApplicationStub application is no good. When I run the command
> >> 'file' on it, it tells me that it is only for i386 and ppc Macs. I found
> >> and modified a script that does the same work as the stub and was able
> >> to install with no problem. It has nothing to do with multiple accounts,
> >> root access, or anything else.  Your packaging is broken.
> >>
> >> Grace and peace,
> >>
> >> Jim
> >>
> >> On 7/8/14, 1:30 PM, Unidata IDV Support wrote:
> >>> Jim,
> >>>
> >>> Thanks for your patience. Sorry for the delayed response, we are at 
> >>> conference
> >>> this week. It is somewhat difficult to diagnose this problem remotely, 
> >>> and I
> >>> know it does not make a lot of sense, but I am simply operating by the 
> >>> evidence
> >>> presented thus far. Apparently, sudo does not invoke the same environment 
> >>> as
> >>> admin. (Is it inheriting the environment where you are sudoing from?) 
> >>> From the
> >>> OS X login screen, I would suggest logging as admin user.  If you go to 
> >>> the
> >>> terminal from admin user and enter 'java -version', what happens?  That 
> >>> java
> >>> installation is the one that needs to be fixed, I hope. If not, please 
> >>> ensure
> >>> that all installations of java on this machine are working normally, 
> >>> wherever
> >>> they may reside.
> >>>
> >>> Best,
> >>>
> >>> Unidata IDV Support
> >>>
> >>>> Hi.
> >>>>
> >>>> I guess I'm a bit confused by your suggestion regarding both admin and
> >>>> regular user. If I run 'sudo -i' to gain root privileges, then run 'java
> >>>> -version', I get the same result as when I run 'java -version' as
> >>>> myself. I just tried using sudo to become the admin user (by account
> >>>> name), and the results for 'java -version' is the same. Is there some
> >>>> other pathway that I need to try?
> >>>>
> >>>> Grace and peace,
> >>>>
> >>>> Jim
> >>>>
> >>>> PS. Happy 4th!
> >>>>
> >>>> On 7/3/14, 3:52 PM, Unidata IDV Support wrote:
> >>>>> Jim,
> >>>>>
> >>>>> Unfortunately, IDV via Java Web Start is currently dead. We would like 
> >>>>> to revive
> >>>>> it, but have no immediate plans to do so (the situation is out of our 
> >>>>> control).
> >>>>>
> >>>>> So I think it is the admin user that is giving us some trouble. This 
> >>>>> problem is
> >>>>> difficult to handle remotely, but here goes...
> >>>>>
> >>>>> The problem appears to be the installer is finding the wrong Java. We 
> >>>>> need to
> >>>>> fix that. As far as I can tell, the version of Java that the 
> >>>>> JavaAppLauncher is
> >>>>> finding is not compatible with your architecture.  I don't know how this
> >>>>> happened and which user is the culprit, the "regular" user or the admin 
> >>>>> user.
> >>>>>
> >>>>> Please make that Java is running normally for both the admin and 
> >>>>> regular user.
> >>>>> Checking the Java version below with java -version is a good way to 
> >>>>> test for
> >>>>> that.
> >>>>>
> >>>>> Once that is resolved, hopefully the installer should work. But 
> >>>>> unfortunately,
> >>>>> this multiple user set up with regular and admin users is giving us some
> >>>>> trouble.
> >>>>>
> >>>>> Best,
> >>>>>
> >>>>> Unidata IDV Support
> >>>>>
> >>>>>
> >>>>>> Hi.
> >>>>>>
> >>>>>> There is an admin user. I have superuser privileges. I tried running
> >>>>>> JavaApplicationLauncher as the admin account. The results I provided in
> >>>>>> my first email were when run via sudo. I tried as myself first, and got
> >>>>>> the same results.
> >>>>>>
> >>>>>> By the way, I don't know that there is any connection, but I tried
> >>>>>> running using the web start. It loaded, but then failed with the 
> >>>>>> message
> >>>>>>
> >>>>>> Could not create a graphics configuration.
> >>>>>> Please contact Unidata user support or see the FAQ
> >>>>>>
> >>>>>> in a popup dialog. The java console (which started when I ran the
> >>>>>> idv.jnlp file) reported
> >>>>>>
> >>>>>> Jul 03, 2014 1:41:05 PM ucar.nc2.util.DiskCache2 setRootDirectory
> >>>>>> INFO: DiskCache2 create directory
> >>>>>> /Users/jbiard/.unidata/idv/DefaultIdv/tmp/nj22/
> >>>>>> Jul 03, 2014 1:41:06 PM
> >>>>>> org.python.google.common.base.internal.Finalizer
> >>>>>> getInheritableThreadLocalsField
> >>>>>> INFO: Couldn't access Thread.inheritableThreadLocals. Reference
> >>>>>> finalizer threads will inherit thread local values.
> >>>>>> JNLPClassLoader: Finding library libjffi-1.0.dylib
> >>>>>> java.lang.NullPointerException
> >>>>>> at java.awt.Window.addToWindowList(Window.java:2795)
> >>>>>> at java.awt.Window.init(Window.java:481)
> >>>>>> at java.awt.Window.<init>(Window.java:438)
> >>>>>> at java.awt.Frame.<init>(Frame.java:446)
> >>>>>> at java.awt.Frame.<init>(Frame.java:404)
> >>>>>> at
> >>>>>> javax.media.j3d.JoglPipeline.getBestConfiguration(JoglPipeline.java:8788)
> >>>>>> at javax.media.j3d.Renderer.doWork(Renderer.java:514)
> >>>>>> at javax.media.j3d.J3dThread.run(J3dThread.java:275)
> >>>>>> java.lang.NullPointerException
> >>>>>> at java.awt.Window.addToWindowList(Window.java:2795)
> >>>>>> at java.awt.Window.init(Window.java:481)
> >>>>>> at java.awt.Window.<init>(Window.java:438)
> >>>>>> at java.awt.Frame.<init>(Frame.java:446)
> >>>>>> at java.awt.Frame.<init>(Frame.java:404)
> >>>>>> at
> >>>>>> javax.media.j3d.JoglPipeline.getBestConfiguration(JoglPipeline.java:8788)
> >>>>>> at javax.media.j3d.Renderer.doWork(Renderer.java:514)
> >>>>>> at javax.media.j3d.J3dThread.run(J3dThread.java:275)
> >>>>>>
> >>>>>> I tried installing the latest java3d jars at
> >>>>>> /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext,
> >>>>>> but it didn't help.
> >>>>>>
> >>>>>> Grace and peace,
> >>>>>>
> >>>>>> Jim
> >>>>>>
> >>>>>> On 7/3/14, 12:29 PM, Unidata IDV Support wrote:
> >>>>>>> Jim,
> >>>>>>>
> >>>>>>> Thanks. Those are good diagnostics. With thread KCN-689298 I 
> >>>>>>> suspected there were
> >>>>>>> multiple users (maybe an admin and regular user) on the machine in 
> >>>>>>> question that
> >>>>>>> may have been the source of the problem.
> >>>>>>>
> >>>>>>> Is this the case on your machine? Are there several users?
> >>>>>>>
> >>>>>>> Best,
> >>>>>>>
> >>>>>>> Unidata IDV Support
> >>>>>>>
> >>>>>>>> Hi.
> >>>>>>>>
> >>>>>>>> When I attempt to run the IDV installer for Mac OS X, it silently 
> >>>>>>>> fails.
> >>>>>>>> I found the support email thread KCN-689298, and when I tried the 
> >>>>>>>> last
> >>>>>>>> suggested action (running JavaApplicationStub from the command line) 
> >>>>>>>> I get
> >>>>>>>>
> >>>>>>>> [JavaAppLauncher Warning] Java application launched from bad stub.
> >>>>>>>> Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit 
> >>>>>>>> with
> >>>>>>>> $JAVA_ARCH=i386.
> >>>>>>>> [JavaAppLauncher Error] This process is [i386] and was re-exec'd from
> >>>>>>>> [i386], but for some reason we are trying re-exec to [].
> >>>>>>>> [JavaAppLauncher Error] unable to find a version of Java to launch
> >>>>>>>>
> >>>>>>>> I am running Mac OS X 10.9.4. The output from java -version is
> >>>>>>>>
> >>>>>>>> java version "1.7.0_45"
> >>>>>>>> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
> >>>>>>>> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
> >>>>>>>>
> >>>>>>>> Grace and peace,
> >>>>>>>>
> >>>>>>>> Jim Biard
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> CICS-NC<http://www.cicsnc.org/>  Visit us on
> >>>>>>>> Facebook<http://www.facebook.com/cicsnc>     *Jim Biard*
> >>>>>>>> *Research Scholar*
> >>>>>>>> Cooperative Institute for Climate and Satellites 
> >>>>>>>> NC<http://cicsnc.org/>
> >>>>>>>> North Carolina State University<http://ncsu.edu/>
> >>>>>>>> NOAA's National Climatic Data Center<http://ncdc.noaa.gov/>
> >>>>>>>> 151 Patton Ave, Asheville, NC 28801
> >>>>>>>> e:address@hidden
> >>>>>>>> o: +1 828 271 4900
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>> Ticket Details
> >>>>>>> ===================
> >>>>>>> Ticket ID: IQI-544424
> >>>>>>> Department: Support IDV
> >>>>>>> Priority: Normal
> >>>>>>> Status: Closed
> >>>>>>>
> >>>>>> --
> >>>>>> CICS-NC<http://www.cicsnc.org/>  Visit us on
> >>>>>> Facebook<http://www.facebook.com/cicsnc>       *Jim Biard*
> >>>>>> *Research Scholar*
> >>>>>> Cooperative Institute for Climate and Satellites NC<http://cicsnc.org/>
> >>>>>> North Carolina State University<http://ncsu.edu/>
> >>>>>> NOAA's National Climatic Data Center<http://ncdc.noaa.gov/>
> >>>>>> 151 Patton Ave, Asheville, NC 28801
> >>>>>> e:address@hidden
> >>>>>> o: +1 828 271 4900
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> Ticket Details
> >>>>> ===================
> >>>>> Ticket ID: IQI-544424
> >>>>> Department: Support IDV
> >>>>> Priority: Normal
> >>>>> Status: Closed
> >>>>>
> >>>> --
> >>>> CICS-NC<http://www.cicsnc.org/>  Visit us on
> >>>> Facebook<http://www.facebook.com/cicsnc>         *Jim Biard*
> >>>> *Research Scholar*
> >>>> Cooperative Institute for Climate and Satellites NC<http://cicsnc.org/>
> >>>> North Carolina State University<http://ncsu.edu/>
> >>>> NOAA's National Climatic Data Center<http://ncdc.noaa.gov/>
> >>>> 151 Patton Ave, Asheville, NC 28801
> >>>> e:address@hidden
> >>>> o: +1 828 271 4900
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: IQI-544424
> >>> Department: Support IDV
> >>> Priority: Normal
> >>> Status: Closed
> >>>
> >> --
> >> CICS-NC<http://www.cicsnc.org/>  Visit us on
> >> Facebook<http://www.facebook.com/cicsnc>   *Jim Biard*
> >> *Research Scholar*
> >> Cooperative Institute for Climate and Satellites NC<http://cicsnc.org/>
> >> North Carolina State University<http://ncsu.edu/>
> >> NOAA's National Climatic Data Center<http://ncdc.noaa.gov/>
> >> 151 Patton Ave, Asheville, NC 28801
> >> e:address@hidden
> >> o: +1 828 271 4900
> >>
> >>
> >>
> >>
> >>
> >>
> > Ticket Details
> > ===================
> > Ticket ID: IQI-544424
> > Department: Support IDV
> > Priority: Normal
> > Status: Closed
> >
> 
> --
> CICS-NC <http://www.cicsnc.org/> Visit us on
> Facebook <http://www.facebook.com/cicsnc>     *Jim Biard*
> *Research Scholar*
> Cooperative Institute for Climate and Satellites NC <http://cicsnc.org/>
> North Carolina State University <http://ncsu.edu/>
> NOAA's National Climatic Data Center <http://ncdc.noaa.gov/>
> 151 Patton Ave, Asheville, NC 28801
> e: address@hidden
> o: +1 828 271 4900
> 
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: IQI-544424
Department: Support IDV
Priority: Normal
Status: Closed